Lines Matching refs:chan2dev
322 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
386 dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, first); in at_xdmac_start_xfer()
425 dev_vdbg(chan2dev(&atchan->chan), in at_xdmac_start_xfer()
453 dev_vdbg(chan2dev(&atchan->chan), in at_xdmac_start_xfer()
458 dev_vdbg(chan2dev(&atchan->chan), in at_xdmac_start_xfer()
479 dev_vdbg(chan2dev(tx->chan), "%s: atchan 0x%p, add desc 0x%p to xfers_list\n", in at_xdmac_tx_submit()
543 dev_dbg(chan2dev(chan), "%s: chain lld: prev=0x%p, mbr_nda=%pad\n", in at_xdmac_queue_desc()
555 dev_dbg(chan2dev(chan), in at_xdmac_increment_block_count()
611 dev_err(chan2dev(chan), "invalid src maxburst value\n"); in at_xdmac_compute_chan_conf()
617 dev_err(chan2dev(chan), "invalid src addr width value\n"); in at_xdmac_compute_chan_conf()
636 dev_err(chan2dev(chan), "invalid src maxburst value\n"); in at_xdmac_compute_chan_conf()
642 dev_err(chan2dev(chan), "invalid dst addr width value\n"); in at_xdmac_compute_chan_conf()
648 dev_dbg(chan2dev(chan), "%s: cfg=0x%08x\n", __func__, atchan->cfg); in at_xdmac_compute_chan_conf()
677 dev_err(chan2dev(chan), "invalid slave configuration\n"); in at_xdmac_set_slave_config()
703 dev_err(chan2dev(chan), "invalid DMA direction\n"); in at_xdmac_prep_slave_sg()
707 dev_dbg(chan2dev(chan), "%s: sg_len=%d, dir=%s, flags=0x%lx\n", in at_xdmac_prep_slave_sg()
726 dev_err(chan2dev(chan), "sg data length is zero\n"); in at_xdmac_prep_slave_sg()
729 dev_dbg(chan2dev(chan), "%s: * sg%d len=%u, mem=0x%08x\n", in at_xdmac_prep_slave_sg()
734 dev_err(chan2dev(chan), "can't get descriptor\n"); in at_xdmac_prep_slave_sg()
758 dev_dbg(chan2dev(chan), in at_xdmac_prep_slave_sg()
770 dev_dbg(chan2dev(chan), "%s: add desc 0x%p to descs_list 0x%p\n", in at_xdmac_prep_slave_sg()
799 dev_dbg(chan2dev(chan), "%s: buf_addr=%pad, buf_len=%zd, period_len=%zd, dir=%s, flags=0x%lx\n", in at_xdmac_prep_dma_cyclic()
804 dev_err(chan2dev(chan), "invalid DMA direction\n"); in at_xdmac_prep_dma_cyclic()
809 dev_err(chan2dev(chan), "channel currently used\n"); in at_xdmac_prep_dma_cyclic()
822 dev_err(chan2dev(chan), "can't get descriptor\n"); in at_xdmac_prep_dma_cyclic()
829 dev_dbg(chan2dev(chan), in at_xdmac_prep_dma_cyclic()
846 dev_dbg(chan2dev(chan), in at_xdmac_prep_dma_cyclic()
858 dev_dbg(chan2dev(chan), "%s: add desc 0x%p to descs_list 0x%p\n", in at_xdmac_prep_dma_cyclic()
885 dev_dbg(chan2dev(chan), "%s: dwidth: double word\n", __func__); in at_xdmac_align_width()
888 dev_dbg(chan2dev(chan), "%s: dwidth: word\n", __func__); in at_xdmac_align_width()
891 dev_dbg(chan2dev(chan), "%s: dwidth: half word\n", __func__); in at_xdmac_align_width()
894 dev_dbg(chan2dev(chan), "%s: dwidth: byte\n", __func__); in at_xdmac_align_width()
934 dev_dbg(chan2dev(chan), in at_xdmac_interleaved_queue_desc()
942 dev_dbg(chan2dev(chan), in at_xdmac_interleaved_queue_desc()
963 dev_err(chan2dev(chan), "can't get descriptor\n"); in at_xdmac_interleaved_queue_desc()
982 dev_dbg(chan2dev(chan), in at_xdmac_interleaved_queue_desc()
1016 dev_dbg(chan2dev(chan), "%s: src=%pad, dest=%pad, numf=%zu, frame_size=%zu, flags=0x%lx\n", in at_xdmac_prep_interleaved()
1033 dev_dbg(chan2dev(chan), "%s: add desc 0x%p to descs_list 0x%p\n", in at_xdmac_prep_interleaved()
1049 dev_dbg(chan2dev(chan), in at_xdmac_prep_interleaved()
1066 dev_dbg(chan2dev(chan), "%s: add desc 0x%p to descs_list 0x%p\n", in at_xdmac_prep_interleaved()
1119 dev_dbg(chan2dev(chan), "%s: src=%pad, dest=%pad, len=%zd, flags=0x%lx\n", in at_xdmac_prep_dma_memcpy()
1131 dev_dbg(chan2dev(chan), "%s: remaining_size=%zu\n", __func__, remaining_size); in at_xdmac_prep_dma_memcpy()
1137 dev_err(chan2dev(chan), "can't get descriptor\n"); in at_xdmac_prep_dma_memcpy()
1152 dev_dbg(chan2dev(chan), "%s: xfer_size=%zu\n", __func__, xfer_size); in at_xdmac_prep_dma_memcpy()
1171 dev_dbg(chan2dev(chan), in at_xdmac_prep_dma_memcpy()
1183 dev_dbg(chan2dev(chan), "%s: add desc 0x%p to descs_list 0x%p\n", in at_xdmac_prep_dma_memcpy()
1230 dev_err(chan2dev(chan), in at_xdmac_memset_create_desc()
1240 dev_err(chan2dev(chan), "can't get descriptor\n"); in at_xdmac_memset_create_desc()
1256 dev_dbg(chan2dev(chan), in at_xdmac_memset_create_desc()
1271 dev_dbg(chan2dev(chan), "%s: dest=%pad, len=%zu, pattern=0x%x, flags=0x%lx\n", in at_xdmac_prep_dma_memset()
1302 dev_dbg(chan2dev(chan), "%s: sg_len=%d, value=0x%x, flags=0x%lx\n", in at_xdmac_prep_dma_memset_sg()
1307 dev_dbg(chan2dev(chan), "%s: dest=%pad, len=%d, pattern=0x%x, flags=0x%lx\n", in at_xdmac_prep_dma_memset_sg()
1349 dev_dbg(chan2dev(chan), in at_xdmac_prep_dma_memset_sg()
1397 dev_dbg(chan2dev(chan), in at_xdmac_prep_dma_memset_sg()
1412 dev_dbg(chan2dev(chan), in at_xdmac_prep_dma_memset_sg()
1580 dev_dbg(chan2dev(chan), in at_xdmac_tx_status()
1593 dev_dbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, desc); in at_xdmac_remove_xfer()
1615 dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, desc); in at_xdmac_advance_work()
1648 dev_err(chan2dev(&atchan->chan), "read bus error!!!"); in at_xdmac_handle_error()
1650 dev_err(chan2dev(&atchan->chan), "write bus error!!!"); in at_xdmac_handle_error()
1652 dev_err(chan2dev(&atchan->chan), "request overflow error!!!"); in at_xdmac_handle_error()
1668 dev_dbg(chan2dev(&atchan->chan), in at_xdmac_handle_error()
1682 dev_dbg(chan2dev(&atchan->chan), "%s: status=0x%08x\n", in at_xdmac_tasklet()
1702 dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, desc); in at_xdmac_tasklet()
1704 dev_err(chan2dev(&atchan->chan), "Xfer not active: exiting"); in at_xdmac_tasklet()
1758 dev_vdbg(chan2dev(&atchan->chan), in at_xdmac_interrupt()
1785 dev_dbg(chan2dev(&atchan->chan), "%s\n", __func__); in at_xdmac_issue_pending()
1803 dev_dbg(chan2dev(chan), "%s\n", __func__); in at_xdmac_device_config()
1818 dev_dbg(chan2dev(chan), "%s\n", __func__); in at_xdmac_device_pause()
1839 dev_dbg(chan2dev(chan), "%s\n", __func__); in at_xdmac_device_resume()
1861 dev_dbg(chan2dev(chan), "%s\n", __func__); in at_xdmac_device_terminate_all()
1886 dev_err(chan2dev(chan), in at_xdmac_alloc_chan_resources()
1892 dev_err(chan2dev(chan), in at_xdmac_alloc_chan_resources()
1900 dev_warn(chan2dev(chan), in at_xdmac_alloc_chan_resources()
1909 dev_dbg(chan2dev(chan), "%s: allocated %d descriptors\n", __func__, i); in at_xdmac_alloc_chan_resources()
1921 dev_dbg(chan2dev(chan), "%s: freeing descriptor %p\n", __func__, desc); in at_xdmac_free_chan_resources()