Lines Matching full:rx_data
88 struct rtwn_rx_data *rx_data = &ring->rx_data[ring->cur]; in rtwn_pci_rx_frame() local
133 bus_dmamap_sync(ring->data_dmat, rx_data->map, BUS_DMASYNC_POSTREAD); in rtwn_pci_rx_frame()
134 bus_dmamap_unload(ring->data_dmat, rx_data->map); in rtwn_pci_rx_frame()
136 error = bus_dmamap_load(ring->data_dmat, rx_data->map, mtod(m1, void *), in rtwn_pci_rx_frame()
137 MJUMPAGESIZE, rtwn_pci_dma_map_addr, &rx_data->paddr, 0); in rtwn_pci_rx_frame()
141 error = bus_dmamap_load(ring->data_dmat, rx_data->map, in rtwn_pci_rx_frame()
142 mtod(rx_data->m, void *), MJUMPAGESIZE, in rtwn_pci_rx_frame()
143 rtwn_pci_dma_map_addr, &rx_data->paddr, BUS_DMA_NOWAIT); in rtwn_pci_rx_frame()
152 m = rx_data->m; in rtwn_pci_rx_frame()
153 rx_data->m = m1; in rtwn_pci_rx_frame()
184 struct rtwn_rx_data *rx_data = &ring->rx_data[ring->cur]; in rtwn_pci_rx_buf_copy() local
207 bus_dmamap_sync(ring->data_dmat, rx_data->map, BUS_DMASYNC_POSTREAD); in rtwn_pci_rx_buf_copy()
208 memcpy(pc->pc_rx_buf + desc_size, mtod(rx_data->m, void *), pktlen); in rtwn_pci_rx_buf_copy()
323 struct rtwn_rx_data *rx_data; in rtwn_pci_rx_done() local
330 rx_data = &ring->rx_data[ring->cur]; in rtwn_pci_rx_done()
354 rtwn_pci_setup_rx_desc(pc, rx_desc, rx_data->paddr, in rtwn_pci_rx_done()