Lines Matching refs:rx_buf
2751 struct bxe_sw_rx_bd *rx_buf; in bxe_tpa_start() local
2810 rx_buf = &fp->rx_mbuf_chain[cons]; in bxe_tpa_start()
2812 if (rx_buf->m_map != NULL) { in bxe_tpa_start()
2813 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_tpa_start()
2815 bus_dmamap_unload(fp->rx_mbuf_tag, rx_buf->m_map); in bxe_tpa_start()
3186 struct bxe_sw_rx_bd *rx_buf = NULL; in bxe_rxeof() local
3226 rx_buf = &fp->rx_mbuf_chain[bd_cons]; in bxe_rxeof()
3275 m = rx_buf->m; in bxe_rxeof()
3304 memcpy(&fp->rx_mbuf_chain[bd_prod], rx_buf, in bxe_rxeof()
3306 memset(rx_buf, 0, sizeof(struct bxe_sw_rx_bd)); in bxe_rxeof()
6206 struct bxe_sw_rx_bd *rx_buf; in bxe_alloc_rx_bd_mbuf() local
6244 rx_buf = &fp->rx_mbuf_chain[prev_index]; in bxe_alloc_rx_bd_mbuf()
6246 if (rx_buf->m_map != NULL) { in bxe_alloc_rx_bd_mbuf()
6247 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_alloc_rx_bd_mbuf()
6249 bus_dmamap_unload(fp->rx_mbuf_tag, rx_buf->m_map); in bxe_alloc_rx_bd_mbuf()
6261 rx_buf = &fp->rx_mbuf_chain[index]; in bxe_alloc_rx_bd_mbuf()
6263 if (rx_buf->m_map != NULL) { in bxe_alloc_rx_bd_mbuf()
6264 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_alloc_rx_bd_mbuf()
6266 bus_dmamap_unload(fp->rx_mbuf_tag, rx_buf->m_map); in bxe_alloc_rx_bd_mbuf()
6271 fp->rx_mbuf_chain[prev_index].m_map : rx_buf->m_map; in bxe_alloc_rx_bd_mbuf()
6272 rx_buf->m_map = fp->rx_mbuf_spare_map; in bxe_alloc_rx_bd_mbuf()
6274 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_alloc_rx_bd_mbuf()
6276 rx_buf->m = m; in bxe_alloc_rx_bd_mbuf()