Lines Matching refs:chan2dev
73 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
98 dev_dbg(chan2dev(&dwc->chan), "desc %p not ACKed\n", desc); in dwc_desc_get()
102 dev_vdbg(chan2dev(&dwc->chan), "scanned %u descriptors on freelist\n", i); in dwc_desc_get()
120 dev_vdbg(chan2dev(&dwc->chan), in dwc_desc_put()
124 dev_vdbg(chan2dev(&dwc->chan), "moving desc %p to freelist\n", desc); in dwc_desc_put()
171 dev_err(chan2dev(&dwc->chan), in dwc_dump_chan_regs()
220 dev_err(chan2dev(&dwc->chan), in dwc_dostart()
233 dev_err(chan2dev(&dwc->chan), in dwc_dostart()
267 dev_vdbg(chan2dev(&dwc->chan), "%s: started %u\n", __func__, desc->txd.cookie); in dwc_dostart_first_queued()
283 dev_vdbg(chan2dev(&dwc->chan), "descriptor %u complete\n", txd->cookie); in dwc_descriptor_complete()
315 dev_err(chan2dev(&dwc->chan), in dwc_complete_all()
405 dev_vdbg(chan2dev(&dwc->chan), "%s: soft LLP mode\n", __func__); in dwc_scan_descriptors()
410 dev_vdbg(chan2dev(&dwc->chan), "%s: llp=%pad\n", __func__, &llp); in dwc_scan_descriptors()
450 dev_err(chan2dev(&dwc->chan), in dwc_scan_descriptors()
462 dev_crit(chan2dev(&dwc->chan), " desc: s0x%x d0x%x l0x%x c0x%x:%x\n", in dwc_dump_lli()
497 dev_WARN(chan2dev(&dwc->chan), "Bad descriptor submitted for DMA!\n" in dwc_handle_error()
535 dev_vdbg(chan2dev(&dwc->chan), "new cyclic period llp 0x%08x\n", in dwc_handle_cyclic()
554 dev_err(chan2dev(&dwc->chan), in dwc_handle_cyclic()
672 dev_vdbg(chan2dev(tx->chan), "%s: queued %u\n", __func__, desc->txd.cookie); in dwc_tx_submit()
696 dev_vdbg(chan2dev(chan), in dwc_prep_dma_memcpy()
701 dev_dbg(chan2dev(chan), "%s: length is zero!\n", __func__); in dwc_prep_dma_memcpy()
779 dev_vdbg(chan2dev(chan), "%s\n", __func__); in dwc_prep_slave_sg()
916 dev_err(chan2dev(chan), in dwc_prep_slave_sg()
1135 dev_vdbg(chan2dev(chan), "%s\n", __func__); in dwc_alloc_chan_resources()
1139 dev_dbg(chan2dev(chan), "DMA channel not idle?\n"); in dwc_alloc_chan_resources()
1155 dev_warn(chan2dev(chan), "Wrong controller-specific data\n"); in dwc_alloc_chan_resources()
1191 dev_dbg(chan2dev(chan), "%s: allocated %d descriptors\n", __func__, i); in dwc_alloc_chan_resources()
1196 dev_info(chan2dev(chan), "only allocated %d descriptors\n", i); in dwc_alloc_chan_resources()
1209 dev_dbg(chan2dev(chan), "%s: descs allocated=%u\n", __func__, in dwc_free_chan_resources()
1243 dev_vdbg(chan2dev(chan), " freeing descriptor %p\n", desc); in dwc_free_chan_resources()
1247 dev_vdbg(chan2dev(chan), "%s: done\n", __func__); in dwc_free_chan_resources()
1266 dev_err(chan2dev(&dwc->chan), "missing prep for cyclic DMA\n"); in dw_dma_cyclic_start()
1333 dev_dbg(chan2dev(&dwc->chan), in dw_dma_cyclic_prep()
1340 dev_dbg(chan2dev(&dwc->chan), in dw_dma_cyclic_prep()
1348 dev_dbg(chan2dev(&dwc->chan), in dw_dma_cyclic_prep()
1440 dev_dbg(chan2dev(&dwc->chan), in dw_dma_cyclic_prep()
1472 dev_dbg(chan2dev(&dwc->chan), "%s\n", __func__); in dw_dma_cyclic_free()