Home
last modified time | relevance | path

Searched refs:sc_tx_pkts (Results 1 – 2 of 2) sorted by relevance

/openbsd/sys/dev/pci/
H A Dif_nxe.c701 struct nxe_pkt_list *sc_tx_pkts; member
1083 sc->sc_tx_pkts = nxe_pkt_alloc(sc, 128, NXE_TXD_MAX_SEGS); in nxe_up()
1084 if (sc->sc_tx_pkts == NULL) in nxe_up()
1199 nxe_pkt_free(sc, sc->sc_tx_pkts); in nxe_up()
1291 nxe_pkt_free(sc, sc->sc_tx_pkts); in nxe_down()
1325 pkt = nxe_pkt_get(sc->sc_tx_pkts); in nxe_start()
1337 nxe_pkt_put(sc->sc_tx_pkts, pkt); in nxe_start()
1411 pkt = nxe_pkt_used(sc->sc_tx_pkts); in nxe_complete()
1422 nxe_pkt_put(sc->sc_tx_pkts, pkt); in nxe_complete()
1424 pkt = nxe_pkt_used(sc->sc_tx_pkts); in nxe_complete()
H A Dif_bwfm_pci.c177 struct bwfm_pci_pkts sc_tx_pkts; member
738 sc->sc_tx_pkts.npkt = BWFM_NUM_TX_PKTIDS; in bwfm_pci_preinit()
739 sc->sc_tx_pkts.pkts = malloc(BWFM_NUM_TX_PKTIDS in bwfm_pci_preinit()
744 &sc->sc_tx_pkts.pkts[i].bb_map); in bwfm_pci_preinit()
908 bus_dmamap_destroy(sc->sc_dmat, sc->sc_tx_pkts.pkts[i].bb_map); in bwfm_pci_cleanup()
909 if (sc->sc_tx_pkts.pkts[i].bb_m) in bwfm_pci_cleanup()
910 m_freem(sc->sc_tx_pkts.pkts[i].bb_m); in bwfm_pci_cleanup()
912 free(sc->sc_tx_pkts.pkts, M_DEVBUF, BWFM_NUM_TX_PKTIDS * in bwfm_pci_cleanup()
1755 m = bwfm_pci_pktid_free(sc, &sc->sc_tx_pkts, in bwfm_pci_msg_rx()
2178 if (bwfm_pci_pktid_avail(sc, &sc->sc_tx_pkts)) { in bwfm_pci_txcheck()
[all …]