Searched refs:sge_buf (Results 1 – 2 of 2) sorted by relevance
1822 struct rs_sge sge, *sge_buf; in rs_send_credits() local1842 sge_buf = rs_get_ctrl_buf(rs); in rs_send_credits()1843 memcpy(sge_buf, &sge, sizeof sge); in rs_send_credits()1844 ibsge.addr = (uintptr_t) sge_buf; in rs_send_credits()
6350 struct bxe_sw_rx_bd *sge_buf; in bxe_alloc_rx_sge_mbuf() local6384 sge_buf = &fp->rx_sge_mbuf_chain[index]; in bxe_alloc_rx_sge_mbuf()6387 if (sge_buf->m_map != NULL) { in bxe_alloc_rx_sge_mbuf()6388 bus_dmamap_sync(fp->rx_sge_mbuf_tag, sge_buf->m_map, in bxe_alloc_rx_sge_mbuf()6390 bus_dmamap_unload(fp->rx_sge_mbuf_tag, sge_buf->m_map); in bxe_alloc_rx_sge_mbuf()6394 map = sge_buf->m_map; in bxe_alloc_rx_sge_mbuf()6395 sge_buf->m_map = fp->rx_sge_mbuf_spare_map; in bxe_alloc_rx_sge_mbuf()6397 bus_dmamap_sync(fp->rx_sge_mbuf_tag, sge_buf->m_map, in bxe_alloc_rx_sge_mbuf()6399 sge_buf->m = m; in bxe_alloc_rx_sge_mbuf()