/freebsd/tools/tools/ath/athalq/ |
H A D | ar9300_ds.c | 60 struct ar9300_txs txs; in ar9300_decode_txstatus() local 62 /* XXX assumes txs is smaller than PAYLOAD_LEN! */ in ar9300_decode_txstatus() 63 memcpy(&txs, &a->payload, sizeof(struct ar9300_txs)); in ar9300_decode_txstatus() 69 txs.status4, in ar9300_decode_txstatus() 70 txs.status4 - last_ts, in ar9300_decode_txstatus() 71 (unsigned int) MS(txs.status1, AR_tx_desc_id), in ar9300_decode_txstatus() 72 (unsigned int) MS(txs.ds_info, AR_tx_qcu_num)); in ar9300_decode_txstatus() 73 printf(" DescId=0x%08x\n", txs.status1); in ar9300_decode_txstatus() 75 last_ts = txs.status4; in ar9300_decode_txstatus() 78 txs.ds_info & 0xff, in ar9300_decode_txstatus() [all …]
|
H A D | ar5416_ds.c | 41 struct ar5416_desc txs; in ar5416_decode_txstatus() local 43 /* XXX assumes txs is smaller than PAYLOAD_LEN! */ in ar5416_decode_txstatus() 44 memcpy(&txs, &a->payload, sizeof(struct ar5416_desc)); in ar5416_decode_txstatus() 50 MF(txs.u.tx.status[9], AR_TxDone), in ar5416_decode_txstatus() 51 MF(txs.u.tx.status[1], AR_FrmXmitOK), in ar5416_decode_txstatus() 52 MF(txs.u.tx.status[1], AR_Filtered), in ar5416_decode_txstatus() 53 txs.u.tx.status[2]); in ar5416_decode_txstatus() 57 MS(txs.u.tx.status[0], AR_TxRSSIAnt00), in ar5416_decode_txstatus() 58 MS(txs.u.tx.status[0], AR_TxRSSIAnt01), in ar5416_decode_txstatus() 59 MS(txs.u.tx.status[0], AR_TxRSSIAnt02)); in ar5416_decode_txstatus() [all …]
|
H A D | ar5416_ds_tdma.c | 41 struct ar5416_desc txs; in ar5416_decode_txstatus() local 44 /* XXX assumes txs is smaller than PAYLOAD_LEN! */ in ar5416_decode_txstatus() 45 memcpy(&txs, &a->payload, sizeof(struct ar5416_desc)); in ar5416_decode_txstatus() 47 if (MF(txs.u.tx.status[9], AR_TxDone) == 0) in ar5416_decode_txstatus() 53 MF(txs.u.tx.status[9], AR_TxDone), in ar5416_decode_txstatus() 54 txs.u.tx.status[2], in ar5416_decode_txstatus() 55 txs.u.tx.status[2] - tx_tsf); in ar5416_decode_txstatus() 57 tx_tsf = txs.u.tx.status[2]; in ar5416_decode_txstatus() 62 MS(txs.u.tx.status[0], AR_TxRSSIAnt00), in ar5416_decode_txstatus() 63 MS(txs.u.tx.status[0], AR_TxRSSIAnt01), in ar5416_decode_txstatus() [all …]
|
H A D | ar5212_ds.c | 41 struct ar5212_desc txs; in ar5212_decode_txstatus() local 43 /* XXX assumes txs is smaller than PAYLOAD_LEN! */ in ar5212_decode_txstatus() 44 memcpy(&txs, &a->payload, sizeof(struct ar5212_desc)); in ar5212_decode_txstatus() 50 MF(txs.u.tx.status1, AR_Done), in ar5212_decode_txstatus() 51 MS(txs.u.tx.status0, AR_SendTimestamp)); in ar5212_decode_txstatus() 55 MF(txs.u.tx.status0, AR_FrmXmitOK), in ar5212_decode_txstatus() 56 MF(txs.u.tx.status0, AR_ExcessiveRetries), in ar5212_decode_txstatus() 57 MF(txs.u.tx.status0, AR_FIFOUnderrun), in ar5212_decode_txstatus() 58 MF(txs.u.tx.status0, AR_Filtered)); in ar5212_decode_txstatus() 60 MS(txs.u.tx.status0, AR_RTSFailCnt), in ar5212_decode_txstatus() [all …]
|
H A D | ar5211_ds.c | 41 struct ar5211_desc txs; in ar5211_decode_txstatus() local 43 /* XXX assumes txs is smaller than PAYLOAD_LEN! */ in ar5211_decode_txstatus() 44 memcpy(&txs, &a->payload, sizeof(struct ar5211_desc)); in ar5211_decode_txstatus() 53 MF(txs.ds_status0, AR_FrmXmitOK), in ar5211_decode_txstatus() 54 MF(txs.ds_status0, AR_ExcessiveRetries), in ar5211_decode_txstatus() 55 MF(txs.ds_status0, AR_FIFOUnderrun), in ar5211_decode_txstatus() 56 MF(txs.ds_status0, AR_Filtered)); in ar5211_decode_txstatus() 58 MS(txs.ds_status0, AR_LongRetryCnt), in ar5211_decode_txstatus() 59 MS(txs.ds_status0, AR_ShortRetryCnt), in ar5211_decode_txstatus() 60 MS(txs.ds_status0, AR_VirtCollCnt)); in ar5211_decode_txstatus() [all …]
|
H A D | ar5210_ds.c | 41 struct ar5210_desc txs; in ar5210_decode_txstatus() local 43 /* XXX assumes txs is smaller than PAYLOAD_LEN! */ in ar5210_decode_txstatus() 44 memcpy(&txs, &a->payload, sizeof(struct ar5210_desc)); in ar5210_decode_txstatus() 53 MF(txs.ds_status0, AR_FrmXmitOK), in ar5210_decode_txstatus() 54 MF(txs.ds_status0, AR_ExcessiveRetries), in ar5210_decode_txstatus() 55 MF(txs.ds_status0, AR_FIFOUnderrun), in ar5210_decode_txstatus() 56 MF(txs.ds_status0, AR_Filtered)); in ar5210_decode_txstatus() 58 MS(txs.ds_status0, AR_LongRetryCnt), in ar5210_decode_txstatus() 59 MS(txs.ds_status0, AR_ShortRetryCnt)); in ar5210_decode_txstatus() 61 MS(txs.ds_status0, AR_SendTimestamp)); in ar5210_decode_txstatus() [all …]
|
/freebsd/sys/powerpc/ps3/ |
H A D | if_glc.c | 120 struct glc_txsoft *txs; in glc_attach() local 226 txs = &sc->sc_txsoft[i]; in glc_attach() 227 txs->txs_mbuf = NULL; in glc_attach() 228 err = bus_dmamap_create(sc->sc_txdma_tag, 0, &txs->txs_dmamap); in glc_attach() 234 STAILQ_INSERT_TAIL(&sc->sc_txfreeq, txs, txs_q); in glc_attach() 291 struct glc_txsoft *txs; in glc_init_locked() local 319 while ((txs = STAILQ_FIRST(&sc->sc_txdirtyq)) != NULL) { in glc_init_locked() 321 bus_dmamap_unload(sc->sc_txdma_tag, txs->txs_dmamap); in glc_init_locked() 323 if (txs->txs_mbuf != NULL) { in glc_init_locked() 324 m_freem(txs->txs_mbuf); in glc_init_locked() [all …]
|
/freebsd/sys/dev/rtwn/rtl8188e/ |
H A D | r88e_rx.c | 79 struct ieee80211_ratectl_tx_status txs; in r88e_ratectl_tx_complete() local 120 txs.flags = IEEE80211_RATECTL_STATUS_LONG_RETRY | in r88e_ratectl_tx_complete() 122 txs.long_retries = ntries; in r88e_ratectl_tx_complete() 124 txs.final_rate = RTWN_RIDX_TO_MCS(rpt->final_rate); in r88e_ratectl_tx_complete() 125 txs.final_rate |= IEEE80211_RATE_MCS; in r88e_ratectl_tx_complete() 127 txs.final_rate = ridx2rate[rpt->final_rate]; in r88e_ratectl_tx_complete() 129 txs.status = IEEE80211_RATECTL_TX_SUCCESS; in r88e_ratectl_tx_complete() 131 txs.status = IEEE80211_RATECTL_TX_FAIL_LONG; in r88e_ratectl_tx_complete() 133 txs.status = IEEE80211_RATECTL_TX_FAIL_EXPIRED; in r88e_ratectl_tx_complete() 135 txs.status = IEEE80211_RATECTL_TX_FAIL_UNSPECIFIED; in r88e_ratectl_tx_complete() [all …]
|
/freebsd/sys/dev/gem/ |
H A D | if_gem.c | 145 struct gem_txsoft *txs; in gem_attach() local 236 txs = &sc->sc_txsoft[i]; in gem_attach() 237 txs->txs_mbuf = NULL; in gem_attach() 238 txs->txs_ndescs = 0; in gem_attach() 240 &txs->txs_dmamap)) != 0) { in gem_attach() 246 STAILQ_INSERT_TAIL(&sc->sc_txfreeq, txs, txs_q); in gem_attach() 636 struct gem_txsoft *txs; in gem_stop() local 653 while ((txs = STAILQ_FIRST(&sc->sc_txdirtyq)) != NULL) { in gem_stop() 655 if (txs->txs_ndescs != 0) { in gem_stop() 656 bus_dmamap_sync(sc->sc_tdmatag, txs->txs_dmamap, in gem_stop() [all …]
|
/freebsd/sys/dev/rtwn/rtl8812a/ |
H A D | r12a_rx.c | 67 struct ieee80211_ratectl_tx_status txs; in r12a_ratectl_tx_complete() local 107 txs.flags = IEEE80211_RATECTL_STATUS_LONG_RETRY | in r12a_ratectl_tx_complete() 109 txs.long_retries = ntries; in r12a_ratectl_tx_complete() 111 txs.final_rate = RTWN_RIDX_TO_MCS(rpt->final_rate); in r12a_ratectl_tx_complete() 112 txs.final_rate |= IEEE80211_RATE_MCS; in r12a_ratectl_tx_complete() 114 txs.final_rate = ridx2rate[rpt->final_rate]; in r12a_ratectl_tx_complete() 116 txs.status = IEEE80211_RATECTL_TX_FAIL_LONG; in r12a_ratectl_tx_complete() 118 txs.status = IEEE80211_RATECTL_TX_FAIL_EXPIRED; in r12a_ratectl_tx_complete() 120 txs.status = IEEE80211_RATECTL_TX_SUCCESS; in r12a_ratectl_tx_complete() 121 ieee80211_ratectl_tx_complete(ni, &txs); in r12a_ratectl_tx_complete()
|
/freebsd/sys/dev/cas/ |
H A D | if_cas.c | 184 struct cas_txsoft *txs; in cas_attach() local 280 txs = &sc->sc_txsoft[i]; in cas_attach() 281 txs->txs_mbuf = NULL; in cas_attach() 282 txs->txs_ndescs = 0; in cas_attach() 284 &txs->txs_dmamap)) != 0) { in cas_attach() 290 STAILQ_INSERT_TAIL(&sc->sc_txfreeq, txs, txs_q); in cas_attach() 713 struct cas_txsoft *txs; in cas_stop() local 731 while ((txs = STAILQ_FIRST(&sc->sc_txdirtyq)) != NULL) { in cas_stop() 733 if (txs->txs_ndescs != 0) { in cas_stop() 734 bus_dmamap_sync(sc->sc_tdmatag, txs->txs_dmamap, in cas_stop() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pci/ |
H A D | altera-pcie.txt | 5 - reg: a list of physical base address and length for TXS and CRA. 8 "Txs": TX slave port region 33 reg-names = "Txs", "Cra";
|
H A D | altr,pcie-root-port.yaml | 28 - const: Txs 97 reg-names = "Txs", "Cra";
|
/freebsd/sys/dev/rtwn/rtl8192c/ |
H A D | r92c_fw.c | 362 struct ieee80211_ratectl_tx_status txs; in r92c_ratectl_tx_complete() local 408 txs.flags = IEEE80211_RATECTL_STATUS_LONG_RETRY; in r92c_ratectl_tx_complete() 409 txs.long_retries = ntries; in r92c_ratectl_tx_complete() 411 txs.status = IEEE80211_RATECTL_TX_SUCCESS; in r92c_ratectl_tx_complete() 413 txs.status = IEEE80211_RATECTL_TX_FAIL_LONG; /* XXX */ in r92c_ratectl_tx_complete() 415 txs.status = IEEE80211_RATECTL_TX_FAIL_EXPIRED; in r92c_ratectl_tx_complete() 417 txs.status = IEEE80211_RATECTL_TX_FAIL_UNSPECIFIED; in r92c_ratectl_tx_complete() 418 ieee80211_ratectl_tx_complete(ni, &txs); in r92c_ratectl_tx_complete()
|
/freebsd/sys/dev/xen/netback/ |
H A D | netback_unit_tests.c | 189 netif_tx_sring_t* txs; member 347 xnb_unit_pvt.txs = malloc(PAGE_SIZE, M_XENNETBACK, M_WAITOK|M_ZERO); in setup_pvt_data() 348 if (xnb_unit_pvt.txs != NULL) { in setup_pvt_data() 349 SHARED_RING_INIT(xnb_unit_pvt.txs); in setup_pvt_data() 350 BACK_RING_INIT(&xnb_unit_pvt.txb, xnb_unit_pvt.txs, PAGE_SIZE); in setup_pvt_data() 351 FRONT_RING_INIT(&xnb_unit_pvt.txf, xnb_unit_pvt.txs, PAGE_SIZE); in setup_pvt_data() 376 if (xnb_unit_pvt.txs != NULL) { in teardown_pvt_data() 377 free(xnb_unit_pvt.txs, M_XENNETBACK); in teardown_pvt_data() 609 xnb_unit_pvt.txs->req_prod = rsize - 2; in xnb_ring2pkt_wraps() 610 xnb_unit_pvt.txs->req_event = rsize - 1; in xnb_ring2pkt_wraps() [all …]
|
/freebsd/sys/dev/ae/ |
H A D | if_ae.c | 1116 * Create DMA tag for TxS. in ae_alloc_rings() 1124 device_printf(sc->dev, "could not creare TxS DMA tag.\n"); in ae_alloc_rings() 1137 device_printf(sc->dev, "could not creare TxS DMA tag.\n"); in ae_alloc_rings() 1162 * Allocate TxS DMA memory. in ae_alloc_rings() 1169 "could not allocate DMA memory for TxS ring.\n"); in ae_alloc_rings() 1176 "could not load DMA map for TxS ring.\n"); in ae_alloc_rings() 1476 * Update TxS position and check if there are empty TxS available. in ae_encap() 1791 ae_txs_t *txs; in ae_tx_intr() local 1811 txs = sc->txs_base + sc->txs_ack; in ae_tx_intr() 1812 flags = le16toh(txs->flags); in ae_tx_intr() [all …]
|
H A D | if_aereg.h | 50 #define AE_ISR_TXS_OVERFLOW 0x00000010 /* TxS overflow occuried. */ 95 #define AE_TXS_ADDR_LO_REG 0x154c /* Low 32 bits of TxS ring address. */ 102 #define AE_TXS_COUNT_REG 0x1550 /* Number of TxS descriptors in ring. 355 * TxS flags.
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
H A D | mac.c | 1105 u32 txs; in mt7603_fill_txs() local 1112 txs = le32_to_cpu(txs_data[4]); in mt7603_fill_txs() 1113 ampdu = !fixed_rate && (txs & MT_TXS4_AMPDU); in mt7603_fill_txs() 1114 count = FIELD_GET(MT_TXS4_TX_COUNT, txs); in mt7603_fill_txs() 1115 last_idx = FIELD_GET(MT_TXS4_LAST_TX_RATE, txs); in mt7603_fill_txs() 1117 txs = le32_to_cpu(txs_data[0]); in mt7603_fill_txs() 1118 final_rate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt7603_fill_txs() 1119 ack_timeout = txs & MT_TXS0_ACK_TIMEOUT; in mt7603_fill_txs() 1121 if (!ampdu && (txs & MT_TXS0_RTS_TIMEOUT)) in mt7603_fill_txs() 1124 if (txs & MT_TXS0_QUEUE_TIMEOUT) in mt7603_fill_txs()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | mac.c | 1330 u32 final_rate, final_rate_flags, final_nss, txs; in mt7615_fill_txs() local 1332 txs = le32_to_cpu(txs_data[1]); in mt7615_fill_txs() 1333 ampdu = txs & MT_TXS1_AMPDU; in mt7615_fill_txs() 1335 txs = le32_to_cpu(txs_data[3]); in mt7615_fill_txs() 1336 count = FIELD_GET(MT_TXS3_TX_COUNT, txs); in mt7615_fill_txs() 1337 last_idx = FIELD_GET(MT_TXS3_LAST_TX_RATE, txs); in mt7615_fill_txs() 1339 txs = le32_to_cpu(txs_data[0]); in mt7615_fill_txs() 1340 fixed_rate = txs & MT_TXS0_FIXED_RATE; in mt7615_fill_txs() 1341 final_rate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt7615_fill_txs() 1342 ack_timeout = txs & MT_TXS0_ACK_TIMEOUT; in mt7615_fill_txs() [all …]
|
/freebsd/sys/dev/ral/ |
H A D | rt2560.c | 908 struct ieee80211_ratectl_tx_status *txs = &sc->sc_txs; in rt2560_tx_intr() local 919 txs->flags = IEEE80211_RATECTL_STATUS_LONG_RETRY; in rt2560_tx_intr() 935 txs->status = IEEE80211_RATECTL_TX_SUCCESS; in rt2560_tx_intr() 936 txs->long_retries = 0; in rt2560_tx_intr() 940 ieee80211_ratectl_tx_complete(ni, txs); in rt2560_tx_intr() 945 txs->status = IEEE80211_RATECTL_TX_SUCCESS; in rt2560_tx_intr() 946 txs->long_retries = RT2560_TX_RETRYCNT(flags); in rt2560_tx_intr() 949 txs->long_retries); in rt2560_tx_intr() 951 ieee80211_ratectl_tx_complete(ni, txs); in rt2560_tx_intr() 956 txs->status = IEEE80211_RATECTL_TX_FAIL_LONG; in rt2560_tx_intr() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac_mac.c | 607 u32 txrate, txs, mode, stbc; in mt76_connac2_mac_fill_txs() local 609 txs = le32_to_cpu(txs_data[0]); in mt76_connac2_mac_fill_txs() 613 FIELD_GET(MT_TXS0_TXS_FORMAT, txs) > 1) { in mt76_connac2_mac_fill_txs() 628 tid = FIELD_GET(MT_TXS0_TID, txs); in mt76_connac2_mac_fill_txs() 634 txrate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt76_connac2_mac_fill_txs() 700 switch (FIELD_GET(MT_TXS0_BW, txs)) { in mt76_connac2_mac_fill_txs()
|
/freebsd/sys/contrib/device-tree/Bindings/net/wireless/ |
H A D | mediatek,mt76.yaml | 213 txs-delta: 274 txs-delta = <12 9 6>;
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | mcu.h | 31 u8 txs[28]; member
|
/freebsd/sys/dev/vmware/vmxnet3/ |
H A D | if_vmx.c | 688 struct vmxnet3_txq_shared *txs; in vmxnet3_set_interrupt_idx() local 724 txs = txq->vxtxq_ts; in vmxnet3_set_interrupt_idx() 726 txs->intr_idx = txq->vxtxq_intr_idx; in vmxnet3_set_interrupt_idx() 1050 struct vmxnet3_txq_shared *txs; in vmxnet3_init_shared_data() local 1115 txs = txq->vxtxq_ts; in vmxnet3_init_shared_data() 1117 txs->cmd_ring = txq->vxtxq_cmd_ring.vxtxr_paddr; in vmxnet3_init_shared_data() 1118 txs->cmd_ring_len = txq->vxtxq_cmd_ring.vxtxr_ndesc; in vmxnet3_init_shared_data() 1119 txs->comp_ring = txq->vxtxq_comp_ring.vxcr_paddr; in vmxnet3_init_shared_data() 1120 txs->comp_ring_len = txq->vxtxq_comp_ring.vxcr_ndesc; in vmxnet3_init_shared_data() 1121 txs->driver_data = vtophys(txq); in vmxnet3_init_shared_data() [all …]
|
/freebsd/share/man/man4/ |
H A D | aue.4 | 142 Corega Ether FEther USB-T, FEther USB-TX, FEther USB-TXS
|