Lines Matching defs:chan2dev
105 static struct device *chan2dev(struct dma_chan *chan)
111 return chan2dev(chan)->parent->parent;
131 dev_dbg(chan2dev(&td_chan->chan), "Enabling irq: %d, IER: 0x%x\n", id,
145 dev_dbg(chan2dev(&td_chan->chan), "Checking irq: %d, td: %p\n", id, td);
168 dma_unmap_single(chan2dev(&td_chan->chan), addr, len,
171 dma_unmap_page(chan2dev(&td_chan->chan), addr, len,
192 dev_err(chan2dev(&td_chan->chan), "Too big sg element\n");
198 dev_err(chan2dev(&td_chan->chan), "Incorrect length: %d\n",
203 dev_dbg(chan2dev(&td_chan->chan), "desc: %p, addr: 0x%llx\n",
226 dev_err(chan2dev(&td_chan->chan),
234 dev_dbg(chan2dev(&td_chan->chan),
277 dev_dbg(chan2dev(&td_chan->chan), "descriptor %u complete\n",
336 dev_dbg(chan2dev(&td_chan->chan), "%s: started %u\n",
360 dev_dbg(chan2dev(txd->chan), "%s: started %u\n", __func__,
365 dev_dbg(chan2dev(txd->chan), "tx_submit: queued %u\n",
384 dev_err(chan2dev(chan), "Failed to alloc descriptor\n");
392 dev_err(chan2dev(chan), "Failed to alloc descriptor\n");
405 dev_err(chan2dev(chan), "DMA mapping error: %d\n", err);
420 dev_dbg(chan2dev(td_desc->txd.chan), "Freeing desc: %p\n", td_desc);
431 dev_dbg(chan2dev(&td_chan->chan), "Putting desc: %p\n", td_desc);
451 dev_dbg(chan2dev(&td_chan->chan), "desc %p not ACKed\n",
465 dev_dbg(chan2dev(chan), "%s: entry\n", __func__);
474 dev_err(chan2dev(chan),
498 dev_dbg(chan2dev(chan), "%s: Entry\n", __func__);
509 dev_dbg(chan2dev(chan), "%s: Freeing desc: %p\n", __func__,
524 dev_dbg(chan2dev(chan), "%s: Entry\n", __func__);
533 dev_dbg(chan2dev(chan),
545 dev_dbg(chan2dev(chan), "%s: Entry\n", __func__);
571 dev_err(chan2dev(chan), "%s: No SG list\n", __func__);
577 dev_err(chan2dev(chan),
584 dev_err(chan2dev(chan), "Not enough descriptors available\n");
593 dev_err(chan2dev(chan), "No descriptor space\n");
600 dev_err(chan2dev(chan), "Failed to update desc: %d\n",
621 dev_dbg(chan2dev(chan), "%s: Entry\n", __func__);