Lines Matching refs:chan2dev
94 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
100 return chan2dev(chan)->parent->parent; in chan2dmadev()
120 dev_dbg(chan2dev(&td_chan->chan), "Enabling irq: %d, IER: 0x%x\n", id, in __td_enable_chan_irq()
134 dev_dbg(chan2dev(&td_chan->chan), "Checking irq: %d, td: %p\n", id, td); in __td_dma_done_ack()
149 dev_err(chan2dev(&td_chan->chan), "Too big sg element\n"); in td_fill_desc()
155 dev_err(chan2dev(&td_chan->chan), "Incorrect length: %d\n", in td_fill_desc()
160 dev_dbg(chan2dev(&td_chan->chan), "desc: %p, addr: 0x%llx\n", in td_fill_desc()
183 dev_err(chan2dev(&td_chan->chan), in __td_start_dma()
191 dev_dbg(chan2dev(&td_chan->chan), in __td_start_dma()
233 dev_dbg(chan2dev(&td_chan->chan), "descriptor %u complete\n", in __td_finish()
287 dev_dbg(chan2dev(&td_chan->chan), "%s: started %u\n", in __td_start_next()
306 dev_dbg(chan2dev(txd->chan), "%s: started %u\n", __func__, in td_tx_submit()
311 dev_dbg(chan2dev(txd->chan), "tx_submit: queued %u\n", in td_tx_submit()
347 dev_err(chan2dev(chan), "DMA mapping error: %d\n", err); in td_alloc_init_desc()
362 dev_dbg(chan2dev(td_desc->txd.chan), "Freeing desc: %p\n", td_desc); in td_free_desc()
373 dev_dbg(chan2dev(&td_chan->chan), "Putting desc: %p\n", td_desc); in td_desc_put()
393 dev_dbg(chan2dev(&td_chan->chan), "desc %p not ACKed\n", in td_desc_get()
407 dev_dbg(chan2dev(chan), "%s: entry\n", __func__); in td_alloc_chan_resources()
416 dev_err(chan2dev(chan), in td_alloc_chan_resources()
439 dev_dbg(chan2dev(chan), "%s: Entry\n", __func__); in td_free_chan_resources()
450 dev_dbg(chan2dev(chan), "%s: Freeing desc: %p\n", __func__, in td_free_chan_resources()
461 dev_dbg(chan2dev(chan), "%s: Entry\n", __func__); in td_tx_status()
465 dev_dbg(chan2dev(chan), "%s: exit, ret: %d\n", __func__, ret); in td_tx_status()
475 dev_dbg(chan2dev(chan), "%s: Entry\n", __func__); in td_issue_pending()
502 dev_err(chan2dev(chan), "%s: No SG list\n", __func__); in td_prep_slave_sg()
508 dev_err(chan2dev(chan), in td_prep_slave_sg()
515 dev_err(chan2dev(chan), "Not enough descriptors available\n"); in td_prep_slave_sg()
524 dev_err(chan2dev(chan), "No descriptor space\n"); in td_prep_slave_sg()
531 dev_err(chan2dev(chan), "Failed to update desc: %d\n", in td_prep_slave_sg()
551 dev_dbg(chan2dev(chan), "%s: Entry\n", __func__); in td_terminate_all()