Home
last modified time | relevance | path

Searched refs:tx_chn (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/dma/ti/
Dk3-udma-glue.c115 bool tx_chn) in of_k3_udma_glue_parse_chn() argument
155 if (tx_chn && !(thread_id & K3_PSIL_DST_THREAD_ID_OFFSET)) { in of_k3_udma_glue_parse_chn()
160 if (!tx_chn && (thread_id & K3_PSIL_DST_THREAD_ID_OFFSET)) { in of_k3_udma_glue_parse_chn()
178 if (tx_chn) in of_k3_udma_glue_parse_chn()
188 static void k3_udma_glue_dump_tx_chn(struct k3_udma_glue_tx_channel *tx_chn) in k3_udma_glue_dump_tx_chn() argument
190 struct device *dev = tx_chn->common.dev; in k3_udma_glue_dump_tx_chn()
196 tx_chn->udma_tchan_id, in k3_udma_glue_dump_tx_chn()
197 tx_chn->common.src_thread, in k3_udma_glue_dump_tx_chn()
198 tx_chn->common.dst_thread); in k3_udma_glue_dump_tx_chn()
220 static int k3_udma_glue_cfg_tx_chn(struct k3_udma_glue_tx_channel *tx_chn) in k3_udma_glue_cfg_tx_chn() argument
[all …]
/linux-6.1.9/include/linux/dma/
Dk3-udma-glue.h29 void k3_udma_glue_release_tx_chn(struct k3_udma_glue_tx_channel *tx_chn);
30 int k3_udma_glue_push_tx_chn(struct k3_udma_glue_tx_channel *tx_chn,
33 int k3_udma_glue_pop_tx_chn(struct k3_udma_glue_tx_channel *tx_chn,
35 int k3_udma_glue_enable_tx_chn(struct k3_udma_glue_tx_channel *tx_chn);
36 void k3_udma_glue_disable_tx_chn(struct k3_udma_glue_tx_channel *tx_chn);
37 void k3_udma_glue_tdown_tx_chn(struct k3_udma_glue_tx_channel *tx_chn,
39 void k3_udma_glue_reset_tx_chn(struct k3_udma_glue_tx_channel *tx_chn,
41 u32 k3_udma_glue_tx_get_hdesc_size(struct k3_udma_glue_tx_channel *tx_chn);
42 u32 k3_udma_glue_tx_get_txcq_id(struct k3_udma_glue_tx_channel *tx_chn);
43 int k3_udma_glue_tx_get_irq(struct k3_udma_glue_tx_channel *tx_chn);
[all …]
/linux-6.1.9/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c279 struct am65_cpsw_tx_chn *tx_chn; in am65_cpsw_nuss_ndo_host_tx_timeout() local
284 tx_chn = &common->tx_chns[txqueue]; in am65_cpsw_nuss_ndo_host_tx_timeout()
292 k3_cppi_desc_pool_avail(tx_chn->desc_pool)); in am65_cpsw_nuss_ndo_host_tx_timeout()
451 ret = k3_udma_glue_enable_tx_chn(common->tx_chns[i].tx_chn); in am65_cpsw_nuss_common_open()
487 k3_udma_glue_tdown_tx_chn(common->tx_chns[i].tx_chn, false); in am65_cpsw_nuss_common_stop()
497 k3_udma_glue_reset_tx_chn(common->tx_chns[i].tx_chn, in am65_cpsw_nuss_common_stop()
500 k3_udma_glue_disable_tx_chn(common->tx_chns[i].tx_chn); in am65_cpsw_nuss_common_stop()
807 static void am65_cpsw_nuss_xmit_free(struct am65_cpsw_tx_chn *tx_chn, in am65_cpsw_nuss_xmit_free() argument
818 k3_udma_glue_tx_cppi5_to_dma_addr(tx_chn->tx_chn, &buf_dma); in am65_cpsw_nuss_xmit_free()
820 dma_unmap_single(tx_chn->dma_dev, buf_dma, buf_dma_len, DMA_TO_DEVICE); in am65_cpsw_nuss_xmit_free()
[all …]
Dam65-cpsw-nuss.h71 struct k3_udma_glue_tx_channel *tx_chn; member
/linux-6.1.9/Documentation/devicetree/bindings/spi/
Dspi-sprd.txt29 dma-names = "rx_chn", "tx_chn";
/linux-6.1.9/Documentation/devicetree/bindings/dma/
Dsprd-dma.txt41 dma-names = "rx_chn", "tx_chn";