| /freebsd-12-stable/sys/dev/xl/ |
| D | if_xl.c | 1996 struct xl_chain *cur_tx; in xl_txeof() local 2011 cur_tx = sc->xl_cdata.xl_tx_head; in xl_txeof() 2016 sc->xl_cdata.xl_tx_head = cur_tx->xl_next; in xl_txeof() 2017 bus_dmamap_sync(sc->xl_mtag, cur_tx->xl_map, in xl_txeof() 2019 bus_dmamap_unload(sc->xl_mtag, cur_tx->xl_map); in xl_txeof() 2020 m_freem(cur_tx->xl_mbuf); in xl_txeof() 2021 cur_tx->xl_mbuf = NULL; in xl_txeof() 2025 cur_tx->xl_next = sc->xl_cdata.xl_tx_free; in xl_txeof() 2026 sc->xl_cdata.xl_tx_free = cur_tx; in xl_txeof() 2045 struct xl_chain *cur_tx = NULL; in xl_txeof_90xB() local [all …]
|
| /freebsd-12-stable/sys/dev/wb/ |
| D | if_wb.c | 967 struct wb_chain *cur_tx; local 985 cur_tx = sc->wb_cdata.wb_tx_head; 986 txstat = WB_TXSTATUS(cur_tx); 1002 m_freem(cur_tx->wb_mbuf); 1003 cur_tx->wb_mbuf = NULL; 1011 sc->wb_cdata.wb_tx_head = cur_tx->wb_nextdesc; 1260 struct wb_chain *cur_tx = NULL, *start_tx; local 1282 cur_tx = sc->wb_cdata.wb_tx_free; 1283 sc->wb_cdata.wb_tx_free = cur_tx->wb_nextdesc; 1286 wb_encap(sc, cur_tx, m_head); [all …]
|
| /freebsd-12-stable/sys/dev/tl/ |
| D | if_tl.c | 1513 struct tl_chain *cur_tx; local 1522 cur_tx = sc->tl_cdata.tl_tx_head; 1523 if (!(cur_tx->tl_ptr->tlist_cstat & TL_CSTAT_FRAMECMP)) 1525 sc->tl_cdata.tl_tx_head = cur_tx->tl_next; 1528 m_freem(cur_tx->tl_mbuf); 1529 cur_tx->tl_mbuf = NULL; 1531 cur_tx->tl_next = sc->tl_cdata.tl_tx_free; 1532 sc->tl_cdata.tl_tx_free = cur_tx; 1533 if (!cur_tx->tl_ptr->tlist_fptr) 1887 struct tl_chain *prev = NULL, *cur_tx = NULL, *start_tx; local [all …]
|
| /freebsd-12-stable/sys/dev/my/ |
| D | if_my.c | 1195 struct my_chain *cur_tx; in my_txeof() local 1212 cur_tx = sc->my_cdata.my_tx_head; in my_txeof() 1213 txstat = MY_TXSTATUS(cur_tx); in my_txeof() 1228 m_freem(cur_tx->my_mbuf); in my_txeof() 1229 cur_tx->my_mbuf = NULL; in my_txeof() 1235 sc->my_cdata.my_tx_head = cur_tx->my_nextdesc; in my_txeof() 1406 struct my_chain *cur_tx = NULL, *start_tx; in my_start_locked() local 1428 cur_tx = sc->my_cdata.my_tx_free; in my_start_locked() 1429 sc->my_cdata.my_tx_free = cur_tx->my_nextdesc; in my_start_locked() 1432 my_encap(sc, cur_tx, m_head); in my_start_locked() [all …]
|
| /freebsd-12-stable/sys/dev/lge/ |
| D | if_lge.c | 988 struct lge_tx_desc *cur_tx = NULL; local 1005 cur_tx = &sc->lge_ldata->lge_tx_list[idx]; 1008 if (cur_tx->lge_mbuf != NULL) { 1009 m_freem(cur_tx->lge_mbuf); 1010 cur_tx->lge_mbuf = NULL; 1012 cur_tx->lge_ctl = 0; 1021 if (cur_tx != NULL) 1133 struct lge_tx_desc *cur_tx; local 1143 cur_tx = &sc->lge_ldata->lge_tx_list[*txidx]; 1149 f = &cur_tx->lge_frags[frag]; [all …]
|
| /freebsd-12-stable/sys/dev/ste/ |
| D | if_ste.c | 768 struct ste_chain *cur_tx; in ste_txeof() local 784 cur_tx = &sc->ste_cdata.ste_tx_chain[idx]; in ste_txeof() 785 txstat = le32toh(cur_tx->ste_ptr->ste_ctl); in ste_txeof() 788 bus_dmamap_sync(sc->ste_cdata.ste_tx_tag, cur_tx->ste_map, in ste_txeof() 790 bus_dmamap_unload(sc->ste_cdata.ste_tx_tag, cur_tx->ste_map); in ste_txeof() 791 KASSERT(cur_tx->ste_mbuf != NULL, in ste_txeof() 793 m_freem(cur_tx->ste_mbuf); in ste_txeof() 794 cur_tx->ste_mbuf = NULL; in ste_txeof() 1624 struct ste_chain *cur_tx; in ste_stop() local 1678 cur_tx = &sc->ste_cdata.ste_tx_chain[i]; in ste_stop() [all …]
|
| /freebsd-12-stable/sys/dev/tx/ |
| D | if_tx.c | 663 buf = sc->tx_buffer + sc->cur_tx; in epic_ifstart_locked() 664 desc = sc->tx_desc + sc->cur_tx; in epic_ifstart_locked() 665 flist = sc->tx_flist + sc->cur_tx; in epic_ifstart_locked() 709 sc->cur_tx = (sc->cur_tx + 1) & TX_RING_MASK; in epic_ifstart_locked() 1492 desc = sc->tx_desc + sc->cur_tx; in epic_queue_last_packet() 1493 flist = sc->tx_flist + sc->cur_tx; in epic_queue_last_packet() 1494 buf = sc->tx_buffer + sc->cur_tx; in epic_queue_last_packet() 1521 sc->cur_tx = (sc->cur_tx + 1) & TX_RING_MASK; in epic_queue_last_packet() 1631 sc->cur_rx = sc->cur_tx = sc->dirty_tx = sc->pending_txs = 0; in epic_init_rings()
|
| D | if_txvar.h | 110 u_int32_t cur_tx; member
|
| /freebsd-12-stable/sys/dev/rl/ |
| D | if_rlreg.h | 599 uint8_t cur_tx; member 603 #define RL_CUR_TXADDR(x) ((x->rl_cdata.cur_tx * 4) + RL_TXADDR0) 604 #define RL_CUR_TXSTAT(x) ((x->rl_cdata.cur_tx * 4) + RL_TXSTAT0) 605 #define RL_CUR_TXMBUF(x) (x->rl_cdata.rl_tx_chain[x->rl_cdata.cur_tx]) 606 #define RL_CUR_DMAMAP(x) (x->rl_cdata.rl_tx_dmamap[x->rl_cdata.cur_tx])
|
| D | if_rl.c | 1075 sc->rl_cdata.cur_tx = 0; in rl_list_tx_init() 1292 } while (sc->rl_cdata.last_tx != sc->rl_cdata.cur_tx); in rl_txeof() 1659 RL_INC(sc->rl_cdata.cur_tx); in rl_start_locked()
|
| /freebsd-12-stable/sys/dev/pcn/ |
| D | if_pcn.c | 905 struct pcn_tx_desc *cur_tx = NULL; local 917 cur_tx = &sc->pcn_ldata->pcn_tx_list[idx]; 919 if (!PCN_OWN_TXDESC(cur_tx)) 922 if (!(cur_tx->pcn_txctl & PCN_TXCTL_ENP)) { 928 if (cur_tx->pcn_txctl & PCN_TXCTL_ERR) { 930 if (cur_tx->pcn_txstat & PCN_TXSTAT_EXDEF) 932 if (cur_tx->pcn_txstat & PCN_TXSTAT_RTRY) 937 cur_tx->pcn_txstat & PCN_TXSTAT_TRC);
|
| /freebsd-12-stable/sys/mips/atheros/ar531x/ |
| D | if_are.c | 1480 struct are_desc *cur_tx; in are_tx() local 1502 cur_tx = &sc->are_rdata.are_tx_ring[cons]; in are_tx() 1503 ctl = cur_tx->are_stat; in are_tx() 1504 devcs = cur_tx->are_devcs; in are_tx() 1530 cur_tx->are_stat = 0; in are_tx() 1531 cur_tx->are_devcs = 0; in are_tx() 1532 cur_tx->are_addr = 0; in are_tx()
|
| /freebsd-12-stable/sys/arm/ralink/ |
| D | if_fv.c | 1562 struct fv_desc *cur_tx; in fv_tx() local 1585 cur_tx = &sc->fv_rdata.fv_tx_ring[cons]; in fv_tx() 1586 ctl = cur_tx->fv_stat; in fv_tx() 1587 devcs = cur_tx->fv_devcs; in fv_tx() 1613 cur_tx->fv_stat = 0; in fv_tx() 1614 cur_tx->fv_devcs = 0; in fv_tx() 1615 cur_tx->fv_addr = 0; in fv_tx()
|
| /freebsd-12-stable/sys/dev/vr/ |
| D | if_vr.c | 1432 struct vr_desc *cur_tx; in vr_txeof() local 1454 cur_tx = &sc->vr_rdata.vr_tx_ring[cons]; in vr_txeof() 1455 txctl = le32toh(cur_tx->vr_ctl); in vr_txeof() 1456 txstat = le32toh(cur_tx->vr_status); in vr_txeof() 1501 cur_tx->vr_status = htole32(VR_TXSTAT_OWN); in vr_txeof()
|
| /freebsd-12-stable/sys/mips/atheros/ |
| D | if_arge.c | 2360 struct arge_desc *cur_tx; in arge_tx_locked() local 2386 cur_tx = &sc->arge_rdata.arge_tx_ring[cons]; in arge_tx_locked() 2387 ctrl = cur_tx->packet_ctrl; in arge_tx_locked() 2411 cur_tx->packet_addr = 0; in arge_tx_locked()
|
| /freebsd-12-stable/sys/dev/dc/ |
| D | if_dc.c | 2982 struct dc_desc *cur_tx; in dc_txeof() local 3001 cur_tx = &sc->dc_ldata.dc_tx_list[idx]; in dc_txeof() 3002 txstat = le32toh(cur_tx->dc_status); in dc_txeof() 3003 ctl = le32toh(cur_tx->dc_ctl); in dc_txeof() 3012 cur_tx->dc_ctl = htole32(ctl & ~DC_TXCTL_SETUP); in dc_txeof()
|
| /freebsd-12-stable/sys/dev/sis/ |
| D | if_sis.c | 1569 struct sis_desc *cur_tx; in sis_txeof() local 1588 cur_tx = &sc->sis_tx_list[cons]; in sis_txeof() 1589 txstat = le32toh(cur_tx->sis_cmdsts); in sis_txeof()
|
| /freebsd-12-stable/sys/dev/nge/ |
| D | if_nge.c | 1618 struct nge_desc *cur_tx; in nge_txeof() local 1641 cur_tx = &sc->nge_rdata.nge_tx_ring[cons]; in nge_txeof() 1642 cmdsts = le32toh(cur_tx->nge_cmdsts); in nge_txeof()
|
| /freebsd-12-stable/sys/dev/vge/ |
| D | if_vge.c | 1607 struct vge_tx_desc *cur_tx; in vge_txeof() local 1630 cur_tx = &sc->vge_rdata.vge_tx_ring[cons]; in vge_txeof() 1631 txstat = le32toh(cur_tx->vge_sts); in vge_txeof()
|
| /freebsd-12-stable/sys/dev/ti/ |
| D | if_ti.c | 2931 struct ti_tx_desc *cur_tx = NULL; in ti_txeof() local 2953 cur_tx = &txdesc; in ti_txeof() 2955 cur_tx = &sc->ti_rdata.ti_tx_ring[idx]; in ti_txeof() 2958 if ((cur_tx->ti_flags & TI_BDFLAG_END) == 0) in ti_txeof()
|
| /freebsd-12-stable/sys/dev/sk/ |
| D | if_sk.c | 2877 struct sk_tx_desc *cur_tx; local 2895 cur_tx = &sc_if->sk_rdata.sk_tx_ring[idx]; 2896 sk_ctl = le32toh(cur_tx->sk_ctl);
|
| /freebsd-12-stable/sys/dev/msk/ |
| D | if_msk.c | 3324 struct msk_tx_desc *cur_tx; in msk_txeof() local 3346 cur_tx = &sc_if->msk_rdata.msk_tx_ring[cons]; in msk_txeof() 3347 control = le32toh(cur_tx->msk_control); in msk_txeof()
|
| /freebsd-12-stable/sys/dev/bge/ |
| D | if_bge.c | 4543 struct bge_tx_bd *cur_tx; in bge_txeof() local 4564 cur_tx = &sc->bge_ldata.bge_tx_ring[idx]; in bge_txeof() 4565 if (cur_tx->bge_flags & BGE_TXBDFLAG_END) in bge_txeof()
|