Lines Matching refs:slots_per_op
174 iop_chan_pq_slot_count(size_t len, int src_cnt, int *slots_per_op) in iop_chan_pq_slot_count() argument
201 iop_chan_pq_zero_sum_slot_count(size_t len, int src_cnt, int *slots_per_op) in iop_chan_pq_zero_sum_slot_count() argument
292 static inline int iop_chan_memcpy_slot_count(size_t len, int *slots_per_op) in iop_chan_memcpy_slot_count() argument
294 *slots_per_op = 1; in iop_chan_memcpy_slot_count()
299 static inline int iop_chan_memset_slot_count(size_t len, int *slots_per_op) in iop_chan_memset_slot_count() argument
301 *slots_per_op = 1; in iop_chan_memset_slot_count()
306 int *slots_per_op) in iop3xx_aau_xor_slot_count() argument
318 *slots_per_op = slot_count_table[src_cnt - 1]; in iop3xx_aau_xor_slot_count()
319 return *slots_per_op; in iop3xx_aau_xor_slot_count()
323 iop_chan_interrupt_slot_count(int *slots_per_op, struct iop_adma_chan *chan) in iop_chan_interrupt_slot_count() argument
328 return iop_chan_memcpy_slot_count(0, slots_per_op); in iop_chan_interrupt_slot_count()
330 return iop3xx_aau_xor_slot_count(0, 2, slots_per_op); in iop_chan_interrupt_slot_count()
338 int *slots_per_op) in iop_chan_xor_slot_count() argument
340 int slot_cnt = iop3xx_aau_xor_slot_count(len, src_cnt, slots_per_op); in iop_chan_xor_slot_count()
348 slot_cnt += *slots_per_op; in iop_chan_xor_slot_count()
351 slot_cnt += *slots_per_op; in iop_chan_xor_slot_count()
360 int *slots_per_op) in iop_chan_zero_sum_slot_count() argument
362 int slot_cnt = iop3xx_aau_xor_slot_count(len, src_cnt, slots_per_op); in iop_chan_zero_sum_slot_count()
370 slot_cnt += *slots_per_op; in iop_chan_zero_sum_slot_count()
373 slot_cnt += *slots_per_op; in iop_chan_zero_sum_slot_count()
557 int slot_cnt = desc->slot_cnt, slots_per_op = desc->slots_per_op; in iop_desc_init_zero_sum() local
567 for (i = 0, j = 0; (slot_cnt -= slots_per_op) >= 0; in iop_desc_init_zero_sum()
568 i += slots_per_op, j++) { in iop_desc_init_zero_sum()
581 iop_hw_desc_slot_idx(hw_desc, i - slots_per_op); in iop_desc_init_zero_sum()
676 int slots_per_op = desc->slots_per_op; in iop_desc_set_zero_sum_byte_count() local
687 i += slots_per_op; in iop_desc_set_zero_sum_byte_count()
727 int slot_cnt = desc->slot_cnt, slots_per_op = desc->slots_per_op; in iop_desc_set_zero_sum_src_addr() local
730 for (i = 0; (slot_cnt -= slots_per_op) >= 0; in iop_desc_set_zero_sum_src_addr()
731 i += slots_per_op, addr += IOP_ADMA_ZERO_SUM_MAX_BYTE_COUNT) { in iop_desc_set_zero_sum_src_addr()
742 int slot_cnt = desc->slot_cnt, slots_per_op = desc->slots_per_op; in iop_desc_set_xor_src_addr() local
745 for (i = 0; (slot_cnt -= slots_per_op) >= 0; in iop_desc_set_xor_src_addr()
746 i += slots_per_op, addr += IOP_ADMA_XOR_MAX_BYTE_COUNT) { in iop_desc_set_xor_src_addr()