Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/dma/ti/
Dk3-udma-glue.c597 static int k3_udma_glue_cfg_rx_chn(struct k3_udma_glue_rx_channel *rx_chn) in k3_udma_glue_cfg_rx_chn() argument
599 const struct udma_tisci_rm *tisci_rm = rx_chn->common.tisci_rm; in k3_udma_glue_cfg_rx_chn()
611 req.index = rx_chn->udma_rchan_id; in k3_udma_glue_cfg_rx_chn()
612 req.rx_fetch_size = rx_chn->common.hdesc_size >> 2; in k3_udma_glue_cfg_rx_chn()
619 if (!xudma_is_pktdma(rx_chn->common.udmax) && rx_chn->flow_num && in k3_udma_glue_cfg_rx_chn()
620 rx_chn->flow_id_base != rx_chn->udma_rchan_id) { in k3_udma_glue_cfg_rx_chn()
624 req.flowid_start = rx_chn->flow_id_base; in k3_udma_glue_cfg_rx_chn()
625 req.flowid_cnt = rx_chn->flow_num; in k3_udma_glue_cfg_rx_chn()
628 req.rx_atype = rx_chn->common.atype_asel; in k3_udma_glue_cfg_rx_chn()
632 dev_err(rx_chn->common.dev, "rchan%d cfg failed %d\n", in k3_udma_glue_cfg_rx_chn()
[all …]
/Linux-v6.1/include/linux/dma/
Dk3-udma-glue.h112 void k3_udma_glue_release_rx_chn(struct k3_udma_glue_rx_channel *rx_chn);
113 int k3_udma_glue_enable_rx_chn(struct k3_udma_glue_rx_channel *rx_chn);
114 void k3_udma_glue_disable_rx_chn(struct k3_udma_glue_rx_channel *rx_chn);
115 void k3_udma_glue_tdown_rx_chn(struct k3_udma_glue_rx_channel *rx_chn,
117 int k3_udma_glue_push_rx_chn(struct k3_udma_glue_rx_channel *rx_chn,
120 int k3_udma_glue_pop_rx_chn(struct k3_udma_glue_rx_channel *rx_chn,
122 int k3_udma_glue_rx_flow_init(struct k3_udma_glue_rx_channel *rx_chn,
124 u32 k3_udma_glue_rx_flow_get_fdq_id(struct k3_udma_glue_rx_channel *rx_chn,
126 u32 k3_udma_glue_rx_get_flow_id_base(struct k3_udma_glue_rx_channel *rx_chn);
127 int k3_udma_glue_rx_get_irq(struct k3_udma_glue_rx_channel *rx_chn,
[all …]
/Linux-v6.1/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c304 struct am65_cpsw_rx_chn *rx_chn = &common->rx_chns; in am65_cpsw_nuss_rx_push() local
312 desc_rx = k3_cppi_desc_pool_alloc(rx_chn->desc_pool); in am65_cpsw_nuss_rx_push()
317 desc_dma = k3_cppi_desc_pool_virt2dma(rx_chn->desc_pool, desc_rx); in am65_cpsw_nuss_rx_push()
319 buf_dma = dma_map_single(rx_chn->dma_dev, skb->data, pkt_len, in am65_cpsw_nuss_rx_push()
321 if (unlikely(dma_mapping_error(rx_chn->dma_dev, buf_dma))) { in am65_cpsw_nuss_rx_push()
322 k3_cppi_desc_pool_free(rx_chn->desc_pool, desc_rx); in am65_cpsw_nuss_rx_push()
329 k3_udma_glue_rx_dma_to_cppi5_addr(rx_chn->rx_chn, &buf_dma); in am65_cpsw_nuss_rx_push()
334 return k3_udma_glue_push_rx_chn(rx_chn->rx_chn, 0, desc_rx, desc_dma); in am65_cpsw_nuss_rx_push()
448 k3_udma_glue_enable_rx_chn(common->rx_chns.rx_chn); in am65_cpsw_nuss_common_open()
503 k3_udma_glue_tdown_rx_chn(common->rx_chns.rx_chn, true); in am65_cpsw_nuss_common_stop()
[all …]
Dam65-cpsw-nuss.h83 struct k3_udma_glue_rx_channel *rx_chn; member
/Linux-v6.1/Documentation/devicetree/bindings/spi/
Dspi-sprd.txt29 dma-names = "rx_chn", "tx_chn";
/Linux-v6.1/Documentation/devicetree/bindings/dma/
Dsprd-dma.txt41 dma-names = "rx_chn", "tx_chn";