Home
last modified time | relevance | path

Searched refs:slot_cnt (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/dma/
Diop-adma.c119 int seen_current = 0, slot_cnt = 0, slots_per_op = 0; in __iop_adma_slot_cleanup() local
153 if (!slot_cnt && !slots_per_op) { in __iop_adma_slot_cleanup()
154 slot_cnt = iter->slot_cnt; in __iop_adma_slot_cleanup()
156 if (slot_cnt <= slots_per_op) { in __iop_adma_slot_cleanup()
157 slot_cnt = 0; in __iop_adma_slot_cleanup()
162 if (slot_cnt) { in __iop_adma_slot_cleanup()
166 slot_cnt -= slots_per_op; in __iop_adma_slot_cleanup()
170 if (slots_per_op != 0 && slot_cnt == 0) { in __iop_adma_slot_cleanup()
178 slot_cnt = grp_start->slot_cnt; in __iop_adma_slot_cleanup()
187 slot_cnt -= slots_per_op; in __iop_adma_slot_cleanup()
[all …]
/Linux-v4.19/arch/arm/include/asm/hardware/
Diop3xx-adma.h358 int slot_cnt = iop3xx_aau_xor_slot_count(len, src_cnt, slots_per_op); in iop_chan_xor_slot_count() local
361 return slot_cnt; 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()
371 return slot_cnt; in iop_chan_xor_slot_count()
380 int slot_cnt = iop3xx_aau_xor_slot_count(len, src_cnt, slots_per_op); in iop_chan_zero_sum_slot_count() local
383 return slot_cnt; 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()
393 return slot_cnt; in iop_chan_zero_sum_slot_count()
[all …]
Diop_adma.h97 u16 slot_cnt; member
/Linux-v4.19/arch/arm/mach-iop13xx/include/mach/
Dadma.h424 int slot_cnt = desc->slot_cnt, slots_per_op = desc->slots_per_op; in iop_desc_set_xor_src_addr() local
432 slot_cnt -= slots_per_op; in iop_desc_set_xor_src_addr()
433 if (slot_cnt) { in iop_desc_set_xor_src_addr()
437 } while (slot_cnt); in iop_desc_set_xor_src_addr()
444 int slot_cnt = desc->slot_cnt, slots_per_op = desc->slots_per_op; in iop_desc_set_pq_src_addr() local
455 slot_cnt -= slots_per_op; in iop_desc_set_pq_src_addr()
456 if (slot_cnt) { in iop_desc_set_pq_src_addr()
460 } while (slot_cnt); in iop_desc_set_pq_src_addr()
/Linux-v4.19/drivers/dma/ppc4xx/
Dadma.c808 int slot_cnt; in ppc440spe_chan_xor_slot_count() local
811 slot_cnt = *slots_per_op = (src_cnt + XOR_MAX_OPS - 1)/XOR_MAX_OPS; in ppc440spe_chan_xor_slot_count()
814 return slot_cnt; in ppc440spe_chan_xor_slot_count()
819 return slot_cnt; in ppc440spe_chan_xor_slot_count()
1553 int seen_current = 0, slot_cnt = 0, slots_per_op = 0; in __ppc440spe_adma_slot_cleanup() local
1601 if (!slot_cnt && !slots_per_op) { in __ppc440spe_adma_slot_cleanup()
1602 slot_cnt = iter->slot_cnt; in __ppc440spe_adma_slot_cleanup()
1604 if (slot_cnt <= slots_per_op) { in __ppc440spe_adma_slot_cleanup()
1605 slot_cnt = 0; in __ppc440spe_adma_slot_cleanup()
1610 if (slot_cnt) { in __ppc440spe_adma_slot_cleanup()
[all …]
Dadma.h158 u16 slot_cnt; member