Lines Matching refs:dst_cnt

265 	desc->dst_cnt = 1;  in ppc440spe_desc_init_null_xor()
279 desc->dst_cnt = 1; in ppc440spe_desc_init_xor()
292 int dst_cnt, int src_cnt, unsigned long flags) in ppc440spe_desc_init_dma2pq() argument
299 desc->dst_cnt = dst_cnt; in ppc440spe_desc_init_dma2pq()
318 int dst_cnt, int src_cnt, unsigned long flags, in ppc440spe_desc_init_dma01pq() argument
328 desc->dst_cnt = dst_cnt; in ppc440spe_desc_init_dma01pq()
333 dopc = (desc->dst_cnt == DMA_DEST_MAX_NUM) ? in ppc440spe_desc_init_dma01pq()
404 if (desc->dst_cnt == DMA_DEST_MAX_NUM) { in ppc440spe_desc_init_dma01pq()
432 int dst_cnt, int src_cnt) in ppc440spe_desc_init_dma01pqzero_sum() argument
437 u8 dopc = (dst_cnt == 2) ? DMA_CDB_OPC_MULTICAST : in ppc440spe_desc_init_dma01pqzero_sum()
450 if (dst_cnt > 1) { in ppc440spe_desc_init_dma01pqzero_sum()
459 iter->dst_cnt = 0; in ppc440spe_desc_init_dma01pqzero_sum()
495 desc->dst_cnt = dst_cnt; in ppc440spe_desc_init_dma01pqzero_sum()
509 desc->dst_cnt = 1; in ppc440spe_desc_init_memcpy()
1327 enum dma_transaction_type cap, struct page **dst_lst, int dst_cnt, in ppc440spe_adma_estimate() argument
1351 if (dst_cnt == 1 && src_cnt == 2 && dst_lst[0] == src_lst[1]) in ppc440spe_adma_estimate()
1369 struct page **dst_lst, int dst_cnt, struct page **src_lst, in ppc440spe_async_tx_find_best_channel() argument
1404 dst_cnt, src_lst, src_cnt, src_sz); in ppc440spe_async_tx_find_best_channel()
1426 if (entry_idx < 0 || entry_idx >= (tdesc->src_cnt + tdesc->dst_cnt)) { in ppc440spe_get_group_entry()
1428 __func__, entry_idx, tdesc->src_cnt, tdesc->dst_cnt); in ppc440spe_get_group_entry()
2085 dma_addr_t *dst, int dst_cnt, dma_addr_t *src, int src_cnt, in ppc440spe_dma01_prep_mult() argument
2107 sw_desc->dst_cnt = dst_cnt; in ppc440spe_dma01_prep_mult()
2193 sw_desc->dst_cnt = 1; in ppc440spe_dma01_prep_sum_product()
2275 dma_addr_t *dst, int dst_cnt, dma_addr_t *src, int src_cnt, in ppc440spe_dma01_prep_pq() argument
2284 __func__, dst_cnt, src_cnt, len); in ppc440spe_dma01_prep_pq()
2357 slot_cnt = dst_cnt; in ppc440spe_dma01_prep_pq()
2372 if (slot_cnt == dst_cnt) in ppc440spe_dma01_prep_pq()
2381 ppc440spe_desc_init_dma01pq(sw_desc, dst_cnt, src_cnt, in ppc440spe_dma01_prep_pq()
2401 mult, src_cnt, dst_cnt - 1); in ppc440spe_dma01_prep_pq()
2420 dma_addr_t *dst, int dst_cnt, dma_addr_t *src, int src_cnt, in ppc440spe_dma2_prep_pq() argument
2428 BUG_ON(!dst_cnt); in ppc440spe_dma2_prep_pq()
2440 slot_cnt = descs_per_op * dst_cnt; in ppc440spe_dma2_prep_pq()
2447 ppc440spe_desc_init_dma2pq(iter, dst_cnt, src_cnt, in ppc440spe_dma2_prep_pq()
2478 sw_desc->dst_cnt = dst_cnt; in ppc440spe_dma2_prep_pq()
2496 mult, src_cnt, dst_cnt - 1); in ppc440spe_dma2_prep_pq()
2514 int dst_cnt = 0; in ppc440spe_adma_prep_dma_pq() local
2544 dst_cnt++; in ppc440spe_adma_prep_dma_pq()
2550 dst_cnt++; in ppc440spe_adma_prep_dma_pq()
2554 BUG_ON(!dst_cnt); in ppc440spe_adma_prep_dma_pq()
2565 dst, dst_cnt, src, src_cnt, scf, in ppc440spe_adma_prep_dma_pq()
2571 dst, dst_cnt, src, src_cnt, scf, in ppc440spe_adma_prep_dma_pq()
2591 int slot_cnt, slots_per_op, idst, dst_cnt; in ppc440spe_adma_prep_dma_pqzero_sum() local
2611 idst = dst_cnt = (pdest && qdest) ? 2 : 1; in ppc440spe_adma_prep_dma_pqzero_sum()
2616 slot_cnt = src_cnt + dst_cnt * 2; in ppc440spe_adma_prep_dma_pqzero_sum()
2623 ppc440spe_desc_init_dma01pqzero_sum(sw_desc, dst_cnt, src_cnt); in ppc440spe_adma_prep_dma_pqzero_sum()
2646 iter->dst_cnt = 0; in ppc440spe_adma_prep_dma_pqzero_sum()
2678 iter->dst_cnt = 0; in ppc440spe_adma_prep_dma_pqzero_sum()
2693 idst = dst_cnt; in ppc440spe_adma_prep_dma_pqzero_sum()
2702 if (idst == dst_cnt) { in ppc440spe_adma_prep_dma_pqzero_sum()
2728 if (!(--dst_cnt)) in ppc440spe_adma_prep_dma_pqzero_sum()
2743 mult_dst = (dst_cnt - 1) ? DMA_CDB_SG_DST2 : in ppc440spe_adma_prep_dma_pqzero_sum()
2788 BUG_ON(index >= sw_desc->dst_cnt); in ppc440spe_adma_set_dest()
3152 index - iskip + sw_desc->dst_cnt); in ppc440spe_adma_pq_set_src()
3175 sw_desc->dst_cnt == 2) { in ppc440spe_adma_pq_set_src()
3189 if (iter->dst_cnt == 2) { in ppc440spe_adma_pq_set_src()
3466 sw_desc->dst_cnt - 1); in ppc440spe_adma_pq_set_src_mult()
3467 if (sw_desc->dst_cnt == 2) in ppc440spe_adma_pq_set_src_mult()
3477 sw_desc->dst_cnt); in ppc440spe_adma_pq_set_src_mult()
3516 if (sw_desc->dst_cnt == 2) { in ppc440spe_adma_pq_set_src_mult()