Lines Matching refs:chan2dev

301 static struct device *chan2dev(struct stm32_mdma_chan *chan)  in chan2dev()  function
360 dev_err(chan2dev(chan), "Failed to allocate descriptor\n"); in stm32_mdma_alloc_desc()
390 dev_err(chan2dev(chan), "Dma bus width %i not supported\n", in stm32_mdma_get_width()
448 dev_err(chan2dev(chan), "%s: timeout!\n", __func__); in stm32_mdma_disable_chan()
470 dev_dbg(chan2dev(chan), "%s(): clearing interrupt: 0x%08x\n", in stm32_mdma_stop()
539 dev_err(chan2dev(chan), in stm32_mdma_set_xfer_param()
547 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()
679 dev_dbg(chan2dev(chan), "CBNDTR: 0x%08x\n", node->hwdesc->cbndtr); in stm32_mdma_dump_hwdesc()
680 dev_dbg(chan2dev(chan), "CSAR: 0x%08x\n", node->hwdesc->csar); in stm32_mdma_dump_hwdesc()
681 dev_dbg(chan2dev(chan), "CDAR: 0x%08x\n", node->hwdesc->cdar); in stm32_mdma_dump_hwdesc()
682 dev_dbg(chan2dev(chan), "CBRUR: 0x%08x\n", node->hwdesc->cbrur); in stm32_mdma_dump_hwdesc()
683 dev_dbg(chan2dev(chan), "CLAR: 0x%08x\n", node->hwdesc->clar); in stm32_mdma_dump_hwdesc()
684 dev_dbg(chan2dev(chan), "CTBR: 0x%08x\n", node->hwdesc->ctbr); in stm32_mdma_dump_hwdesc()
685 dev_dbg(chan2dev(chan), "CMAR: 0x%08x\n", node->hwdesc->cmar); in stm32_mdma_dump_hwdesc()
686 dev_dbg(chan2dev(chan), "CMDR: 0x%08x\n\n", node->hwdesc->cmdr); in stm32_mdma_dump_hwdesc()
740 dev_err(chan2dev(chan), "Invalid block len\n"); in stm32_mdma_setup_xfer()
795 dev_err(chan2dev(chan), in stm32_mdma_prep_slave_sg()
840 dev_err(chan2dev(chan), in stm32_mdma_prep_dma_cyclic()
846 dev_err(chan2dev(chan), "Invalid buffer/period len\n"); in stm32_mdma_prep_dma_cyclic()
851 dev_err(chan2dev(chan), "buf_len not multiple of period_len\n"); in stm32_mdma_prep_dma_cyclic()
932 dev_err(chan2dev(chan), in stm32_mdma_prep_dma_memcpy()
1094 dev_dbg(chan2dev(chan), "CCR: 0x%08x\n", in stm32_mdma_dump_reg()
1096 dev_dbg(chan2dev(chan), "CTCR: 0x%08x\n", in stm32_mdma_dump_reg()
1098 dev_dbg(chan2dev(chan), "CBNDTR: 0x%08x\n", in stm32_mdma_dump_reg()
1100 dev_dbg(chan2dev(chan), "CSAR: 0x%08x\n", in stm32_mdma_dump_reg()
1102 dev_dbg(chan2dev(chan), "CDAR: 0x%08x\n", in stm32_mdma_dump_reg()
1104 dev_dbg(chan2dev(chan), "CBRUR: 0x%08x\n", in stm32_mdma_dump_reg()
1106 dev_dbg(chan2dev(chan), "CLAR: 0x%08x\n", in stm32_mdma_dump_reg()
1108 dev_dbg(chan2dev(chan), "CTBR: 0x%08x\n", in stm32_mdma_dump_reg()
1110 dev_dbg(chan2dev(chan), "CMAR: 0x%08x\n", in stm32_mdma_dump_reg()
1112 dev_dbg(chan2dev(chan), "CMDR: 0x%08x\n", in stm32_mdma_dump_reg()
1163 dev_dbg(chan2dev(chan), "vchan %pK: started\n", &chan->vchan); in stm32_mdma_start_transfer()
1176 dev_dbg(chan2dev(chan), "vchan %pK: issued\n", &chan->vchan); in stm32_mdma_issue_pending()
1196 dev_dbg(chan2dev(chan), "vchan %pK: pause\n", &chan->vchan); in stm32_mdma_pause()
1233 dev_dbg(chan2dev(chan), "vchan %pK: resume\n", &chan->vchan); in stm32_mdma_resume()
1382 dev_dbg(chan2dev(chan), in stm32_mdma_irq_handler()
1395 dev_err(chan2dev(chan), "Transfer Err: stat=0x%08x\n", status); in stm32_mdma_irq_handler()
1423 dev_err(chan2dev(chan), "it %d unhandled (status=0x%04x)\n", in stm32_mdma_irq_handler()
1445 dev_err(chan2dev(chan), "failed to allocate descriptor pool\n"); in stm32_mdma_alloc_chan_resources()
1466 dev_dbg(chan2dev(chan), "Freeing channel %d\n", chan->id); in stm32_mdma_free_chan_resources()