Lines Matching refs:chan2dev
300 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()
678 dev_dbg(chan2dev(chan), "CBNDTR: 0x%08x\n", node->hwdesc->cbndtr); in stm32_mdma_dump_hwdesc()
679 dev_dbg(chan2dev(chan), "CSAR: 0x%08x\n", node->hwdesc->csar); in stm32_mdma_dump_hwdesc()
680 dev_dbg(chan2dev(chan), "CDAR: 0x%08x\n", node->hwdesc->cdar); in stm32_mdma_dump_hwdesc()
681 dev_dbg(chan2dev(chan), "CBRUR: 0x%08x\n", node->hwdesc->cbrur); in stm32_mdma_dump_hwdesc()
682 dev_dbg(chan2dev(chan), "CLAR: 0x%08x\n", node->hwdesc->clar); in stm32_mdma_dump_hwdesc()
683 dev_dbg(chan2dev(chan), "CTBR: 0x%08x\n", node->hwdesc->ctbr); in stm32_mdma_dump_hwdesc()
684 dev_dbg(chan2dev(chan), "CMAR: 0x%08x\n", node->hwdesc->cmar); in stm32_mdma_dump_hwdesc()
685 dev_dbg(chan2dev(chan), "CMDR: 0x%08x\n\n", node->hwdesc->cmdr); in stm32_mdma_dump_hwdesc()
739 dev_err(chan2dev(chan), "Invalid block len\n"); in stm32_mdma_setup_xfer()
794 dev_err(chan2dev(chan), in stm32_mdma_prep_slave_sg()
839 dev_err(chan2dev(chan), in stm32_mdma_prep_dma_cyclic()
845 dev_err(chan2dev(chan), "Invalid buffer/period len\n"); in stm32_mdma_prep_dma_cyclic()
850 dev_err(chan2dev(chan), "buf_len not multiple of period_len\n"); in stm32_mdma_prep_dma_cyclic()
931 dev_err(chan2dev(chan), in stm32_mdma_prep_dma_memcpy()
1093 dev_dbg(chan2dev(chan), "CCR: 0x%08x\n", in stm32_mdma_dump_reg()
1095 dev_dbg(chan2dev(chan), "CTCR: 0x%08x\n", in stm32_mdma_dump_reg()
1097 dev_dbg(chan2dev(chan), "CBNDTR: 0x%08x\n", in stm32_mdma_dump_reg()
1099 dev_dbg(chan2dev(chan), "CSAR: 0x%08x\n", in stm32_mdma_dump_reg()
1101 dev_dbg(chan2dev(chan), "CDAR: 0x%08x\n", in stm32_mdma_dump_reg()
1103 dev_dbg(chan2dev(chan), "CBRUR: 0x%08x\n", in stm32_mdma_dump_reg()
1105 dev_dbg(chan2dev(chan), "CLAR: 0x%08x\n", in stm32_mdma_dump_reg()
1107 dev_dbg(chan2dev(chan), "CTBR: 0x%08x\n", in stm32_mdma_dump_reg()
1109 dev_dbg(chan2dev(chan), "CMAR: 0x%08x\n", in stm32_mdma_dump_reg()
1111 dev_dbg(chan2dev(chan), "CMDR: 0x%08x\n", in stm32_mdma_dump_reg()
1164 dev_dbg(chan2dev(chan), "vchan %pK: started\n", &chan->vchan); in stm32_mdma_start_transfer()
1177 dev_dbg(chan2dev(chan), "vchan %pK: issued\n", &chan->vchan); in stm32_mdma_issue_pending()
1197 dev_dbg(chan2dev(chan), "vchan %pK: pause\n", &chan->vchan); in stm32_mdma_pause()
1234 dev_dbg(chan2dev(chan), "vchan %pK: resume\n", &chan->vchan); in stm32_mdma_resume()
1384 dev_dbg(chan2dev(chan), in stm32_mdma_irq_handler()
1397 dev_err(chan2dev(chan), "Transfer Err: stat=0x%08x\n", status); in stm32_mdma_irq_handler()
1425 dev_err(chan2dev(chan), "it %d unhandled (status=0x%04x)\n", in stm32_mdma_irq_handler()
1447 dev_err(chan2dev(chan), "failed to allocate descriptor pool\n"); in stm32_mdma_alloc_chan_resources()
1468 dev_dbg(chan2dev(chan), "Freeing channel %d\n", chan->id); in stm32_mdma_free_chan_resources()