Lines Matching refs:ssbdp
58 sw_tx_sbd_t *ssbdp; in nge_tx_recycle_all() local
68 ssbdp = srp->sw_sbds + slot; in nge_tx_recycle_all()
70 DMA_ZERO(ssbdp->desc); in nge_tx_recycle_all()
72 if (ssbdp->mp != NULL) { in nge_tx_recycle_all()
74 for (dmah = ssbdp->mp_hndl.head; dmah != NULL; in nge_tx_recycle_all()
78 freemsg(ssbdp->mp); in nge_tx_recycle_all()
81 NGE_TXSWD_RECYCLE(ssbdp); in nge_tx_recycle_all()
160 sw_tx_sbd_t *ssbdp; in nge_tx_recycle() local
210 ssbdp = &srp->sw_sbds[slot]; in nge_tx_recycle()
211 hw_sbd_p = DMA_VPTR(ssbdp->desc); in nge_tx_recycle()
213 if (ssbdp->flags == HOST_OWN) in nge_tx_recycle()
218 DMA_ZERO(ssbdp->desc); in nge_tx_recycle()
219 if (ssbdp->mp != NULL) { in nge_tx_recycle()
220 ssbdp->mp->b_next = mp; in nge_tx_recycle()
221 mp = ssbdp->mp; in nge_tx_recycle()
223 if (ssbdp->mp_hndl.head != NULL) in nge_tx_recycle()
224 nge_tx_dmah_push(&ssbdp->mp_hndl, &dmah); in nge_tx_recycle()
227 NGE_TXSWD_RECYCLE(ssbdp); in nge_tx_recycle()
362 sw_tx_sbd_t *ssbdp; in nge_send_copy() local
384 ssbdp = &srp->sw_sbds[start_index]; in nge_send_copy()
385 ASSERT(ssbdp->flags == HOST_OWN); in nge_send_copy()
387 txb = DMA_VPTR(ssbdp->pbuf); in nge_send_copy()
398 DMA_SYNC(ssbdp->pbuf, DDI_DMA_SYNC_FORDEV); in nge_send_copy()
402 hw_sbd_p = DMA_VPTR(ssbdp->desc); in nge_send_copy()
404 ngep->desc_attr.txd_fill(hw_sbd_p, &ssbdp->pbuf.cookie, totlen, in nge_send_copy()
408 ssbdp->flags = CONTROLER_OWN; in nge_send_copy()