Searched refs:LCS_NUM_BUFFS (Results 1 – 2 of 2) sorted by relevance
119 #define LCS_NUM_BUFFS 32 /* needs to be power of 2 */ macro291 struct ccw1 ccws[LCS_NUM_BUFFS + 1];294 struct lcs_buffer iob[LCS_NUM_BUFFS];
103 for (cnt = 0; cnt < LCS_NUM_BUFFS; cnt++) { in lcs_alloc_channel()111 if (cnt < LCS_NUM_BUFFS) { in lcs_alloc_channel()130 for (cnt = 0; cnt < LCS_NUM_BUFFS; cnt++) { in lcs_free_channel()211 for (cnt = 0; cnt < LCS_NUM_BUFFS; cnt++) { in lcs_setup_read_ccws()233 card->read.ccws[LCS_NUM_BUFFS].cda = in lcs_setup_read_ccws()266 for (cnt = 0; cnt < LCS_NUM_BUFFS; cnt++) { in lcs_setup_write_ccws()280 card->write.ccws[LCS_NUM_BUFFS].cda = in lcs_setup_write_ccws()643 prev = (index - 1) & (LCS_NUM_BUFFS - 1); in __lcs_ready_buffer_bits()644 next = (index + 1) & (LCS_NUM_BUFFS - 1); in __lcs_ready_buffer_bits()691 prev = (index - 1) & (LCS_NUM_BUFFS - 1); in __lcs_processed_buffer()[all …]