Lines Matching refs:tdc2dev
268 static inline struct device *tdc2dev(struct tegra_dma_channel *tdc) in tdc2dev() function
301 dev_err(tdc2dev(tdc), "dma_desc alloc failed\n"); in tegra_dma_desc_get()
341 dev_err(tdc2dev(tdc), "sg_req alloc failed\n"); in tegra_dma_sg_req_get()
351 dev_err(tdc2dev(tdc), "Configuration not allowed\n"); in tegra_dma_slave_config()
440 dev_dbg(tdc2dev(tdc), "%s():clearing interrupt\n", __func__); in tegra_dma_stop()
488 dev_err(tdc2dev(tdc), in tegra_dma_configure_for_next()
573 dev_err(tdc2dev(tdc), "Dma is running without req\n"); in handle_continuous_head_request()
586 dev_err(tdc2dev(tdc), "Error in dma transfer, aborting dma\n"); in handle_continuous_head_request()
696 dev_info(tdc2dev(tdc), in tegra_dma_isr()
723 dev_err(tdc2dev(tdc), "No DMA request\n"); in tegra_dma_issue_pending()
767 dev_dbg(tdc2dev(tdc), "%s():handling isr\n", __func__); in tegra_dma_terminate_all()
843 dev_dbg(tdc2dev(tdc), "cookie %d does not found\n", cookie); in tegra_dma_tx_status()
861 dev_warn(tdc2dev(tdc), in get_bus_width()
921 dev_err(tdc2dev(tdc), "Dma direction is not supported\n"); in get_transfer_param()
954 dev_err(tdc2dev(tdc), "dma channel is not configured\n"); in tegra_dma_prep_slave_sg()
958 dev_err(tdc2dev(tdc), "Invalid segment length %d\n", sg_len); in tegra_dma_prep_slave_sg()
982 dev_err(tdc2dev(tdc), "Dma descriptors not available\n"); in tegra_dma_prep_slave_sg()
1001 dev_err(tdc2dev(tdc), in tegra_dma_prep_slave_sg()
1009 dev_err(tdc2dev(tdc), "Dma sg-req not available\n"); in tegra_dma_prep_slave_sg()
1043 dev_err(tdc2dev(tdc), "DMA configured in cyclic mode\n"); in tegra_dma_prep_slave_sg()
1068 dev_err(tdc2dev(tdc), "Invalid buffer/period len\n"); in tegra_dma_prep_dma_cyclic()
1073 dev_err(tdc2dev(tdc), "DMA slave is not configured\n"); in tegra_dma_prep_dma_cyclic()
1084 dev_err(tdc2dev(tdc), "Request not allowed when dma running\n"); in tegra_dma_prep_dma_cyclic()
1093 dev_err(tdc2dev(tdc), "buf_len is not multiple of period_len\n"); in tegra_dma_prep_dma_cyclic()
1100 dev_err(tdc2dev(tdc), "Req len/mem address is not correct\n"); in tegra_dma_prep_dma_cyclic()
1122 dev_err(tdc2dev(tdc), "not enough descriptors available\n"); in tegra_dma_prep_dma_cyclic()
1138 dev_err(tdc2dev(tdc), "Dma sg-req not available\n"); in tegra_dma_prep_dma_cyclic()
1172 dev_err(tdc2dev(tdc), "DMA configuration conflict\n"); in tegra_dma_prep_dma_cyclic()
1191 dev_err(tdc2dev(tdc), "clk_prepare_enable failed: %d\n", ret); in tegra_dma_alloc_chan_resources()
1209 dev_dbg(tdc2dev(tdc), "Freeing channel %d\n", tdc->id); in tegra_dma_free_chan_resources()