Lines Matching refs:tdc2dev
264 static inline struct device *tdc2dev(struct tegra_dma_channel *tdc) in tdc2dev() function
297 dev_err(tdc2dev(tdc), "dma_desc alloc failed\n"); in tegra_dma_desc_get()
337 dev_err(tdc2dev(tdc), "sg_req alloc failed\n"); in tegra_dma_sg_req_get()
347 dev_err(tdc2dev(tdc), "Configuration not allowed\n"); in tegra_dma_slave_config()
420 dev_dbg(tdc2dev(tdc), "%s():clearing interrupt\n", __func__); in tegra_dma_stop()
468 dev_err(tdc2dev(tdc), in tegra_dma_configure_for_next()
553 dev_err(tdc2dev(tdc), "Dma is running without req\n"); in handle_continuous_head_request()
566 dev_err(tdc2dev(tdc), "Error in dma transfer, aborting dma\n"); in handle_continuous_head_request()
678 dev_info(tdc2dev(tdc), in tegra_dma_isr()
705 dev_err(tdc2dev(tdc), "No DMA request\n"); in tegra_dma_issue_pending()
750 dev_dbg(tdc2dev(tdc), "%s():handling isr\n", __func__); in tegra_dma_terminate_all()
826 dev_dbg(tdc2dev(tdc), "cookie %d does not found\n", cookie); in tegra_dma_tx_status()
844 dev_warn(tdc2dev(tdc), in get_bus_width()
904 dev_err(tdc2dev(tdc), "Dma direction is not supported\n"); in get_transfer_param()
938 dev_err(tdc2dev(tdc), "dma channel is not configured\n"); in tegra_dma_prep_slave_sg()
942 dev_err(tdc2dev(tdc), "Invalid segment length %d\n", sg_len); in tegra_dma_prep_slave_sg()
967 dev_err(tdc2dev(tdc), "Dma descriptors not available\n"); in tegra_dma_prep_slave_sg()
986 dev_err(tdc2dev(tdc), in tegra_dma_prep_slave_sg()
994 dev_err(tdc2dev(tdc), "Dma sg-req not available\n"); in tegra_dma_prep_slave_sg()
1028 dev_err(tdc2dev(tdc), "DMA configured in cyclic mode\n"); in tegra_dma_prep_slave_sg()
1054 dev_err(tdc2dev(tdc), "Invalid buffer/period len\n"); in tegra_dma_prep_dma_cyclic()
1059 dev_err(tdc2dev(tdc), "DMA slave is not configured\n"); in tegra_dma_prep_dma_cyclic()
1070 dev_err(tdc2dev(tdc), "Request not allowed when dma running\n"); in tegra_dma_prep_dma_cyclic()
1079 dev_err(tdc2dev(tdc), "buf_len is not multiple of period_len\n"); in tegra_dma_prep_dma_cyclic()
1086 dev_err(tdc2dev(tdc), "Req len/mem address is not correct\n"); in tegra_dma_prep_dma_cyclic()
1110 dev_err(tdc2dev(tdc), "not enough descriptors available\n"); in tegra_dma_prep_dma_cyclic()
1126 dev_err(tdc2dev(tdc), "Dma sg-req not available\n"); in tegra_dma_prep_dma_cyclic()
1161 dev_err(tdc2dev(tdc), "DMA configuration conflict\n"); in tegra_dma_prep_dma_cyclic()
1180 dev_err(tdc2dev(tdc), "clk_prepare_enable failed: %d\n", ret); in tegra_dma_alloc_chan_resources()
1198 dev_dbg(tdc2dev(tdc), "Freeing channel %d\n", tdc->id); in tegra_dma_free_chan_resources()