Lines Matching refs:rx_buf
2768 struct bxe_sw_rx_bd *rx_buf; in bxe_tpa_start() local
2827 rx_buf = &fp->rx_mbuf_chain[cons]; in bxe_tpa_start()
2829 if (rx_buf->m_map != NULL) { in bxe_tpa_start()
2830 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_tpa_start()
2832 bus_dmamap_unload(fp->rx_mbuf_tag, rx_buf->m_map); in bxe_tpa_start()
3203 struct bxe_sw_rx_bd *rx_buf = NULL; in bxe_rxeof() local
3243 rx_buf = &fp->rx_mbuf_chain[bd_cons]; in bxe_rxeof()
3292 m = rx_buf->m; in bxe_rxeof()
3321 memcpy(&fp->rx_mbuf_chain[bd_prod], rx_buf, in bxe_rxeof()
3323 memset(rx_buf, 0, sizeof(struct bxe_sw_rx_bd)); in bxe_rxeof()
6231 struct bxe_sw_rx_bd *rx_buf; in bxe_alloc_rx_bd_mbuf() local
6269 rx_buf = &fp->rx_mbuf_chain[prev_index]; in bxe_alloc_rx_bd_mbuf()
6271 if (rx_buf->m_map != NULL) { in bxe_alloc_rx_bd_mbuf()
6272 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_alloc_rx_bd_mbuf()
6274 bus_dmamap_unload(fp->rx_mbuf_tag, rx_buf->m_map); in bxe_alloc_rx_bd_mbuf()
6286 rx_buf = &fp->rx_mbuf_chain[index]; in bxe_alloc_rx_bd_mbuf()
6288 if (rx_buf->m_map != NULL) { in bxe_alloc_rx_bd_mbuf()
6289 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_alloc_rx_bd_mbuf()
6291 bus_dmamap_unload(fp->rx_mbuf_tag, rx_buf->m_map); in bxe_alloc_rx_bd_mbuf()
6296 fp->rx_mbuf_chain[prev_index].m_map : rx_buf->m_map; in bxe_alloc_rx_bd_mbuf()
6297 rx_buf->m_map = fp->rx_mbuf_spare_map; in bxe_alloc_rx_bd_mbuf()
6299 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_alloc_rx_bd_mbuf()
6301 rx_buf->m = m; in bxe_alloc_rx_bd_mbuf()