Lines Matching refs:lld
238 struct at_xdmac_lld lld; member
358 else if ((first->lld.mbr_ubc & in at_xdmac_start_xfer()
369 at_xdmac_chan_write(atchan, AT_XDMAC_CC, first->lld.mbr_cfg); in at_xdmac_start_xfer()
390 if (at_xdmac_chan_is_peripheral_xfer(first->lld.mbr_cfg)) in at_xdmac_start_xfer()
459 memset(&desc->lld, 0, sizeof(desc->lld)); in at_xdmac_init_used_desc()
490 prev->lld.mbr_nda = desc->tx_dma_desc.phys; in at_xdmac_queue_desc()
491 prev->lld.mbr_ubc |= AT_XDMAC_MBR_UBC_NDE; in at_xdmac_queue_desc()
494 __func__, prev, &prev->lld.mbr_nda); in at_xdmac_queue_desc()
503 desc->lld.mbr_bc++; in at_xdmac_increment_block_count()
688 desc->lld.mbr_sa = atchan->sconfig.src_addr; in at_xdmac_prep_slave_sg()
689 desc->lld.mbr_da = mem; in at_xdmac_prep_slave_sg()
691 desc->lld.mbr_sa = mem; in at_xdmac_prep_slave_sg()
692 desc->lld.mbr_da = atchan->sconfig.dst_addr; in at_xdmac_prep_slave_sg()
698 desc->lld.mbr_ubc = AT_XDMAC_MBR_UBC_NDV2 /* next descriptor view */ in at_xdmac_prep_slave_sg()
702 desc->lld.mbr_cfg = (atchan->cfg & ~AT_XDMAC_CC_DWIDTH_MASK) | in at_xdmac_prep_slave_sg()
706 __func__, &desc->lld.mbr_sa, &desc->lld.mbr_da, desc->lld.mbr_ubc); in at_xdmac_prep_slave_sg()
781 desc->lld.mbr_sa = atchan->sconfig.src_addr; in at_xdmac_prep_dma_cyclic()
782 desc->lld.mbr_da = buf_addr + i * period_len; in at_xdmac_prep_dma_cyclic()
784 desc->lld.mbr_sa = buf_addr + i * period_len; in at_xdmac_prep_dma_cyclic()
785 desc->lld.mbr_da = atchan->sconfig.dst_addr; in at_xdmac_prep_dma_cyclic()
787 desc->lld.mbr_cfg = atchan->cfg; in at_xdmac_prep_dma_cyclic()
788 desc->lld.mbr_ubc = AT_XDMAC_MBR_UBC_NDV1 in at_xdmac_prep_dma_cyclic()
791 | period_len >> at_xdmac_get_dwidth(desc->lld.mbr_cfg); in at_xdmac_prep_dma_cyclic()
795 __func__, &desc->lld.mbr_sa, &desc->lld.mbr_da, desc->lld.mbr_ubc); in at_xdmac_prep_dma_cyclic()
916 desc->lld.mbr_sa = src; in at_xdmac_interleaved_queue_desc()
917 desc->lld.mbr_da = dst; in at_xdmac_interleaved_queue_desc()
918 desc->lld.mbr_sus = dmaengine_get_src_icg(xt, chunk); in at_xdmac_interleaved_queue_desc()
919 desc->lld.mbr_dus = dmaengine_get_dst_icg(xt, chunk); in at_xdmac_interleaved_queue_desc()
921 desc->lld.mbr_ubc = AT_XDMAC_MBR_UBC_NDV3 in at_xdmac_interleaved_queue_desc()
925 desc->lld.mbr_cfg = chan_cc; in at_xdmac_interleaved_queue_desc()
929 __func__, &desc->lld.mbr_sa, &desc->lld.mbr_da, in at_xdmac_interleaved_queue_desc()
930 desc->lld.mbr_ubc, desc->lld.mbr_cfg); in at_xdmac_interleaved_queue_desc()
1110 desc->lld.mbr_sa = src_addr; in at_xdmac_prep_dma_memcpy()
1111 desc->lld.mbr_da = dst_addr; in at_xdmac_prep_dma_memcpy()
1112 desc->lld.mbr_ubc = AT_XDMAC_MBR_UBC_NDV2 in at_xdmac_prep_dma_memcpy()
1116 desc->lld.mbr_cfg = chan_cc; in at_xdmac_prep_dma_memcpy()
1120 __func__, &desc->lld.mbr_sa, &desc->lld.mbr_da, desc->lld.mbr_ubc, desc->lld.mbr_cfg); in at_xdmac_prep_dma_memcpy()
1193 desc->lld.mbr_da = dst_addr; in at_xdmac_memset_create_desc()
1194 desc->lld.mbr_ds = value; in at_xdmac_memset_create_desc()
1195 desc->lld.mbr_ubc = AT_XDMAC_MBR_UBC_NDV3 in at_xdmac_memset_create_desc()
1199 desc->lld.mbr_cfg = chan_cc; in at_xdmac_memset_create_desc()
1203 __func__, &desc->lld.mbr_da, desc->lld.mbr_ds, desc->lld.mbr_ubc, in at_xdmac_memset_create_desc()
1204 desc->lld.mbr_cfg); in at_xdmac_memset_create_desc()
1303 ppdesc->lld.mbr_dus = stride; in at_xdmac_prep_dma_memset_sg()
1366 pdesc->lld.mbr_dus = stride; in at_xdmac_prep_dma_memset_sg()
1445 if ((desc->lld.mbr_cfg & mask) == value) { in at_xdmac_tx_status()
1503 if ((desc->lld.mbr_cfg & mask) == value) { in at_xdmac_tx_status()
1516 dwidth = at_xdmac_get_dwidth(iter->lld.mbr_cfg); in at_xdmac_tx_status()
1517 residue -= (iter->lld.mbr_ubc & 0xffffff) << dwidth; in at_xdmac_tx_status()
1518 if ((iter->lld.mbr_nda & 0xfffffffc) == cur_nda) { in at_xdmac_tx_status()
1606 __func__, &bad_desc->lld.mbr_sa, &bad_desc->lld.mbr_da, in at_xdmac_handle_error()
1607 bad_desc->lld.mbr_ubc); in at_xdmac_handle_error()