Lines Matching refs:rx_flush
189 struct udma_rx_flush rx_flush; member
648 return uc->ud->rx_flush.hwdescs[uc->config.pkt_mode].cppi5_desc_paddr; in udma_get_rx_flush_hwdesc_paddr()
5149 struct udma_rx_flush *rx_flush = &ud->rx_flush; in udma_setup_rx_flush() local
5158 rx_flush->buffer_size = SZ_1K; in udma_setup_rx_flush()
5159 rx_flush->buffer_vaddr = devm_kzalloc(dev, rx_flush->buffer_size, in udma_setup_rx_flush()
5161 if (!rx_flush->buffer_vaddr) in udma_setup_rx_flush()
5164 rx_flush->buffer_paddr = dma_map_single(dev, rx_flush->buffer_vaddr, in udma_setup_rx_flush()
5165 rx_flush->buffer_size, in udma_setup_rx_flush()
5167 if (dma_mapping_error(dev, rx_flush->buffer_paddr)) in udma_setup_rx_flush()
5171 hwdesc = &rx_flush->hwdescs[0]; in udma_setup_rx_flush()
5203 tr_req->addr = rx_flush->buffer_paddr; in udma_setup_rx_flush()
5204 tr_req->icnt0 = rx_flush->buffer_size; in udma_setup_rx_flush()
5211 hwdesc = &rx_flush->hwdescs[1]; in udma_setup_rx_flush()
5234 rx_flush->buffer_paddr, rx_flush->buffer_size, in udma_setup_rx_flush()
5235 rx_flush->buffer_paddr, rx_flush->buffer_size); in udma_setup_rx_flush()