Home
last modified time | relevance | path

Searched refs:chan2dev (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.15/drivers/dma/
Dtimb_dma.c94 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()
[all …]
Dat_xdmac.c322 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()
[all …]
Dat_hdmac.c160 dev_dbg(chan2dev(&atchan->chan_common), in atc_desc_get()
164 dev_vdbg(chan2dev(&atchan->chan_common), in atc_desc_get()
187 dev_vdbg(chan2dev(&atchan->chan_common), in atc_desc_put()
191 dev_vdbg(chan2dev(&atchan->chan_common), in atc_desc_put()
234 dev_err(chan2dev(&atchan->chan_common), in atc_dostart()
236 dev_err(chan2dev(&atchan->chan_common), in atc_dostart()
456 dev_vdbg(chan2dev(&atchan->chan_common), in atc_chain_complete()
503 dev_vdbg(chan2dev(&atchan->chan_common), "complete all\n"); in atc_complete_all()
533 dev_vdbg(chan2dev(&atchan->chan_common), "advance_work\n"); in atc_advance_work()
588 dev_crit(chan2dev(&atchan->chan_common), in atc_handle_error()
[all …]
Dtxx9dmac.c129 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
221 dev_dbg(chan2dev(&dc->chan), "desc %p not ACKed\n", desc); in txx9dmac_desc_get()
226 dev_vdbg(chan2dev(&dc->chan), "scanned %u descriptors on freelist\n", in txx9dmac_desc_get()
235 dev_err(chan2dev(&dc->chan), in txx9dmac_desc_get()
270 dev_vdbg(chan2dev(&dc->chan), in txx9dmac_desc_put()
274 dev_vdbg(chan2dev(&dc->chan), "moving desc %p to freelist\n", in txx9dmac_desc_put()
286 dev_err(chan2dev(&dc->chan), in txx9dmac_dump_regs()
298 dev_err(chan2dev(&dc->chan), in txx9dmac_dump_regs()
336 dev_vdbg(chan2dev(&dc->chan), "dostart %u %p\n", in txx9dmac_dostart()
340 dev_err(chan2dev(&dc->chan), in txx9dmac_dostart()
[all …]
Dstm32-mdma.c300 static struct device *chan2dev(struct stm32_mdma_chan *chan) in chan2dev() function
359 dev_err(chan2dev(chan), "Failed to allocate descriptor\n"); in stm32_mdma_alloc_desc()
389 dev_err(chan2dev(chan), "Dma bus width %i not supported\n", in stm32_mdma_get_width()
447 dev_err(chan2dev(chan), "%s: timeout!\n", __func__); in stm32_mdma_disable_chan()
469 dev_dbg(chan2dev(chan), "%s(): clearing interrupt: 0x%08x\n", in stm32_mdma_stop()
538 dev_err(chan2dev(chan), in stm32_mdma_set_xfer_param()
546 dev_err(chan2dev(chan), "burst size must be a power of 2\n"); in stm32_mdma_set_xfer_param()
662 dev_err(chan2dev(chan), "Dma direction is not supported\n"); in stm32_mdma_set_xfer_param()
676 dev_dbg(chan2dev(chan), "hwdesc: %pad\n", &node->hwdesc_phys); in stm32_mdma_dump_hwdesc()
677 dev_dbg(chan2dev(chan), "CTCR: 0x%08x\n", node->hwdesc->ctcr); in stm32_mdma_dump_hwdesc()
[all …]
Dstm32-dma.c237 static struct device *chan2dev(struct stm32_dma_chan *chan) in chan2dev() function
263 dev_err(chan2dev(chan), "Dma bus width not supported\n"); in stm32_dma_get_width()
364 dev_err(chan2dev(chan), "Dma burst size not supported\n"); in stm32_dma_get_burst()
483 dev_dbg(chan2dev(chan), "%s(): clearing interrupt: 0x%08x\n", in stm32_dma_stop()
530 dev_dbg(chan2dev(chan), "SCR: 0x%08x\n", scr); in stm32_dma_dump_reg()
531 dev_dbg(chan2dev(chan), "NDTR: 0x%08x\n", ndtr); in stm32_dma_dump_reg()
532 dev_dbg(chan2dev(chan), "SPAR: 0x%08x\n", spar); in stm32_dma_dump_reg()
533 dev_dbg(chan2dev(chan), "SM0AR: 0x%08x\n", sm0ar); in stm32_dma_dump_reg()
534 dev_dbg(chan2dev(chan), "SM1AR: 0x%08x\n", sm1ar); in stm32_dma_dump_reg()
535 dev_dbg(chan2dev(chan), "SFCR: 0x%08x\n", sfcr); in stm32_dma_dump_reg()
[all …]
Dpch_dma.c153 static inline struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
197 dev_dbg(chan2dev(chan), "pdc_enable_irq: chan %d -> %x\n", in pdc_enable_irq()
245 dev_dbg(chan2dev(chan), "pdc_set_dir: chan %d -> %x\n", in pdc_set_dir()
279 dev_dbg(chan2dev(chan), "pdc_set_mode: chan %d -> %x\n", in pdc_set_mode()
322 dev_err(chan2dev(&pd_chan->chan), in pdc_dostart()
327 dev_dbg(chan2dev(&pd_chan->chan), "chan %d -> dev_addr: %x\n", in pdc_dostart()
329 dev_dbg(chan2dev(&pd_chan->chan), "chan %d -> mem_addr: %x\n", in pdc_dostart()
331 dev_dbg(chan2dev(&pd_chan->chan), "chan %d -> size: %x\n", in pdc_dostart()
333 dev_dbg(chan2dev(&pd_chan->chan), "chan %d -> next: %x\n", in pdc_dostart()
390 dev_crit(chan2dev(&pd_chan->chan), "Bad descriptor submitted\n"); in pdc_handle_error()
[all …]
Dep93xx_dma.c219 static inline struct device *chan2dev(struct ep93xx_dma_chan *edmac) in chan2dev() function
360 dev_warn(chan2dev(edmac), "M2P: Not yet IDLE\n"); in m2p_hw_shutdown()
370 dev_warn(chan2dev(edmac), "M2P: empty descriptor list\n"); in m2p_fill_desc()
424 dev_err(chan2dev(edmac), in m2p_hw_interrupt()
532 dev_warn(chan2dev(edmac), "M2M: empty descriptor list\n"); in m2m_fill_desc()
796 dev_warn(chan2dev(edmac), in ep93xx_dma_interrupt()
814 dev_warn(chan2dev(edmac), "unknown interrupt!\n"); in ep93xx_dma_interrupt()
921 dev_warn(chan2dev(edmac), "not enough descriptors\n"); in ep93xx_dma_alloc_chan_resources()
998 dev_warn(chan2dev(edmac), "couldn't get descriptor\n"); in ep93xx_dma_prep_dma_memcpy()
1045 dev_warn(chan2dev(edmac), in ep93xx_dma_prep_slave_sg()
[all …]
Dmoxart-dma.c165 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
193 dev_dbg(chan2dev(chan), "%s: ch=%p\n", __func__, ch); in moxart_terminate_all()
283 dev_err(chan2dev(chan), "%s: invalid DMA direction\n", in moxart_prep_slave_sg()
307 dev_err(chan2dev(chan), "%s: unsupported data width (%u)\n", in moxart_prep_slave_sg()
353 dev_dbg(chan2dev(chan), "%s: allocating channel #%u\n", in moxart_alloc_chan_resources()
366 dev_dbg(chan2dev(chan), "%s: freeing channel #%u\n", in moxart_free_chan_resources()
391 dev_dbg(chan2dev(&ch->vc.chan), "%s: set %u DMA cycles (len=%u)\n", in moxart_set_transfer_params()
472 dev_dbg(chan2dev(&ch->vc.chan), "%s: size=%zu\n", __func__, size); in moxart_dma_desc_size_in_flight()
529 dev_dbg(chan2dev(&ch->vc.chan), "%s\n", __func__); in moxart_dma_interrupt()
537 dev_dbg(chan2dev(&ch->vc.chan), "%s: ch=%p ch->base=%p ctrl=%x\n", in moxart_dma_interrupt()
Dat_hdmac_regs.h372 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
382 dev_err(chan2dev(&atchan->chan_common), in vdbg_dump_regs()
388 dev_err(chan2dev(&atchan->chan_common), in vdbg_dump_regs()
403 dev_crit(chan2dev(&atchan->chan_common), in atc_dump_lli()
Dsun6i-dma.c205 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
392 dev_dbg(chan2dev(&vchan->vc.chan), in sun6i_dma_dump_lli()
640 dev_dbg(chan2dev(chan), in sun6i_dma_prep_dma_memcpy()
702 dev_err(chan2dev(chan), "Invalid DMA configuration\n"); in sun6i_dma_prep_slave_sg()
725 dev_dbg(chan2dev(chan), in sun6i_dma_prep_slave_sg()
738 dev_dbg(chan2dev(chan), in sun6i_dma_prep_slave_sg()
748 dev_dbg(chan2dev(chan), "First: %pad\n", &txd->p_lli); in sun6i_dma_prep_slave_sg()
781 dev_err(chan2dev(chan), "Invalid DMA configuration\n"); in sun6i_dma_prep_dma_cyclic()
845 dev_dbg(chan2dev(chan), "vchan %p: pause\n", &vchan->vc); in sun6i_dma_pause()
866 dev_dbg(chan2dev(chan), "vchan %p: resume\n", &vchan->vc); in sun6i_dma_resume()
[all …]
Dowl-dma.c294 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
575 dev_dbg(chan2dev(&vchan->vc.chan), "starting pchan %d\n", pchan->id); in owl_dma_start_next_txd()
759 dev_dbg(chan2dev(chan), "vchan %p: resume\n", &vchan->vc); in owl_dma_resume()
890 dev_warn(chan2dev(chan), "failed to allocate lli\n"); in owl_dma_prep_memcpy()
900 dev_warn(chan2dev(chan), "failed to config lli\n"); in owl_dma_prep_memcpy()
949 dev_err(chan2dev(chan), "failed to allocate lli"); in owl_dma_prep_slave_sg()
964 dev_warn(chan2dev(chan), "failed to config lli"); in owl_dma_prep_slave_sg()
1005 dev_warn(chan2dev(chan), "failed to allocate lli"); in owl_prep_dma_cyclic()
1020 dev_warn(chan2dev(chan), "failed to config lli"); in owl_prep_dma_cyclic()
Dsun4i-dma.c187 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
340 dev_dbg(chan2dev(&vchan->vc.chan), in __execute_vchan_pending()
350 dev_dbg(chan2dev(&vchan->vc.chan), in __execute_vchan_pending()
361 dev_dbg(chan2dev(&vchan->vc.chan), in __execute_vchan_pending()
453 dev_dbg(chan2dev(chan), in generate_ndma_promise()
675 dev_err(chan2dev(chan), "Invalid DMA direction\n"); in sun4i_dma_prep_dma_cyclic()
790 dev_err(chan2dev(chan), "Invalid DMA direction\n"); in sun4i_dma_prep_slave_sg()
Didma64.c28 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
502 idma64c->pool = dma_pool_create(dev_name(chan2dev(chan)), in idma64_alloc_chan_resources()
506 dev_err(chan2dev(chan), "No memory for descriptors\n"); in idma64_alloc_chan_resources()
Dste_dma40.c603 static struct device *chan2dev(struct d40_chan *d40c) in chan2dev() function
628 d40_err(chan2dev(d40c), format, ## arg)
1223 dev_dbg(chan2dev(d40c), in __d40_config_set_event()
1907 dev_err(chan2dev(d40c), in d40_allocate_channel()
1916 dev_err(chan2dev(d40c), in d40_allocate_channel()
2433 dev_dbg(chan2dev(d40c), "allocated %s channel (phy %d%s)\n", in d40_alloc_chan_resources()
/Linux-v5.15/drivers/dma/dw/
Dcore.c46 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
74 dev_vdbg(chan2dev(tx->chan), "%s: queued %u\n", in dwc_tx_submit()
132 dev_err(chan2dev(&dwc->chan), in dwc_dump_chan_regs()
182 dev_err(chan2dev(&dwc->chan), in dwc_dostart()
195 dev_err(chan2dev(&dwc->chan), in dwc_dostart()
228 dev_vdbg(chan2dev(&dwc->chan), "%s: started %u\n", __func__, desc->txd.cookie); in dwc_dostart_first_queued()
243 dev_vdbg(chan2dev(&dwc->chan), "descriptor %u complete\n", txd->cookie); in dwc_descriptor_complete()
270 dev_err(chan2dev(&dwc->chan), in dwc_complete_all()
358 dev_vdbg(chan2dev(&dwc->chan), "%s: soft LLP mode\n", __func__); in dwc_scan_descriptors()
363 dev_vdbg(chan2dev(&dwc->chan), "%s: llp=%pad\n", __func__, &llp); in dwc_scan_descriptors()
[all …]
/Linux-v5.15/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c228 dev_err(chan2dev(chan), "%s: not enough descriptors available\n", in axi_desc_get()
254 dev_vdbg(chan2dev(chan), "%s: %d descs put, %d still allocated\n", in axi_desc_put()
343 dev_err(chan2dev(chan), "%s is non-idle!\n", in axi_chan_block_xfer_start()
404 dev_vdbg(chan2dev(chan), "%s: started %u\n", axi_chan_name(chan), in axi_chan_start_first_queued()
433 dev_err(chan2dev(chan), "%s is non-idle!\n", in dma_chan_alloc_chan_resources()
439 chan->desc_pool = dma_pool_create(dev_name(chan2dev(chan)), in dma_chan_alloc_chan_resources()
444 dev_err(chan2dev(chan), "No memory for descriptors\n"); in dma_chan_alloc_chan_resources()
843 dev_dbg(chan2dev(chan), "%s: memcpy: src: %pad dst: %pad length: %zd flags: %#lx", in dma_chan_prep_dma_memcpy()
982 dev_err(chan2dev(chan), in axi_chan_handle_err()
1007 dev_err(chan2dev(chan), "BUG: %s caught DWAXIDMAC_IRQ_DMA_TRF, but channel not idle!\n", in axi_chan_block_xfer_complete()
Ddw-axi-dmac.h111 static inline struct device *chan2dev(struct axi_dma_chan *chan) in chan2dev() function
/Linux-v5.15/drivers/dma/dw-edma/
Ddw-edma-core.c32 struct device *chan2dev(struct dw_edma_chan *chan) in chan2dev() function