Lines Matching refs:rx_buf

2775     struct bxe_sw_rx_bd *rx_buf;  in bxe_tpa_start()  local
2834 rx_buf = &fp->rx_mbuf_chain[cons]; in bxe_tpa_start()
2836 if (rx_buf->m_map != NULL) { in bxe_tpa_start()
2837 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_tpa_start()
2839 bus_dmamap_unload(fp->rx_mbuf_tag, rx_buf->m_map); in bxe_tpa_start()
3212 struct bxe_sw_rx_bd *rx_buf = NULL; in bxe_rxeof() local
3252 rx_buf = &fp->rx_mbuf_chain[bd_cons]; in bxe_rxeof()
3301 m = rx_buf->m; in bxe_rxeof()
3330 memcpy(&fp->rx_mbuf_chain[bd_prod], rx_buf, in bxe_rxeof()
3332 memset(rx_buf, 0, sizeof(struct bxe_sw_rx_bd)); in bxe_rxeof()
6271 struct bxe_sw_rx_bd *rx_buf; in bxe_alloc_rx_bd_mbuf() local
6309 rx_buf = &fp->rx_mbuf_chain[prev_index]; in bxe_alloc_rx_bd_mbuf()
6311 if (rx_buf->m_map != NULL) { in bxe_alloc_rx_bd_mbuf()
6312 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_alloc_rx_bd_mbuf()
6314 bus_dmamap_unload(fp->rx_mbuf_tag, rx_buf->m_map); in bxe_alloc_rx_bd_mbuf()
6326 rx_buf = &fp->rx_mbuf_chain[index]; in bxe_alloc_rx_bd_mbuf()
6328 if (rx_buf->m_map != NULL) { in bxe_alloc_rx_bd_mbuf()
6329 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_alloc_rx_bd_mbuf()
6331 bus_dmamap_unload(fp->rx_mbuf_tag, rx_buf->m_map); in bxe_alloc_rx_bd_mbuf()
6336 fp->rx_mbuf_chain[prev_index].m_map : rx_buf->m_map; in bxe_alloc_rx_bd_mbuf()
6337 rx_buf->m_map = fp->rx_mbuf_spare_map; in bxe_alloc_rx_bd_mbuf()
6339 bus_dmamap_sync(fp->rx_mbuf_tag, rx_buf->m_map, in bxe_alloc_rx_bd_mbuf()
6341 rx_buf->m = m; in bxe_alloc_rx_bd_mbuf()