Lines Matching refs:rx_flush
188 struct udma_rx_flush rx_flush; member
646 return uc->ud->rx_flush.hwdescs[uc->config.pkt_mode].cppi5_desc_paddr; in udma_get_rx_flush_hwdesc_paddr()
5038 struct udma_rx_flush *rx_flush = &ud->rx_flush; in udma_setup_rx_flush() local
5047 rx_flush->buffer_size = SZ_1K; in udma_setup_rx_flush()
5048 rx_flush->buffer_vaddr = devm_kzalloc(dev, rx_flush->buffer_size, in udma_setup_rx_flush()
5050 if (!rx_flush->buffer_vaddr) in udma_setup_rx_flush()
5053 rx_flush->buffer_paddr = dma_map_single(dev, rx_flush->buffer_vaddr, in udma_setup_rx_flush()
5054 rx_flush->buffer_size, in udma_setup_rx_flush()
5056 if (dma_mapping_error(dev, rx_flush->buffer_paddr)) in udma_setup_rx_flush()
5060 hwdesc = &rx_flush->hwdescs[0]; in udma_setup_rx_flush()
5092 tr_req->addr = rx_flush->buffer_paddr; in udma_setup_rx_flush()
5093 tr_req->icnt0 = rx_flush->buffer_size; in udma_setup_rx_flush()
5100 hwdesc = &rx_flush->hwdescs[1]; in udma_setup_rx_flush()
5123 rx_flush->buffer_paddr, rx_flush->buffer_size, in udma_setup_rx_flush()
5124 rx_flush->buffer_paddr, rx_flush->buffer_size); in udma_setup_rx_flush()