Lines Matching refs:slots_per_op

192 iop_chan_pq_slot_count(size_t len, int src_cnt, int *slots_per_op)  in iop_chan_pq_slot_count()  argument
219 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
310 static inline int iop_chan_memcpy_slot_count(size_t len, int *slots_per_op) in iop_chan_memcpy_slot_count() argument
312 *slots_per_op = 1; in iop_chan_memcpy_slot_count()
317 static inline int iop_chan_memset_slot_count(size_t len, int *slots_per_op) in iop_chan_memset_slot_count() argument
319 *slots_per_op = 1; in iop_chan_memset_slot_count()
324 int *slots_per_op) in iop3xx_aau_xor_slot_count() argument
336 *slots_per_op = slot_count_table[src_cnt - 1]; in iop3xx_aau_xor_slot_count()
337 return *slots_per_op; in iop3xx_aau_xor_slot_count()
341 iop_chan_interrupt_slot_count(int *slots_per_op, struct iop_adma_chan *chan) in iop_chan_interrupt_slot_count() argument
346 return iop_chan_memcpy_slot_count(0, slots_per_op); in iop_chan_interrupt_slot_count()
348 return iop3xx_aau_xor_slot_count(0, 2, slots_per_op); in iop_chan_interrupt_slot_count()
356 int *slots_per_op) in iop_chan_xor_slot_count() argument
358 int slot_cnt = iop3xx_aau_xor_slot_count(len, src_cnt, slots_per_op); in iop_chan_xor_slot_count()
366 slot_cnt += *slots_per_op; in iop_chan_xor_slot_count()
369 slot_cnt += *slots_per_op; in iop_chan_xor_slot_count()
378 int *slots_per_op) in iop_chan_zero_sum_slot_count() argument
380 int slot_cnt = iop3xx_aau_xor_slot_count(len, src_cnt, slots_per_op); in iop_chan_zero_sum_slot_count()
388 slot_cnt += *slots_per_op; in iop_chan_zero_sum_slot_count()
391 slot_cnt += *slots_per_op; in iop_chan_zero_sum_slot_count()
575 int slot_cnt = desc->slot_cnt, slots_per_op = desc->slots_per_op; in iop_desc_init_zero_sum() local
585 for (i = 0, j = 0; (slot_cnt -= slots_per_op) >= 0; in iop_desc_init_zero_sum()
586 i += slots_per_op, j++) { in iop_desc_init_zero_sum()
599 iop_hw_desc_slot_idx(hw_desc, i - slots_per_op); in iop_desc_init_zero_sum()
694 int slots_per_op = desc->slots_per_op; in iop_desc_set_zero_sum_byte_count() local
705 i += slots_per_op; in iop_desc_set_zero_sum_byte_count()
745 int slot_cnt = desc->slot_cnt, slots_per_op = desc->slots_per_op; in iop_desc_set_zero_sum_src_addr() local
748 for (i = 0; (slot_cnt -= slots_per_op) >= 0; in iop_desc_set_zero_sum_src_addr()
749 i += slots_per_op, addr += IOP_ADMA_ZERO_SUM_MAX_BYTE_COUNT) { in iop_desc_set_zero_sum_src_addr()
760 int slot_cnt = desc->slot_cnt, slots_per_op = desc->slots_per_op; in iop_desc_set_xor_src_addr() local
763 for (i = 0; (slot_cnt -= slots_per_op) >= 0; in iop_desc_set_xor_src_addr()
764 i += slots_per_op, addr += IOP_ADMA_XOR_MAX_BYTE_COUNT) { in iop_desc_set_xor_src_addr()