Home
last modified time | relevance | path

Searched refs:prodidx (Results 1 – 3 of 3) sorted by relevance

/dragonfly/sys/dev/netif/ti/
H A Dif_ti.c1909 uint32_t prodidx = 0; in ti_start() local
1914 prodidx = CSR_READ_4(sc, TI_MB_SENDPROD_IDX); in ti_start()
1917 while(sc->ti_cdata.ti_tx_chain[prodidx] == NULL) { in ti_start()
1945 if (ti_encap(sc, m_head, &prodidx)) { in ti_start()
1959 CSR_WRITE_4(sc, TI_MB_SENDPROD_IDX, prodidx); in ti_start()
/dragonfly/sys/dev/netif/bge/
H A Dif_bge.c3638 bge_xmit(struct bge_softc *sc, uint32_t prodidx) in bge_xmit() argument
3641 bge_writembx(sc, BGE_MBX_TX_HOST_PROD0_LO, prodidx); in bge_xmit()
3644 bge_writembx(sc, BGE_MBX_TX_HOST_PROD0_LO, prodidx); in bge_xmit()
3656 uint32_t prodidx; in bge_start() local
3664 prodidx = sc->bge_tx_prodidx; in bge_start()
3666 while (sc->bge_cdata.bge_tx_chain[prodidx] == NULL) { in bge_start()
3712 if (bge_encap(sc, &m_head, &prodidx, &nsegs)) { in bge_start()
3719 bge_xmit(sc, prodidx); in bge_start()
3732 bge_xmit(sc, prodidx); in bge_start()
3733 sc->bge_tx_prodidx = prodidx; in bge_start()
/dragonfly/sys/dev/netif/bnx/
H A Dif_bnx.c3527 uint32_t prodidx; in bnx_start() local
3536 prodidx = txr->bnx_tx_prodidx; in bnx_start()
3538 while (txr->bnx_tx_buf[prodidx].bnx_tx_mbuf == NULL) { in bnx_start()
3560 if (bnx_encap(txr, &m_head, &prodidx, &nsegs)) { in bnx_start()
3568 bnx_writembx(txr->bnx_sc, txr->bnx_tx_mbx, prodidx); in bnx_start()
3582 bnx_writembx(txr->bnx_sc, txr->bnx_tx_mbx, prodidx); in bnx_start()
3584 txr->bnx_tx_prodidx = prodidx; in bnx_start()