Home
last modified time | relevance | path

Searched refs:LCS_NUM_BUFFS (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/s390/net/
Dlcs.h119 #define LCS_NUM_BUFFS 32 /* needs to be power of 2 */ macro
291 struct ccw1 ccws[LCS_NUM_BUFFS + 1];
294 struct lcs_buffer iob[LCS_NUM_BUFFS];
Dlcs.c108 for (cnt = 0; cnt < LCS_NUM_BUFFS; cnt++) { in lcs_alloc_channel()
116 if (cnt < LCS_NUM_BUFFS) { in lcs_alloc_channel()
135 for (cnt = 0; cnt < LCS_NUM_BUFFS; cnt++) { in lcs_free_channel()
215 memset(card->read.ccws, 0, sizeof (struct ccw1) * (LCS_NUM_BUFFS + 1)); in lcs_setup_read_ccws()
216 for (cnt = 0; cnt < LCS_NUM_BUFFS; cnt++) { in lcs_setup_read_ccws()
234 card->read.ccws[LCS_NUM_BUFFS - 1].flags &= ~CCW_FLAG_PCI; in lcs_setup_read_ccws()
235 card->read.ccws[LCS_NUM_BUFFS - 1].flags |= CCW_FLAG_SUSPEND; in lcs_setup_read_ccws()
237 card->read.ccws[LCS_NUM_BUFFS].cmd_code = LCS_CCW_TRANSFER; in lcs_setup_read_ccws()
238 card->read.ccws[LCS_NUM_BUFFS].cda = in lcs_setup_read_ccws()
270 memset(card->write.ccws, 0, sizeof(struct ccw1) * (LCS_NUM_BUFFS + 1)); in lcs_setup_write_ccws()
[all …]