Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/dma/
Diop-adma.c110 int seen_current = 0, slot_cnt = 0, slots_per_op = 0; in __iop_adma_slot_cleanup() local
144 if (!slot_cnt && !slots_per_op) { in __iop_adma_slot_cleanup()
145 slot_cnt = iter->slot_cnt; in __iop_adma_slot_cleanup()
147 if (slot_cnt <= slots_per_op) { in __iop_adma_slot_cleanup()
148 slot_cnt = 0; in __iop_adma_slot_cleanup()
153 if (slot_cnt) { in __iop_adma_slot_cleanup()
157 slot_cnt -= slots_per_op; in __iop_adma_slot_cleanup()
161 if (slots_per_op != 0 && slot_cnt == 0) { in __iop_adma_slot_cleanup()
169 slot_cnt = grp_start->slot_cnt; in __iop_adma_slot_cleanup()
178 slot_cnt -= slots_per_op; in __iop_adma_slot_cleanup()
[all …]
Diop-adma.h340 int slot_cnt = iop3xx_aau_xor_slot_count(len, src_cnt, slots_per_op); in iop_chan_xor_slot_count() local
343 return slot_cnt; 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()
353 return slot_cnt; in iop_chan_xor_slot_count()
362 int slot_cnt = iop3xx_aau_xor_slot_count(len, src_cnt, slots_per_op); in iop_chan_zero_sum_slot_count() local
365 return slot_cnt; 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()
375 return slot_cnt; in iop_chan_zero_sum_slot_count()
[all …]
/Linux-v5.15/drivers/dma/ppc4xx/
Dadma.c794 int slot_cnt; in ppc440spe_chan_xor_slot_count() local
797 slot_cnt = *slots_per_op = (src_cnt + XOR_MAX_OPS - 1)/XOR_MAX_OPS; in ppc440spe_chan_xor_slot_count()
800 return slot_cnt; in ppc440spe_chan_xor_slot_count()
805 return slot_cnt; in ppc440spe_chan_xor_slot_count()
1539 int seen_current = 0, slot_cnt = 0, slots_per_op = 0; in __ppc440spe_adma_slot_cleanup() local
1587 if (!slot_cnt && !slots_per_op) { in __ppc440spe_adma_slot_cleanup()
1588 slot_cnt = iter->slot_cnt; in __ppc440spe_adma_slot_cleanup()
1590 if (slot_cnt <= slots_per_op) { in __ppc440spe_adma_slot_cleanup()
1591 slot_cnt = 0; in __ppc440spe_adma_slot_cleanup()
1596 if (slot_cnt) { in __ppc440spe_adma_slot_cleanup()
[all …]
Dadma.h158 u16 slot_cnt; member
/Linux-v5.15/include/linux/platform_data/
Ddma-iop32x.h88 u16 slot_cnt; member