Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/dma/ti/
Dk3-udma-glue.c105 bool tx_chn) in of_k3_udma_glue_parse_chn() argument
135 if (tx_chn && !(thread_id & K3_PSIL_DST_THREAD_ID_OFFSET)) { in of_k3_udma_glue_parse_chn()
140 if (!tx_chn && (thread_id & K3_PSIL_DST_THREAD_ID_OFFSET)) { in of_k3_udma_glue_parse_chn()
158 if (tx_chn) in of_k3_udma_glue_parse_chn()
170 static void k3_udma_glue_dump_tx_chn(struct k3_udma_glue_tx_channel *tx_chn) in k3_udma_glue_dump_tx_chn() argument
172 struct device *dev = tx_chn->common.dev; in k3_udma_glue_dump_tx_chn()
178 tx_chn->udma_tchan_id, in k3_udma_glue_dump_tx_chn()
179 tx_chn->common.src_thread, in k3_udma_glue_dump_tx_chn()
180 tx_chn->common.dst_thread); in k3_udma_glue_dump_tx_chn()
202 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 …]
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c327 struct am65_cpsw_tx_chn *tx_chn; in am65_cpsw_nuss_ndo_host_tx_timeout() local
332 tx_chn = &common->tx_chns[txqueue]; in am65_cpsw_nuss_ndo_host_tx_timeout()
340 k3_cppi_desc_pool_avail(tx_chn->desc_pool)); in am65_cpsw_nuss_ndo_host_tx_timeout()
493 ret = k3_udma_glue_enable_tx_chn(common->tx_chns[i].tx_chn); in am65_cpsw_nuss_common_open()
525 k3_udma_glue_tdown_tx_chn(common->tx_chns[i].tx_chn, false); in am65_cpsw_nuss_common_stop()
535 k3_udma_glue_reset_tx_chn(common->tx_chns[i].tx_chn, in am65_cpsw_nuss_common_stop()
538 k3_udma_glue_disable_tx_chn(common->tx_chns[i].tx_chn); in am65_cpsw_nuss_common_stop()
866 static void am65_cpsw_nuss_xmit_free(struct am65_cpsw_tx_chn *tx_chn, in am65_cpsw_nuss_xmit_free() argument
884 next_desc = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, in am65_cpsw_nuss_xmit_free()
893 k3_cppi_desc_pool_free(tx_chn->desc_pool, next_desc); in am65_cpsw_nuss_xmit_free()
[all …]
Dam65-cpsw-nuss.h61 struct k3_udma_glue_tx_channel *tx_chn; member
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/
Dspi-sprd.txt29 dma-names = "rx_chn", "tx_chn";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/dma/
Dsprd-dma.txt38 dma-names = "rx_chn", "tx_chn";