txbuf
sw_txbuf_t *txbuf;
sw_txbuf_t *txbuf;
txbuf = srp->txbuf;
txbuf_head->item = txbuf;
txbuf++;
sw_txbuf_t *txbuf;
txbuf = kmem_zalloc(BGE_SEND_BUF_MAX*sizeof (*txbuf), KM_SLEEP);
srp->txbuf = txbuf;
bge_slice_chunk(&txbuf->buf, &pbuf, 1,
txbuf++;
kmem_free(srp->txbuf, BGE_SEND_BUF_MAX*sizeof (*srp->txbuf));
srp->txbuf = NULL;
sw_txbuf_t *txbuf;
txbuf = srp->txbuf + array*BGE_SEND_BUF_NUM;
bge_slice_chunk(&txbuf->buf, &area, 1,
txbuf++;
txbuf = srp->txbuf + array*BGE_SEND_BUF_NUM;
txbuf_item->item = txbuf;
txbuf++;
static void bge_send_copy(bge_t *bgep, sw_txbuf_t *txbuf, mblk_t *mp);
bge_send_copy(bge_t *bgep, sw_txbuf_t *txbuf, mblk_t *mp)
txbuf->copy_len = 0;
pbuf = DMA_VPTR(txbuf->buf);
ASSERT(txbuf->copy_len + mblen <=
txbuf->copy_len += mblen;
sw_txbuf_t *txbuf;
txbuf = txbuf_item->item;
ASSERT(txbuf->copy_len != 0);
(void) ddi_dma_sync(txbuf->buf.dma_hdl, 0,
txbuf->copy_len, DDI_DMA_SYNC_FORDEV);
hw_sbd_p->host_buf_addr = txbuf->buf.cookie.dmac_laddress;
hw_sbd_p->len = txbuf->copy_len;
(txbuf->copy_len > ETHERMAX))
sw_txbuf_t *txbuf;
txbuf = txbuf_item->item;
bge_send_copy(bgep, txbuf, mp);
ASSERT(txbuf->copy_len >= sizeof (struct ether_header));
pbuf = DMA_VPTR(txbuf->buf);
txbuf->copy_len -= VLAN_TAGSZ;
struct ipw2100_txb *txbuf;
txbuf = sc->sc_txbufs[bidx];
h = &txbuf->txb_hdr;
(void) memcpy(&txbuf->txb_dat[off], m0->b_rptr, cnt);
uint8_t *addr_4, *txbuf;
txbuf = (uint8_t *)bf->bf_mem;
pfwlen = (uint16_t *)txbuf;
wh1 = (struct ieee80211_frame *)(txbuf + 2);
addr_4 = txbuf + (sizeof (struct ieee80211_frame) + sizeof (uint16_t));
bcopy(m->b_rptr + sizeof (struct ieee80211_frame), txbuf + 32, *pfwlen);
struct txbuf *tbp;
struct txbuf *tbp;
gem_setup_txbuf_copy(struct gem_dev *dp, mblk_t *mp, struct txbuf *tbp)
struct txbuf *tbp_head;
struct txbuf *tbp_tail;
struct txbuf *tbp;
struct txbuf *tbp;
sizeof (struct txbuf) * ((gc)->gc_tx_buf_size) + \
struct txbuf *tbp;
struct txbuf *tbp;
gem_txbuf_free_dma_resources(struct txbuf *tbp)
struct txbuf *tbp;
struct txbuf *txb_next;
struct txbuf *tx_buf;
tidp->txbuf = txp;
txp = tidp->txbuf;
tidp->txbuf = txp;
xnf_txbuf_t *txp = tidp->txbuf;
ASSERT(tidp->txbuf == NULL);
tidp->txbuf = NULL;
xnf_txbuf_t *txp = tidp->txbuf;
ASSERT3P(tidp->txbuf, ==, NULL);
xnf_txbuf_t *txbuf; /* Buffer details. */