Home
last modified time | relevance | path

Searched refs:txs (Results 1 – 8 of 8) sorted by relevance

/openbsd/src/sys/dev/ic/
Dfxp.c365 FXP_NTXSEG, MCLBYTES, 0, 0, &sc->txs[i].tx_map)) != 0) { in fxp_attach()
370 sc->txs[i].tx_mbuf = NULL; in fxp_attach()
371 sc->txs[i].tx_cb = sc->sc_ctrl->tx_cb + i; in fxp_attach()
372 sc->txs[i].tx_off = offsetof(struct fxp_ctrl, tx_cb[i]); in fxp_attach()
373 sc->txs[i].tx_next = &sc->txs[(i + 1) & FXP_TXCB_MASK]; in fxp_attach()
668 struct fxp_txsw *txs = sc->sc_cbt_prod; in fxp_start() local
682 txs = txs->tx_next; in fxp_start()
688 error = bus_dmamap_load_mbuf(sc->sc_dmat, txs->tx_map, in fxp_start()
695 bus_dmamap_load_mbuf(sc->sc_dmat, txs->tx_map, in fxp_start()
706 txs->tx_mbuf = m0; in fxp_start()
[all …]
Datw.c1226 struct atw_txsoft *txs; in atw_init() local
1313 txs = &sc->sc_txsoft[i]; in atw_init()
1314 txs->txs_mbuf = NULL; in atw_init()
1315 SIMPLEQ_INSERT_TAIL(&sc->sc_txfreeq, txs, txs_q); in atw_init()
2611 struct atw_txsoft *txs; in atw_txdrain() local
2613 while ((txs = SIMPLEQ_FIRST(&sc->sc_txdirtyq)) != NULL) { in atw_txdrain()
2615 if (txs->txs_mbuf != NULL) { in atw_txdrain()
2616 bus_dmamap_unload(sc->sc_dmat, txs->txs_dmamap); in atw_txdrain()
2617 m_freem(txs->txs_mbuf); in atw_txdrain()
2618 txs->txs_mbuf = NULL; in atw_txdrain()
[all …]
Dfxpvar.h131 struct fxp_txsw txs[FXP_NTXCB]; member
171 #define FXP_TXCB_SYNC(sc, txs, p) \ argument
172 bus_dmamap_sync((sc)->sc_dmat, (sc)->tx_cb_map, (txs)->tx_off, \
/openbsd/src/sys/dev/pci/
Dif_pcn.c812 struct pcn_txsoft *txs; in pcn_start() local
842 txs = &sc->sc_txsoft[sc->sc_txsnext]; in pcn_start()
843 dmamap = txs->txs_dmamap; in pcn_start()
936 txs->txs_mbuf = m0; in pcn_start()
937 txs->txs_firstdesc = sc->sc_txnext; in pcn_start()
938 txs->txs_lastdesc = lasttx; in pcn_start()
1143 struct pcn_txsoft *txs; in pcn_txintr() local
1153 txs = &sc->sc_txsoft[i]; in pcn_txintr()
1155 PCN_CDTXSYNC(sc, txs->txs_firstdesc, txs->txs_dmamap->dm_nsegs, in pcn_txintr()
1158 tmd1 = letoh32(sc->sc_txdescs[txs->txs_lastdesc].tmd1); in pcn_txintr()
[all …]
Dif_lii.c941 struct tx_pkt_status *txs; in lii_txintr() local
947 txs = &sc->sc_txs[sc->sc_txs_ack]; in lii_txintr()
948 if (txs->txps_update == 0) in lii_txintr()
954 txs->txps_update = 0; in lii_txintr()
959 if (txph->txph_size != txs->txps_size) { in lii_txintr()
972 if (!ISSET(txs->txps_flags, LII_TXF_SUCCESS)) in lii_txintr()
Dif_mwx.c3384 uint8_t txs[28]; in mt7921_mcu_tx_done_event() member
/openbsd/src/gnu/usr.bin/gcc/gcc/config/m68hc11/
Dm68hc11.md2689 output_asm_insn (\"txs\", operands);
/openbsd/src/gnu/gcc/gcc/config/m68hc11/
Dm68hc11.md2697 output_asm_insn (\"txs\", operands);