Home
last modified time | relevance | path

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

/linux-6.1.9/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.c323 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
387 dev_vdbg(chan2dev(&atchan->chan), "%s: desc 0x%p\n", __func__, first); in at_xdmac_start_xfer()
424 dev_vdbg(chan2dev(&atchan->chan), in at_xdmac_start_xfer()
452 dev_vdbg(chan2dev(&atchan->chan), in at_xdmac_start_xfer()
457 dev_vdbg(chan2dev(&atchan->chan), in at_xdmac_start_xfer()
481 dev_vdbg(chan2dev(tx->chan), "%s: atchan 0x%p, add desc 0x%p to xfers_list\n", in at_xdmac_tx_submit()
541 dev_dbg(chan2dev(chan), "%s: chain lld: prev=0x%p, mbr_nda=%pad\n", in at_xdmac_queue_desc()
553 dev_dbg(chan2dev(chan), in at_xdmac_increment_block_count()
609 dev_err(chan2dev(chan), "invalid src maxburst value\n"); in at_xdmac_compute_chan_conf()
615 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()
459 dev_vdbg(chan2dev(&atchan->chan_common), in atc_chain_complete()
502 dev_vdbg(chan2dev(&atchan->chan_common), "advance_work\n"); in atc_advance_work()
559 dev_crit(chan2dev(&atchan->chan_common), in atc_handle_error()
561 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.c280 static struct device *chan2dev(struct stm32_mdma_chan *chan) in chan2dev() function
339 dev_err(chan2dev(chan), "Failed to allocate descriptor\n"); in stm32_mdma_alloc_desc()
369 dev_err(chan2dev(chan), "Dma bus width %i not supported\n", in stm32_mdma_get_width()
427 dev_err(chan2dev(chan), "%s: timeout!\n", __func__); in stm32_mdma_disable_chan()
449 dev_dbg(chan2dev(chan), "%s(): clearing interrupt: 0x%08x\n", in stm32_mdma_stop()
518 dev_err(chan2dev(chan), in stm32_mdma_set_xfer_param()
526 dev_err(chan2dev(chan), "burst size must be a power of 2\n"); in stm32_mdma_set_xfer_param()
663 dev_err(chan2dev(chan), "Dma direction is not supported\n"); in stm32_mdma_set_xfer_param()
677 dev_dbg(chan2dev(chan), "hwdesc: %pad\n", &node->hwdesc_phys); in stm32_mdma_dump_hwdesc()
678 dev_dbg(chan2dev(chan), "CTCR: 0x%08x\n", node->hwdesc->ctcr); in stm32_mdma_dump_hwdesc()
[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()
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.c214 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function
398 dev_dbg(chan2dev(&vchan->vc.chan), in sun6i_dma_dump_lli()
658 dev_dbg(chan2dev(chan), in sun6i_dma_prep_dma_memcpy()
719 dev_err(chan2dev(chan), "Invalid DMA configuration\n"); in sun6i_dma_prep_slave_sg()
743 dev_dbg(chan2dev(chan), in sun6i_dma_prep_slave_sg()
757 dev_dbg(chan2dev(chan), in sun6i_dma_prep_slave_sg()
767 dev_dbg(chan2dev(chan), "First: %pad\n", &txd->p_lli); in sun6i_dma_prep_slave_sg()
802 dev_err(chan2dev(chan), "Invalid DMA configuration\n"); in sun6i_dma_prep_dma_cyclic()
869 dev_dbg(chan2dev(chan), "vchan %p: pause\n", &vchan->vc); in sun6i_dma_pause()
890 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.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
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-6.1.9/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.1.9/drivers/dma/dw-axi-dmac/
Ddw-axi-dmac-platform.c265 dev_err(chan2dev(chan), "%s: not enough descriptors available\n", in axi_desc_get()
291 dev_vdbg(chan2dev(chan), "%s: %d descs put, %d still allocated\n", in axi_desc_put()
381 dev_err(chan2dev(chan), "%s is non-idle!\n", in axi_chan_block_xfer_start()
442 dev_vdbg(chan2dev(chan), "%s: started %u\n", axi_chan_name(chan), in axi_chan_start_first_queued()
471 dev_err(chan2dev(chan), "%s is non-idle!\n", in dma_chan_alloc_chan_resources()
477 chan->desc_pool = dma_pool_create(dev_name(chan2dev(chan)), in dma_chan_alloc_chan_resources()
482 dev_err(chan2dev(chan), "No memory for descriptors\n"); in dma_chan_alloc_chan_resources()
881 dev_dbg(chan2dev(chan), "%s: memcpy: src: %pad dst: %pad length: %zd flags: %#lx", in dma_chan_prep_dma_memcpy()
1022 dev_err(chan2dev(chan), "BUG: %s, IRQ with no descriptors\n", in axi_chan_handle_err()
1030 dev_err(chan2dev(chan), in axi_chan_handle_err()
[all …]
Ddw-axi-dmac.h124 static inline struct device *chan2dev(struct axi_dma_chan *chan) in chan2dev() function
/linux-6.1.9/drivers/dma/dw-edma/
Ddw-edma-core.c31 struct device *chan2dev(struct dw_edma_chan *chan) in chan2dev() function