| /linux/drivers/dma/ |
| H A D | at_xdmac.c | 327 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 …]
|
| H A D | at_hdmac.c | 384 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function 394 dev_err(chan2dev(&atchan->vc.chan), in vdbg_dump_regs() 400 dev_err(chan2dev(&atchan->vc.chan), in vdbg_dump_regs() 415 dev_crit(chan2dev(&atchan->vc.chan), in atc_dump_lli() 793 dev_crit(chan2dev(&atchan->vc.chan), "Bad descriptor submitted for DMA!\n"); in atc_handle_error() 794 dev_crit(chan2dev(&atchan->vc.chan), "cookie: %d\n", in atc_handle_error() 889 dev_info(chan2dev(chan), in atc_prep_dma_interleaved() 906 dev_err(chan2dev(chan), in atc_prep_dma_interleaved() 919 dev_err(chan2dev(chan), "%s: buffer is too big\n", __func__); in atc_prep_dma_interleaved() 986 dev_dbg(chan2dev(chan), "prep_dma_memcpy: d%pad s%pad l0x%zx f0x%lx\n", in atc_prep_dma_memcpy() [all …]
|
| H A D | loongson1-apb-dma.c | 92 static inline struct device *chan2dev(struct dma_chan *chan) in chan2dev() function 110 dev_err(chan2dev(dchan), "failed to query DMA\n"); in ls1x_dma_query() 119 struct device *dev = chan2dev(dchan); in ls1x_dma_start() 146 struct device *dev = chan2dev(dchan); in ls1x_dma_free_chan_resources() 159 struct device *dev = chan2dev(dchan); in ls1x_dma_alloc_chan_resources() 222 struct device *dev = chan2dev(dchan); in ls1x_dma_prep_lli() 302 dev_dbg(chan2dev(dchan), "sg_len=%u flags=0x%lx dir=%s\n", in ls1x_dma_prep_slave_sg() 328 dev_dbg(chan2dev(dchan), in ls1x_dma_prep_dma_cyclic() 453 dev_dbg(chan2dev(dchan), "current lli_phys=%pad", in ls1x_dma_tx_status() 492 struct device *dev = chan2dev(dchan); in ls1x_dma_irq_handler()
|
| H A D | ep93xx_dma.c | 254 static inline struct device *chan2dev(struct ep93xx_dma_chan *edmac) in chan2dev() function 419 dev_warn(chan2dev(edmac), "M2P: Not yet IDLE\n"); in m2p_hw_shutdown() 429 dev_warn(chan2dev(edmac), "M2P: empty descriptor list\n"); in m2p_fill_desc() 483 dev_err(chan2dev(edmac), in m2p_hw_interrupt() 590 dev_warn(chan2dev(edmac), "M2M: empty descriptor list\n"); in m2m_fill_desc() 853 dev_warn(chan2dev(edmac), in ep93xx_dma_interrupt() 871 dev_warn(chan2dev(edmac), "unknown interrupt!\n"); in ep93xx_dma_interrupt() 971 dev_warn(chan2dev(edmac), "not enough descriptors\n"); in ep93xx_dma_alloc_chan_resources() 1048 dev_warn(chan2dev(edmac), "couldn't get descriptor\n"); in ep93xx_dma_prep_dma_memcpy() 1095 dev_warn(chan2dev(edmac), in ep93xx_dma_prep_slave_sg() [all …]
|
| H A D | sun4i-dma.c | 249 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function 431 dev_dbg(chan2dev(&vchan->vc.chan), in __execute_vchan_pending() 441 dev_dbg(chan2dev(&vchan->vc.chan), in __execute_vchan_pending() 452 dev_dbg(chan2dev(&vchan->vc.chan), in __execute_vchan_pending() 545 dev_dbg(chan2dev(chan), in generate_ndma_promise() 772 dev_err(chan2dev(chan), "Invalid DMA direction\n"); in sun4i_dma_prep_dma_cyclic() 897 dev_err(chan2dev(chan), "Invalid DMA direction\n"); in sun4i_dma_prep_slave_sg()
|
| H A D | loongson2-apb-dma.c | 164 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function 285 lchan->pool = dma_pool_create(dev_name(chan2dev(chan)), in ls2x_dma_alloc_chan_resources() 289 dev_err(chan2dev(chan), "No memory for descriptors\n"); in ls2x_dma_alloc_chan_resources()
|
| H A D | ste_dma40.c | 626 static struct device *chan2dev(struct d40_chan *d40c) in chan2dev() function 651 d40_err(chan2dev(d40c), format, ## arg) 1246 dev_dbg(chan2dev(d40c), in __d40_config_set_event() 1930 dev_err(chan2dev(d40c), in d40_allocate_channel() 1939 dev_err(chan2dev(d40c), in d40_allocate_channel() 2455 dev_dbg(chan2dev(d40c), "allocated %s channel (phy %d%s)\n", in d40_alloc_chan_resources()
|
| /linux/drivers/dma/stm32/ |
| H A D | stm32-mdma.c | 279 static struct device *chan2dev(struct stm32_mdma_chan *chan) in chan2dev() function 337 dev_err(chan2dev(chan), "Failed to allocate descriptor\n"); in stm32_mdma_alloc_desc() 367 dev_err(chan2dev(chan), "Dma bus width %i not supported\n", in stm32_mdma_get_width() 425 dev_err(chan2dev(chan), "%s: timeout!\n", __func__); in stm32_mdma_disable_chan() 447 dev_dbg(chan2dev(chan), "%s(): clearing interrupt: 0x%08x\n", in stm32_mdma_stop() 516 dev_err(chan2dev(chan), in stm32_mdma_set_xfer_param() 524 dev_err(chan2dev(chan), "burst size must be a power of 2\n"); in stm32_mdma_set_xfer_param() 661 dev_err(chan2dev(chan), "Dma direction is not supported\n"); in stm32_mdma_set_xfer_param() 675 dev_dbg(chan2dev(chan), "hwdesc: %pad\n", &node->hwdesc_phys); in stm32_mdma_dump_hwdesc() 676 dev_dbg(chan2dev(chan), "CTCR: 0x%08x\n", node->hwdesc->ctcr); in stm32_mdma_dump_hwdesc() [all …]
|
| H A D | stm32-dma3.c | 330 static struct device *chan2dev(struct stm32_dma3_chan *chan) in chan2dev() function 338 struct device *dev = chan2dev(chan); in stm32_dma3_chan_dump_reg() 378 dev_dbg(chan2dev(chan), "V\n"); in stm32_dma3_chan_dump_hwdesc() 379 dev_dbg(chan2dev(chan), "[%d]@%pad\n", i, &swdesc->lli[i].hwdesc_addr); in stm32_dma3_chan_dump_hwdesc() 380 dev_dbg(chan2dev(chan), "| C%dTR1: %08x\n", chan->id, hwdesc->ctr1); in stm32_dma3_chan_dump_hwdesc() 381 dev_dbg(chan2dev(chan), "| C%dTR2: %08x\n", chan->id, hwdesc->ctr2); in stm32_dma3_chan_dump_hwdesc() 382 dev_dbg(chan2dev(chan), "| C%dBR1: %08x\n", chan->id, hwdesc->cbr1); in stm32_dma3_chan_dump_hwdesc() 383 dev_dbg(chan2dev(chan), "| C%dSAR: %08x\n", chan->id, hwdesc->csar); in stm32_dma3_chan_dump_hwdesc() 384 dev_dbg(chan2dev(chan), "| C%dDAR: %08x\n", chan->id, hwdesc->cdar); in stm32_dma3_chan_dump_hwdesc() 385 dev_dbg(chan2dev(chan), "| C%dLLR: %08x\n", chan->id, hwdesc->cllr); in stm32_dma3_chan_dump_hwdesc() [all …]
|
| H A D | stm32-dma.c | 251 static struct device *chan2dev(struct stm32_dma_chan *chan) in chan2dev() function 277 dev_err(chan2dev(chan), "Dma bus width not supported\n"); in stm32_dma_get_width() 377 dev_err(chan2dev(chan), "Dma burst size not supported\n"); in stm32_dma_get_burst() 490 dev_dbg(chan2dev(chan), "%s(): clearing interrupt: 0x%08x\n", in stm32_dma_stop() 539 dev_dbg(chan2dev(chan), "SCR: 0x%08x\n", scr); in stm32_dma_dump_reg() 540 dev_dbg(chan2dev(chan), "NDTR: 0x%08x\n", ndtr); in stm32_dma_dump_reg() 541 dev_dbg(chan2dev(chan), "SPAR: 0x%08x\n", spar); in stm32_dma_dump_reg() 542 dev_dbg(chan2dev(chan), "SM0AR: 0x%08x\n", sm0ar); in stm32_dma_dump_reg() 543 dev_dbg(chan2dev(chan), "SM1AR: 0x%08x\n", sm1ar); in stm32_dma_dump_reg() 544 dev_dbg(chan2dev(chan), "SFCR: 0x%08x\n", sfcr); in stm32_dma_dump_reg() [all …]
|
| /linux/drivers/dma/dw/ |
| H A D | core.c | 44 static struct device *chan2dev(struct dma_chan *chan) in chan2dev() function 72 dev_vdbg(chan2dev(tx->chan), "%s: queued %u\n", in dwc_tx_submit() 130 dev_err(chan2dev(&dwc->chan), in dwc_dump_chan_regs() 180 dev_err(chan2dev(&dwc->chan), in dwc_dostart() 193 dev_err(chan2dev(&dwc->chan), in dwc_dostart() 226 dev_vdbg(chan2dev(&dwc->chan), "%s: started %u\n", __func__, desc->txd.cookie); in dwc_dostart_first_queued() 241 dev_vdbg(chan2dev(&dwc->chan), "descriptor %u complete\n", txd->cookie); in dwc_descriptor_complete() 268 dev_err(chan2dev(&dwc->chan), in dwc_complete_all() 356 dev_vdbg(chan2dev(&dwc->chan), "%s: soft LLP mode\n", __func__); in dwc_scan_descriptors() 361 dev_vdbg(chan2dev(&dwc->chan), "%s: llp=%pad\n", __func__, &llp); in dwc_scan_descriptors() [all …]
|