Lines Matching refs:src_idx
370 static inline int __desc_idx(int src_idx) in __desc_idx() argument
382 return desc_idx_table[src_idx]; in __desc_idx()
387 int src_idx) in iop_desc_get_src_addr() argument
401 if (src_idx < 4) in iop_desc_get_src_addr()
402 return hw_desc.aau->src[src_idx]; in iop_desc_get_src_addr()
404 return hw_desc.aau->src_edc[__desc_idx(src_idx)].src_addr; in iop_desc_get_src_addr()
408 int src_idx, dma_addr_t addr) in iop3xx_aau_desc_set_src_addr() argument
410 if (src_idx < 4) in iop3xx_aau_desc_set_src_addr()
411 hw_desc->src[src_idx] = addr; in iop3xx_aau_desc_set_src_addr()
413 hw_desc->src_edc[__desc_idx(src_idx)].src_addr = addr; in iop3xx_aau_desc_set_src_addr()
698 iop_desc_set_zero_sum_src_addr(struct iop_adma_desc_slot *desc, int src_idx, in iop_desc_set_zero_sum_src_addr() argument
709 iop3xx_aau_desc_set_src_addr(iter, src_idx, addr); in iop_desc_set_zero_sum_src_addr()
714 int src_idx, dma_addr_t addr) in iop_desc_set_xor_src_addr() argument
724 iop3xx_aau_desc_set_src_addr(iter, src_idx, addr); in iop_desc_set_xor_src_addr()