Home
last modified time | relevance | path

Searched refs:txbuf (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/uts/common/io/bge/
H A Dbge_send.c337 static void bge_send_copy(bge_t *bgep, sw_txbuf_t *txbuf, mblk_t *mp);
341 bge_send_copy(bge_t *bgep, sw_txbuf_t *txbuf, mblk_t *mp) in bge_send_copy() argument
347 txbuf->copy_len = 0; in bge_send_copy()
348 pbuf = DMA_VPTR(txbuf->buf); in bge_send_copy()
352 ASSERT(txbuf->copy_len + mblen <= in bge_send_copy()
356 txbuf->copy_len += mblen; in bge_send_copy()
374 sw_txbuf_t *txbuf; in bge_send_serial() local
427 txbuf = txbuf_item->item; in bge_send_serial()
428 ASSERT(txbuf->copy_len != 0); in bge_send_serial()
429 (void) ddi_dma_sync(txbuf->buf.dma_hdl, 0, in bge_send_serial()
[all …]
H A Dbge_main2.c214 sw_txbuf_t *txbuf; in bge_reinit_send_ring() local
252 txbuf = srp->txbuf; in bge_reinit_send_ring()
254 txbuf_head->item = txbuf; in bge_reinit_send_ring()
258 txbuf++; in bge_reinit_send_ring()
2377 sw_txbuf_t *txbuf; local
2420 txbuf = kmem_zalloc(BGE_SEND_BUF_MAX*sizeof (*txbuf), KM_SLEEP);
2425 srp->txbuf = txbuf;
2450 bge_slice_chunk(&txbuf->buf, &pbuf, 1,
2452 txbuf++;
2486 kmem_free(srp->txbuf, BGE_SEND_BUF_MAX*sizeof (*srp->txbuf));
[all …]
H A Dbge_impl.h533 sw_txbuf_t *txbuf; member
/titanic_41/usr/src/uts/common/io/sfe/
H A Dsfe_util.h131 struct txbuf { struct
132 struct txbuf *txb_next; argument
243 struct txbuf *tx_buf;
H A Dsfe_util.c620 struct txbuf *tbp; in gem_alloc_memory()
775 struct txbuf *tbp; in gem_free_memory()
966 gem_txbuf_free_dma_resources(struct txbuf *tbp) in gem_txbuf_free_dma_resources()
987 struct txbuf *tbp; in gem_clean_tx_buf()
1056 struct txbuf *tbp; in gem_reclaim_txbuf()
1220 struct txbuf *tbp; in gem_tx_load_descs_oo()
1254 gem_setup_txbuf_copy(struct gem_dev *dp, mblk_t *mp, struct txbuf *tbp) in gem_setup_txbuf_copy()
1339 struct txbuf *tbp_head; in gem_tx_start_unit()
1340 struct txbuf *tbp_tail; in gem_tx_start_unit()
1435 struct txbuf *tbp; in gem_send_common()
[all …]
/titanic_41/usr/src/uts/common/xen/io/
H A Dxnf.h89 xnf_txbuf_t *txbuf; /* Buffer details. */ member
H A Dxnf.c412 ASSERT(tidp->txbuf == NULL); in txid_get()
427 tidp->txbuf = NULL; in txid_put()
527 txp = tidp->txbuf; in xnf_setup_rings()
1184 tidp->txbuf = txp; in xnf_set_multicast()
1270 txp = tidp->txbuf; in xnf_tx_clean_ring()
1475 tidp->txbuf = txp; in tx_push_packets()
2303 xnf_txbuf_t *txp = tidp->txbuf; in xnf_release_mblks()
/titanic_41/usr/src/uts/common/io/ipw/
H A Dipw2100.c2030 struct ipw2100_txb *txbuf; in ipw2100_send() local
2161 txbuf = sc->sc_txbufs[bidx]; in ipw2100_send()
2189 h = &txbuf->txb_hdr; in ipw2100_send()
2210 (void) memcpy(&txbuf->txb_dat[off], m0->b_rptr, cnt); in ipw2100_send()
/titanic_41/usr/src/uts/common/io/mwl/
H A Dmwl.c2749 uint8_t *addr_4, *txbuf; in mwl_send() local
2823 txbuf = (uint8_t *)bf->bf_mem; in mwl_send()
2833 pfwlen = (uint16_t *)txbuf; in mwl_send()
2835 wh1 = (struct ieee80211_frame *)(txbuf + 2); in mwl_send()
2837 addr_4 = txbuf + (sizeof (struct ieee80211_frame) + sizeof (uint16_t)); in mwl_send()
2839 bcopy(m->b_rptr + sizeof (struct ieee80211_frame), txbuf + 32, *pfwlen); in mwl_send()