Lines Matching refs:slots_per_op
792 int *slots_per_op) in ppc440spe_chan_xor_slot_count() argument
797 slot_cnt = *slots_per_op = (src_cnt + XOR_MAX_OPS - 1)/XOR_MAX_OPS; in ppc440spe_chan_xor_slot_count()
1447 int stride = slot->slots_per_op; in ppc440spe_adma_free_slots()
1450 slot->slots_per_op = 0; in ppc440spe_adma_free_slots()
1519 desc->phys, desc->idx, desc->slots_per_op); in ppc440spe_adma_clean_slot()
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()
1589 slots_per_op = iter->slots_per_op; in __ppc440spe_adma_slot_cleanup()
1590 if (slot_cnt <= slots_per_op) { in __ppc440spe_adma_slot_cleanup()
1592 slots_per_op = 0; 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()
1616 slot_cnt -= slots_per_op; in __ppc440spe_adma_slot_cleanup()
1633 slots_per_op = 0; in __ppc440spe_adma_slot_cleanup()
1639 } else if (slots_per_op) /* wait for group completion */ in __ppc440spe_adma_slot_cleanup()
1685 int slots_per_op) in ppc440spe_adma_alloc_slots() argument
1693 BUG_ON(!num_slots || !slots_per_op); in ppc440spe_adma_alloc_slots()
1710 if (iter->slots_per_op) { in ppc440spe_adma_alloc_slots()
1727 if (num_slots != slots_per_op) in ppc440spe_adma_alloc_slots()
1737 for (i = 0; i < slots_per_op; i++) { in ppc440spe_adma_alloc_slots()
1738 iter->slots_per_op = slots_per_op - i; in ppc440spe_adma_alloc_slots()
1744 num_slots -= slots_per_op; in ppc440spe_adma_alloc_slots()
1901 int slots_per_op; in ppc440spe_adma_tx_submit() local
1908 slots_per_op = group_start->slots_per_op; 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()
1960 slots_per_op); 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()
1998 slots_per_op); 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()
2041 slots_per_op); in ppc440spe_adma_prep_dma_xor()
2591 int slot_cnt, slots_per_op, idst, dst_cnt; in ppc440spe_adma_prep_dma_pqzero_sum() local
2617 slots_per_op = 1; in ppc440spe_adma_prep_dma_pqzero_sum()
2621 slots_per_op); 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()