| /netbsd-src/sys/arch/mips/atheros/dev/ |
| H A D | if_ae.c | 471 struct ae_txsoft *txs; in ae_detach() local 504 txs = &sc->sc_txsoft[i]; in ae_detach() 505 if (txs->txs_mbuf != NULL) { in ae_detach() 506 bus_dmamap_unload(sc->sc_dmat, txs->txs_dmamap); in ae_detach() 507 m_freem(txs->txs_mbuf); in ae_detach() 508 txs->txs_mbuf = NULL; in ae_detach() 510 bus_dmamap_destroy(sc->sc_dmat, txs->txs_dmamap); in ae_detach() 550 struct ae_txsoft *txs; in ae_start() local 576 while ((txs = SIMPLEQ_FIRST(&sc->sc_txfreeq)) != NULL && in ae_start() 586 dmamap = txs->txs_dmamap; in ae_start() [all …]
|
| /netbsd-src/sys/arch/mips/ralink/ |
| H A D | ralink_eth.c | 653 struct ralink_eth_txstate *txs; in ralink_eth_detach() local 673 txs = &sc->sc_txstate[i]; in ralink_eth_detach() 674 if (txs->txs_mbuf != NULL) { in ralink_eth_detach() 675 bus_dmamap_unload(sc->sc_dmat, txs->txs_dmamap); in ralink_eth_detach() 676 m_freem(txs->txs_mbuf); in ralink_eth_detach() 677 txs->txs_mbuf = NULL; in ralink_eth_detach() 679 bus_dmamap_destroy(sc->sc_dmat, txs->txs_dmamap); in ralink_eth_detach() 732 struct ralink_eth_txstate *txs; in ralink_eth_hw_init() local 850 txs = &sc->sc_txstate[i]; in ralink_eth_hw_init() 851 txs->txs_mbuf = NULL; in ralink_eth_hw_init() [all …]
|
| /netbsd-src/sys/dev/ic/ |
| H A D | gem.c | 337 struct gem_txsoft *txs; in gem_attach() local 339 txs = &sc->sc_txsoft[i]; in gem_attach() 340 txs->txs_mbuf = NULL; in gem_attach() 344 &txs->txs_dmamap)) != 0) { in gem_attach() 351 SIMPLEQ_INSERT_TAIL(&sc->sc_txfreeq, txs, txs_q); in gem_attach() 718 struct gem_txsoft *txs; in gem_stop() local 736 while ((txs = SIMPLEQ_FIRST(&sc->sc_txdirtyq)) != NULL) { in gem_stop() 738 if (txs->txs_mbuf != NULL) { in gem_stop() 739 bus_dmamap_sync(sc->sc_dmatag, txs->txs_dmamap, 0, in gem_stop() 740 txs->txs_dmamap->dm_mapsize, BUS_DMASYNC_POSTWRITE); in gem_stop() [all …]
|
| H A D | atw.c | 1194 struct atw_txsoft *txs; in atw_init() local 1286 txs = &sc->sc_txsoft[i]; in atw_init() 1287 txs->txs_mbuf = NULL; in atw_init() 1288 SIMPLEQ_INSERT_TAIL(&sc->sc_txfreeq, txs, txs_q); in atw_init() 2598 struct atw_txsoft *txs; in atw_txdrain() local 2600 while ((txs = SIMPLEQ_FIRST(&sc->sc_txdirtyq)) != NULL) { in atw_txdrain() 2602 if (txs->txs_mbuf != NULL) { in atw_txdrain() 2603 bus_dmamap_unload(sc->sc_dmat, txs->txs_dmamap); in atw_txdrain() 2604 m_freem(txs->txs_mbuf); in atw_txdrain() 2605 txs->txs_mbuf = NULL; in atw_txdrain() [all …]
|
| H A D | tulip.c | 600 struct tulip_txsoft *txs; in tlp_detach() local 642 txs = &sc->sc_txsoft[i]; in tlp_detach() 643 if (txs->txs_mbuf != NULL) { in tlp_detach() 644 bus_dmamap_unload(sc->sc_dmat, txs->txs_dmamap); in tlp_detach() 645 m_freem(txs->txs_mbuf); in tlp_detach() 646 txs->txs_mbuf = NULL; in tlp_detach() 648 bus_dmamap_destroy(sc->sc_dmat, txs->txs_dmamap); in tlp_detach() 676 struct tulip_txsoft *txs, *last_txs = NULL; in tlp_start() local 714 while ((txs = SIMPLEQ_FIRST(&sc->sc_txfreeq)) != NULL && in tlp_start() 724 dmamap = txs->txs_dmamap; in tlp_start() [all …]
|
| H A D | i82557.c | 807 struct fxp_txsoft *txs; in fxp_start() local 855 txs = FXP_DSTX(sc, nexttx); in fxp_start() 856 dmamap = txs->txs_dmamap; in fxp_start() 937 txs->txs_mbuf = m0; in fxp_start() 1162 struct fxp_txsoft *txs; in fxp_txintr() local 1170 txs = FXP_DSTX(sc, i); in fxp_txintr() 1185 bus_dmamap_sync(sc->sc_dmat, txs->txs_dmamap, in fxp_txintr() 1186 0, txs->txs_dmamap->dm_mapsize, in fxp_txintr() 1188 bus_dmamap_unload(sc->sc_dmat, txs->txs_dmamap); in fxp_txintr() 1189 m_freem(txs->txs_mbuf); in fxp_txintr() [all …]
|
| H A D | aic79xx_osm.c | 238 struct scsipi_xfer *txs = list_scb->xs; in ahd_done() local 240 if (!(txs->xs_control & XS_CTL_POLL)) { in ahd_done() 241 callout_reset(&txs->xs_callout, in ahd_done() 242 (txs->timeout > 1000000) ? in ahd_done() 243 (txs->timeout / 1000) * hz : in ahd_done() 244 (txs->timeout * hz) / 1000, in ahd_done()
|
| /netbsd-src/sys/arch/evbppc/virtex/dev/ |
| H A D | if_temac.c | 661 struct temac_txsoft *txs; in temac_start() local 668 txs = NULL; /* gcc */ in temac_start() 691 txs = &sc->sc_txsoft[sc->sc_txscur]; in temac_start() 692 dmap = txs->txs_dmap; in temac_start() 694 if (txs->txs_mbuf != NULL) in temac_start() 696 if (txs->txs_last) in temac_start() 727 txs->txs_mbuf = m; in temac_start() 765 txs->txs_last = 1; in temac_start() 786 struct temac_txsoft *txs; in temac_stop() local 804 txs = &sc->sc_txsoft[i]; in temac_stop() [all …]
|
| /netbsd-src/sys/arch/powerpc/ibm4xx/dev/ |
| H A D | if_emac.c | 668 struct emac_txsoft *txs; in emac_start() local 705 txs = &sc->sc_txsoft[sc->sc_txsnext]; in emac_start() 706 dmamap = txs->txs_dmamap; in emac_start() 762 txs->txs_mbuf = m0; in emac_start() 763 txs->txs_firstdesc = sc->sc_txnext; in emac_start() 764 txs->txs_ndesc = dmamap->dm_nsegs; in emac_start() 802 txs->txs_lastdesc = lasttx; in emac_start() 821 sc->sc_txfree -= txs->txs_ndesc; in emac_start() 1062 struct emac_txsoft *txs; in emac_stop() local 1083 txs = &sc->sc_txsoft[i]; in emac_stop() [all …]
|
| /netbsd-src/sys/dev/pci/ |
| H A D | if_dge.c | 1060 dge_tx_cksum(struct dge_softc *sc, struct dge_txsoft *txs, uint8_t *fieldsp) argument 1062 struct mbuf *m0 = txs->txs_mbuf; 1165 txs->txs_ndesc++; 1183 struct dge_txsoft *txs; local 1224 txs = &sc->sc_txsoft[sc->sc_txsnext]; 1225 dmamap = txs->txs_dmamap; 1306 txs->txs_mbuf = m0; 1307 txs->txs_firstdesc = sc->sc_txnext; 1308 txs->txs_ndesc = dmamap->dm_nsegs; 1316 if (dge_tx_cksum(sc, txs, &cksumfields) != 0) { [all …]
|
| H A D | if_kse.c | 847 struct kse_txsoft *txs; in kse_stop() local 858 txs = &sc->sc_txsoft[i]; in kse_stop() 859 if (txs->txs_mbuf != NULL) { in kse_stop() 860 bus_dmamap_unload(sc->sc_dmat, txs->txs_dmamap); in kse_stop() 861 m_freem(txs->txs_mbuf); in kse_stop() 862 txs->txs_mbuf = NULL; in kse_stop() 918 struct kse_txsoft *txs; in kse_start() local 944 txs = &sc->sc_txsoft[sc->sc_txsnext]; in kse_start() 945 dmamap = txs->txs_dmamap; in kse_start() 1029 txs->txs_mbuf = m0; in kse_start() [all …]
|
| H A D | if_pcn.c | 917 struct pcn_txsoft *txs; in pcn_start() local 942 txs = &sc->sc_txsoft[sc->sc_txsnext]; in pcn_start() 943 dmamap = txs->txs_dmamap; in pcn_start() 1105 txs->txs_mbuf = m0; in pcn_start() 1106 txs->txs_firstdesc = sc->sc_txnext; in pcn_start() 1107 txs->txs_lastdesc = lasttx; in pcn_start() 1302 struct pcn_txsoft *txs; in pcn_txintr() 1312 txs = &sc->sc_txsoft[i]; in pcn_txintr() 1314 PCN_CDTXSYNC(sc, txs->txs_firstdesc, txs in pcn_txintr() 1301 struct pcn_txsoft *txs; pcn_txintr() local 1832 struct pcn_txsoft *txs; pcn_stop() local [all...] |
| H A D | if_vge.c | 1365 struct vge_txsoft *txs; in vge_txeof() local 1382 txs = &sc->sc_txsoft[idx]; in vge_txeof() 1383 bus_dmamap_sync(sc->sc_dmat, txs->txs_dmamap, 0, in vge_txeof() 1384 txs->txs_dmamap->dm_mapsize, BUS_DMASYNC_POSTWRITE); in vge_txeof() 1385 bus_dmamap_unload(sc->sc_dmat, txs->txs_dmamap); in vge_txeof() 1386 m_freem(txs->txs_mbuf); in vge_txeof() 1387 txs->txs_mbuf = NULL; in vge_txeof() 1513 struct vge_txsoft *txs; in vge_encap() local 1543 txs = &sc->sc_txsoft[idx]; in vge_encap() 1544 map = txs->txs_dmamap; in vge_encap() [all …]
|
| H A D | if_sip.c | 1541 struct sip_txsoft *txs; in sipcom_start() local 1564 while ((txs = SIMPLEQ_FIRST(&sc->sc_txfreeq)) != NULL) { in sipcom_start() 1573 dmamap = txs->txs_dmamap; in sipcom_start() 1715 txs->txs_mbuf = m0; in sipcom_start() 1716 txs->txs_firstdesc = sc->sc_txnext; in sipcom_start() 1717 txs->txs_lastdesc = lasttx; in sipcom_start() 1724 SIMPLEQ_INSERT_TAIL(&sc->sc_txdirtyq, txs, txs_q); in sipcom_start() 2041 struct sip_txsoft *txs; in sipcom_txintr() local 2048 while ((txs = SIMPLEQ_FIRST(&sc->sc_txdirtyq)) != NULL) { in sipcom_txintr() 2049 sip_cdtxsync(sc, txs->txs_firstdesc, txs->txs_dmamap->dm_nsegs, in sipcom_txintr() [all …]
|
| H A D | if_lii.c | 1022 struct tx_pkt_status *txs; in lii_txintr() local 1028 txs = &sc->sc_txs[sc->sc_txs_ack]; in lii_txintr() 1029 if (txs->txps_update == 0) in lii_txintr() 1035 txs->txps_update = 0; in lii_txintr() 1040 if (txph->txph_size != txs->txps_size) in lii_txintr() 1051 if (txs->txps_flags & ATL2_TXF_SUCCESS) in lii_txintr()
|
| H A D | if_wm.c | 399 WM_Q_EVCNT_DEFINE(txq, txsstall); /* Stalled due to no txs */ 3899 struct wm_txsoft *txs; in wm_watchdog_txq_locked() local 3909 txs = &txq->txq_soft[i]; in wm_watchdog_txq_locked() 3910 printf("txs %d tx %d -> %d\n", in wm_watchdog_txq_locked() 3911 i, txs->txs_firstdesc, txs->txs_lastdesc); in wm_watchdog_txq_locked() 3912 for (j = txs->txs_firstdesc; ; j = WM_NEXTTX(txq, j)) { in wm_watchdog_txq_locked() 3929 if (j == txs->txs_lastdesc) in wm_watchdog_txq_locked() 7651 struct wm_txsoft *txs; in wm_stop_locked() 7721 txs in wm_stop_locked() 7650 struct wm_txsoft *txs; wm_stop_locked() local 8613 wm_tx_offload(struct wm_softc * sc,struct wm_txqueue * txq,struct wm_txsoft * txs,uint32_t * cmdp,uint8_t * fieldsp) wm_tx_offload() argument 8939 struct wm_txsoft *txs; wm_send_common_locked() local 9275 wm_nq_tx_offload(struct wm_softc * sc,struct wm_txqueue * txq,struct wm_txsoft * txs,uint32_t * cmdlenp,uint32_t * fieldsp,bool * do_csum) wm_nq_tx_offload() argument 9557 struct wm_txsoft *txs; wm_nq_send_common_locked() local 9890 struct wm_txsoft *txs; wm_txeof() local [all...] |
| H A D | if_vmx.c | 1078 struct vmxnet3_txq_shared *txs; in vmxnet3_set_interrupt_idx() local 1088 txs = txq->vxtxq_ts; in vmxnet3_set_interrupt_idx() 1089 txs->intr_idx = vmxq->vxq_intr_idx; in vmxnet3_set_interrupt_idx() 1654 struct vmxnet3_txq_shared *txs; in vmxnet3_init_shared_data() local 1709 txs = txq->vxtxq_ts; in vmxnet3_init_shared_data() 1711 txs->cmd_ring = txq->vxtxq_cmd_ring.vxtxr_dma.dma_paddr; in vmxnet3_init_shared_data() 1712 txs->cmd_ring_len = txq->vxtxq_cmd_ring.vxtxr_ndesc; in vmxnet3_init_shared_data() 1713 txs->comp_ring = txq->vxtxq_comp_ring.vxcr_dma.dma_paddr; in vmxnet3_init_shared_data() 1714 txs->comp_ring_len = txq->vxtxq_comp_ring.vxcr_ndesc; in vmxnet3_init_shared_data() 1715 txs->driver_data = vtophys(txq); in vmxnet3_init_shared_data() [all …]
|
| /netbsd-src/sys/arch/sgimips/mace/ |
| H A D | if_mec.c | 946 struct mec_txsoft *txs; in mec_start() local 978 txs = &sc->sc_txsoft[nexttx]; in mec_start() 979 dmamap = txs->txs_dmamap; in mec_start() 980 txs->txs_flags = 0; in mec_start() 1028 txs->txs_flags = MEC_TXS_TXDPTR; in mec_start() 1314 if ((txs->txs_flags & MEC_TXS_TXDPTR) != 0) { in mec_start() 1353 txs->txs_mbuf = m0; in mec_start() 1416 struct mec_txsoft *txs; in mec_stop() local 1429 txs = &sc->sc_txsoft[i]; in mec_stop() 1430 if ((txs->txs_flags & MEC_TXS_TXDPTR) != 0) { in mec_stop() [all …]
|
| /netbsd-src/sys/arch/next68k/stand/boot/ |
| H A D | en.c | 197 int state, txs; in en_put() local 254 txs = er->txstat; in en_put() 257 DPRINTF(("en_put: done txstat=%x.\n", txs)); in en_put() 262 (txs & EN_TXS_ERROR) != 0) { in en_put() 266 if ((txs & EN_TXS_COLLERR) == 0) in en_put()
|
| /netbsd-src/sys/arch/arm/sociox/ |
| H A D | if_scx.c | 1367 struct scx_txsoft *txs; in scx_start() local 1391 txs = &sc->sc_txsoft[sc->sc_txsnext]; in scx_start() 1392 dmamap = txs->txs_dmamap; in scx_start() 1463 txs->txs_mbuf = m0; in scx_start() 1464 txs->txs_firstdesc = sc->sc_txnext; in scx_start() 1465 txs->txs_lastdesc = lasttx; in scx_start() 1466 txs->txs_ndesc = dmamap->dm_nsegs; in scx_start() 1467 sc->sc_txfree -= txs->txs_ndesc; in scx_start() 1567 struct scx_txsoft *txs; in txreap() local 1573 txs = &sc->sc_txsoft[i]; in txreap() [all …]
|
| /netbsd-src/sys/arch/arm/imx/ |
| H A D | if_enet.c | 443 struct enet_txsoft *txs; in enet_tx_intr() local 452 txs = &sc->sc_txsoft[idx]; in enet_tx_intr() 463 txs->txs_dmamap); in enet_tx_intr() 464 m_freem(txs->txs_mbuf); in enet_tx_intr() 1310 struct enet_txsoft *txs; in enet_drain_txbuf() local 1319 txs = &sc->sc_txsoft[idx]; in enet_drain_txbuf() 1324 txs->txs_dmamap); in enet_drain_txbuf() 1325 m_freem(txs->txs_mbuf); in enet_drain_txbuf()
|
| /netbsd-src/external/bsd/unbound/dist/testdata/ |
| H A D | test_ldnsrr.2 | 597 …xcEAJswAqWdhp/PJDwapzlgrK7Fzf7GoD6krn XyQGOikJBDa8XcSWPy+0p1vOtEImeoz2RXdm/JS451xRpy0ZQg0ol8vU txs=
|