Lines Matching refs:slot_cnt
794 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()
1599 slot_cnt -= slots_per_op; in __ppc440spe_adma_slot_cleanup()
1603 if (slots_per_op != 0 && slot_cnt == 0) { in __ppc440spe_adma_slot_cleanup()
1608 slot_cnt = group_start->slot_cnt; in __ppc440spe_adma_slot_cleanup()
1616 slot_cnt -= slots_per_op; in __ppc440spe_adma_slot_cleanup()
1619 if (end_of_chain && slot_cnt) { in __ppc440spe_adma_slot_cleanup()
1626 if (slot_cnt == 0 || end_of_chain) in __ppc440spe_adma_slot_cleanup()
1631 BUG_ON(slot_cnt); in __ppc440spe_adma_slot_cleanup()
1735 iter->slot_cnt = num_slots; in ppc440spe_adma_alloc_slots()
1900 int slot_cnt; in ppc440spe_adma_tx_submit() local
1907 slot_cnt = group_start->slot_cnt; in ppc440spe_adma_tx_submit()
1929 chan->pending += slot_cnt / slots_per_op; in ppc440spe_adma_tx_submit()
1949 int slot_cnt, slots_per_op; in ppc440spe_adma_prep_dma_interrupt() local
1958 slot_cnt = slots_per_op = 1; in ppc440spe_adma_prep_dma_interrupt()
1959 sw_desc = ppc440spe_adma_alloc_slots(ppc440spe_chan, slot_cnt, in ppc440spe_adma_prep_dma_interrupt()
1981 int slot_cnt, slots_per_op; in ppc440spe_adma_prep_dma_memcpy() local
1996 slot_cnt = slots_per_op = 1; in ppc440spe_adma_prep_dma_memcpy()
1997 sw_desc = ppc440spe_adma_alloc_slots(ppc440spe_chan, slot_cnt, in ppc440spe_adma_prep_dma_memcpy()
2023 int slot_cnt, slots_per_op; in ppc440spe_adma_prep_dma_xor() local
2039 slot_cnt = ppc440spe_chan_xor_slot_count(len, src_cnt, &slots_per_op); in ppc440spe_adma_prep_dma_xor()
2040 sw_desc = ppc440spe_adma_alloc_slots(ppc440spe_chan, slot_cnt, in ppc440spe_adma_prep_dma_xor()
2090 int slot_cnt; in ppc440spe_dma01_prep_mult() local
2093 slot_cnt = 2; in ppc440spe_dma01_prep_mult()
2098 sw_desc = ppc440spe_adma_alloc_slots(ppc440spe_chan, slot_cnt, 1); in ppc440spe_dma01_prep_mult()
2176 int slot_cnt; in ppc440spe_dma01_prep_sum_product() local
2179 slot_cnt = 3; in ppc440spe_dma01_prep_sum_product()
2184 sw_desc = ppc440spe_adma_alloc_slots(ppc440spe_chan, slot_cnt, 1); in ppc440spe_dma01_prep_sum_product()
2278 int slot_cnt; in ppc440spe_dma01_prep_pq() local
2342 slot_cnt = src_cnt; in ppc440spe_dma01_prep_pq()
2345 slot_cnt++; in ppc440spe_dma01_prep_pq()
2349 slot_cnt++; in ppc440spe_dma01_prep_pq()
2357 slot_cnt = dst_cnt; in ppc440spe_dma01_prep_pq()
2365 slot_cnt += src_cnt - 2; in ppc440spe_dma01_prep_pq()
2367 slot_cnt += src_cnt - 3; in ppc440spe_dma01_prep_pq()
2372 if (slot_cnt == dst_cnt) in ppc440spe_dma01_prep_pq()
2379 sw_desc = ppc440spe_adma_alloc_slots(ppc440spe_chan, slot_cnt, 1); in ppc440spe_dma01_prep_pq()
2423 int slot_cnt, descs_per_op; in ppc440spe_dma2_prep_pq() local
2440 slot_cnt = descs_per_op * dst_cnt; in ppc440spe_dma2_prep_pq()
2442 sw_desc = ppc440spe_adma_alloc_slots(ppc440spe_chan, slot_cnt, 1); in ppc440spe_dma2_prep_pq()
2444 op = slot_cnt; in ppc440spe_dma2_prep_pq()
2591 int slot_cnt, slots_per_op, idst, dst_cnt; in ppc440spe_adma_prep_dma_pqzero_sum() local
2616 slot_cnt = src_cnt + dst_cnt * 2; in ppc440spe_adma_prep_dma_pqzero_sum()
2620 sw_desc = ppc440spe_adma_alloc_slots(ppc440spe_chan, slot_cnt, in ppc440spe_adma_prep_dma_pqzero_sum()
3657 int slot_cnt, slots_per_op; in ppc440spe_chan_start_null_xor() local
3663 slot_cnt = ppc440spe_chan_xor_slot_count(0, 2, &slots_per_op); in ppc440spe_chan_start_null_xor()
3664 sw_desc = ppc440spe_adma_alloc_slots(chan, slot_cnt, slots_per_op); in ppc440spe_chan_start_null_xor()