Home
last modified time | relevance | path

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

/linux-6.6.21/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.c327 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
465 dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, first); in at_xdmac_start_xfer()
502 dev_vdbg(chan2dev(&atchan->chan), in at_xdmac_start_xfer()
530 dev_vdbg(chan2dev(&atchan->chan), in at_xdmac_start_xfer()
535 dev_vdbg(chan2dev(&atchan->chan), in at_xdmac_start_xfer()
558 dev_vdbg(chan2dev(tx->chan), "%s: atchan 0x%p, add desc 0x%p to xfers_list\n", in at_xdmac_tx_submit()
618 dev_dbg(chan2dev(chan), "%s: chain lld: prev=0x%p, mbr_nda=%pad\n", in at_xdmac_queue_desc()
630 dev_dbg(chan2dev(chan), in at_xdmac_increment_block_count()
686 dev_err(chan2dev(chan), "invalid src maxburst value\n"); in at_xdmac_compute_chan_conf()
692 dev_err(chan2dev(chan), "invalid src addr width value\n"); in at_xdmac_compute_chan_conf()
[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.c279 static struct device *chan2dev(struct stm32_mdma_chan *chan) in chan2dev() function
338 dev_err(chan2dev(chan), "Failed to allocate descriptor\n"); in stm32_mdma_alloc_desc()
368 dev_err(chan2dev(chan), "Dma bus width %i not supported\n", in stm32_mdma_get_width()
426 dev_err(chan2dev(chan), "%s: timeout!\n", __func__); in stm32_mdma_disable_chan()
448 dev_dbg(chan2dev(chan), "%s(): clearing interrupt: 0x%08x\n", in stm32_mdma_stop()
517 dev_err(chan2dev(chan), in stm32_mdma_set_xfer_param()
525 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 …]
Dat_hdmac.c376 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
386 dev_err(chan2dev(&atchan->vc.chan), in vdbg_dump_regs()
392 dev_err(chan2dev(&atchan->vc.chan), in vdbg_dump_regs()
407 dev_crit(chan2dev(&atchan->vc.chan), in atc_dump_lli()
783 dev_crit(chan2dev(&atchan->vc.chan), "Bad descriptor submitted for DMA!\n"); in atc_handle_error()
784 dev_crit(chan2dev(&atchan->vc.chan), "cookie: %d\n", in atc_handle_error()
879 dev_info(chan2dev(chan), in atc_prep_dma_interleaved()
896 dev_err(chan2dev(chan), in atc_prep_dma_interleaved()
909 dev_err(chan2dev(chan), "%s: buffer is too big\n", __func__); in atc_prep_dma_interleaved()
976 dev_dbg(chan2dev(chan), "prep_dma_memcpy: d%pad s%pad l0x%zx f0x%lx\n", in atc_prep_dma_memcpy()
[all …]
Dstm32-dma.c252 static struct device *chan2dev(struct stm32_dma_chan *chan) in chan2dev() function
278 dev_err(chan2dev(chan), "Dma bus width not supported\n"); in stm32_dma_get_width()
378 dev_err(chan2dev(chan), "Dma burst size not supported\n"); in stm32_dma_get_burst()
491 dev_dbg(chan2dev(chan), "%s(): clearing interrupt: 0x%08x\n", in stm32_dma_stop()
540 dev_dbg(chan2dev(chan), "SCR: 0x%08x\n", scr); in stm32_dma_dump_reg()
541 dev_dbg(chan2dev(chan), "NDTR: 0x%08x\n", ndtr); in stm32_dma_dump_reg()
542 dev_dbg(chan2dev(chan), "SPAR: 0x%08x\n", spar); in stm32_dma_dump_reg()
543 dev_dbg(chan2dev(chan), "SM0AR: 0x%08x\n", sm0ar); in stm32_dma_dump_reg()
544 dev_dbg(chan2dev(chan), "SM1AR: 0x%08x\n", sm1ar); in stm32_dma_dump_reg()
545 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.c162 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
190 dev_dbg(chan2dev(chan), "%s: ch=%p\n", __func__, ch); in moxart_terminate_all()
280 dev_err(chan2dev(chan), "%s: invalid DMA direction\n", in moxart_prep_slave_sg()
304 dev_err(chan2dev(chan), "%s: unsupported data width (%u)\n", in moxart_prep_slave_sg()
350 dev_dbg(chan2dev(chan), "%s: allocating channel #%u\n", in moxart_alloc_chan_resources()
363 dev_dbg(chan2dev(chan), "%s: freeing channel #%u\n", in moxart_free_chan_resources()
388 dev_dbg(chan2dev(&ch->vc.chan), "%s: set %u DMA cycles (len=%u)\n", in moxart_set_transfer_params()
469 dev_dbg(chan2dev(&ch->vc.chan), "%s: size=%zu\n", __func__, size); in moxart_dma_desc_size_in_flight()
526 dev_dbg(chan2dev(&ch->vc.chan), "%s\n", __func__); in moxart_dma_interrupt()
534 dev_dbg(chan2dev(&ch->vc.chan), "%s: ch=%p ch->base=%p ctrl=%x\n", in moxart_dma_interrupt()
Dsun6i-dma.c215 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
399 dev_dbg(chan2dev(&vchan->vc.chan), in sun6i_dma_dump_lli()
659 dev_dbg(chan2dev(chan), in sun6i_dma_prep_dma_memcpy()
720 dev_err(chan2dev(chan), "Invalid DMA configuration\n"); in sun6i_dma_prep_slave_sg()
744 dev_dbg(chan2dev(chan), in sun6i_dma_prep_slave_sg()
758 dev_dbg(chan2dev(chan), in sun6i_dma_prep_slave_sg()
768 dev_dbg(chan2dev(chan), "First: %pad\n", &txd->p_lli); in sun6i_dma_prep_slave_sg()
803 dev_err(chan2dev(chan), "Invalid DMA configuration\n"); in sun6i_dma_prep_dma_cyclic()
870 dev_dbg(chan2dev(chan), "vchan %p: pause\n", &vchan->vc); in sun6i_dma_pause()
891 dev_dbg(chan2dev(chan), "vchan %p: resume\n", &vchan->vc); in sun6i_dma_resume()
[all …]
Dowl-dma.c295 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
576 dev_dbg(chan2dev(&vchan->vc.chan), "starting pchan %d\n", pchan->id); in owl_dma_start_next_txd()
760 dev_dbg(chan2dev(chan), "vchan %p: resume\n", &vchan->vc); in owl_dma_resume()
891 dev_warn(chan2dev(chan), "failed to allocate lli\n"); in owl_dma_prep_memcpy()
901 dev_warn(chan2dev(chan), "failed to config lli\n"); in owl_dma_prep_memcpy()
950 dev_err(chan2dev(chan), "failed to allocate lli"); in owl_dma_prep_slave_sg()
965 dev_warn(chan2dev(chan), "failed to config lli"); in owl_dma_prep_slave_sg()
1006 dev_warn(chan2dev(chan), "failed to allocate lli"); in owl_prep_dma_cyclic()
1021 dev_warn(chan2dev(chan), "failed to config lli"); in owl_prep_dma_cyclic()
Dsun4i-dma.c198 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
351 dev_dbg(chan2dev(&vchan->vc.chan), in __execute_vchan_pending()
361 dev_dbg(chan2dev(&vchan->vc.chan), in __execute_vchan_pending()
372 dev_dbg(chan2dev(&vchan->vc.chan), in __execute_vchan_pending()
464 dev_dbg(chan2dev(chan), in generate_ndma_promise()
686 dev_err(chan2dev(chan), "Invalid DMA direction\n"); in sun4i_dma_prep_dma_cyclic()
810 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
506 idma64c->pool = dma_pool_create(dev_name(chan2dev(chan)), in idma64_alloc_chan_resources()
510 dev_err(chan2dev(chan), "No memory for descriptors\n"); in idma64_alloc_chan_resources()
Dste_dma40.c628 static struct device *chan2dev(struct d40_chan *d40c) in chan2dev() function
653 d40_err(chan2dev(d40c), format, ## arg)
1248 dev_dbg(chan2dev(d40c), in __d40_config_set_event()
1932 dev_err(chan2dev(d40c), in d40_allocate_channel()
1941 dev_err(chan2dev(d40c), in d40_allocate_channel()
2457 dev_dbg(chan2dev(d40c), "allocated %s channel (phy %d%s)\n", in d40_alloc_chan_resources()
/linux-6.6.21/drivers/dma/dw/
Dcore.c43 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
71 dev_vdbg(chan2dev(tx->chan), "%s: queued %u\n", in dwc_tx_submit()
129 dev_err(chan2dev(&dwc->chan), in dwc_dump_chan_regs()
179 dev_err(chan2dev(&dwc->chan), in dwc_dostart()
192 dev_err(chan2dev(&dwc->chan), in dwc_dostart()
225 dev_vdbg(chan2dev(&dwc->chan), "%s: started %u\n", __func__, desc->txd.cookie); in dwc_dostart_first_queued()
240 dev_vdbg(chan2dev(&dwc->chan), "descriptor %u complete\n", txd->cookie); in dwc_descriptor_complete()
267 dev_err(chan2dev(&dwc->chan), in dwc_complete_all()
355 dev_vdbg(chan2dev(&dwc->chan), "%s: soft LLP mode\n", __func__); in dwc_scan_descriptors()
360 dev_vdbg(chan2dev(&dwc->chan), "%s: llp=%pad\n", __func__, &llp); in dwc_scan_descriptors()
[all …]
/linux-6.6.21/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c271 dev_err(chan2dev(chan), "%s: not enough descriptors available\n", in axi_desc_get()
297 dev_vdbg(chan2dev(chan), "%s: %d descs put, %d still allocated\n", in axi_desc_put()
385 dev_err(chan2dev(chan), "%s is non-idle!\n", in axi_chan_block_xfer_start()
446 dev_vdbg(chan2dev(chan), "%s: started %u\n", axi_chan_name(chan), in axi_chan_start_first_queued()
475 dev_err(chan2dev(chan), "%s is non-idle!\n", in dma_chan_alloc_chan_resources()
481 chan->desc_pool = dma_pool_create(dev_name(chan2dev(chan)), in dma_chan_alloc_chan_resources()
486 dev_err(chan2dev(chan), "No memory for descriptors\n"); in dma_chan_alloc_chan_resources()
885 dev_dbg(chan2dev(chan), "%s: memcpy: src: %pad dst: %pad length: %zd flags: %#lx", in dma_chan_prep_dma_memcpy()
1026 dev_err(chan2dev(chan), "BUG: %s, IRQ with no descriptors\n", in axi_chan_handle_err()
1034 dev_err(chan2dev(chan), in axi_chan_handle_err()
[all …]
Ddw-axi-dmac.h125 static inline struct device *chan2dev(struct axi_dma_chan *chan) in chan2dev() function
/linux-6.6.21/drivers/dma/dw-edma/
Ddw-edma-core.c32 struct device *chan2dev(struct dw_edma_chan *chan) in chan2dev() function