Home
last modified time | relevance | path

Searched full:txs (Results 1 – 25 of 51) sorted by relevance

123

/linux/drivers/net/wan/
H A Dc101.c68 u8 rxs, txs, tmc; /* SCA registers */ member
144 u8 txs = port->txs & CLK_BRG_MASK; in c101_set_iface() local
149 txs |= CLK_RXCLK_TX; /* BRG output */ in c101_set_iface()
154 txs |= CLK_BRG_TX; /* BRG output */ in c101_set_iface()
159 txs |= CLK_RXCLK_TX; /* RX clock */ in c101_set_iface()
164 txs |= CLK_LINE_TX; /* TXC input */ in c101_set_iface()
168 port->txs = txs; in c101_set_iface()
170 sca_out(txs, MSCI1_OFFSET + TXS, port); in c101_set_iface()
H A Dpci200syn.c72 u8 rxs, txs, tmc; /* SCA registers */ member
115 u8 txs = port->txs & CLK_BRG_MASK; in pci200_set_iface() local
122 txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ in pci200_set_iface()
127 txs |= CLK_PIN_OUT | CLK_BRG; /* BRG output */ in pci200_set_iface()
132 txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ in pci200_set_iface()
137 txs |= CLK_PIN_OUT | CLK_LINE; /* TXC input */ in pci200_set_iface()
142 port->txs = txs; in pci200_set_iface()
144 sca_out(txs, msci + TXS, card); in pci200_set_iface()
H A Dpc300too.c85 u8 rxs, txs, tmc; /* SCA registers */ member
115 u8 txs = port->txs & CLK_BRG_MASK; in pc300_set_iface() local
122 txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ in pc300_set_iface()
127 txs |= CLK_PIN_OUT | CLK_BRG; /* BRG output */ in pc300_set_iface()
132 txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ in pc300_set_iface()
137 txs |= CLK_PIN_OUT | CLK_LINE; /* TXC input */ in pc300_set_iface()
142 port->txs = txs; in pc300_set_iface()
144 sca_out(txs, msci + TXS, card); in pc300_set_iface()
H A Dn2.c101 u8 rxs, txs, tmc; /* SCA registers */ member
159 u8 txs = port->txs & CLK_BRG_MASK; in n2_set_iface() local
165 txs |= CLK_RXCLK_TX; /* RX clock */ in n2_set_iface()
171 txs |= CLK_BRG_TX; /* BRG output */ in n2_set_iface()
177 txs |= CLK_RXCLK_TX; /* RX clock */ in n2_set_iface()
183 txs |= CLK_LINE_TX; /* TXC input */ in n2_set_iface()
188 port->txs = txs; in n2_set_iface()
190 sca_out(txs, msci + TXS, card); in n2_set_iface()
H A Dhd64572.c390 port->txs = (port->txs & ~CLK_BRG_MASK) | br; in sca_set_port()
399 sca_out(port->txs, msci + TXS, card); in sca_set_port()
475 sca_out(port->txs, msci + TXS, card); in sca_open()
H A Dhd64570.c434 port->txs = (port->txs & ~CLK_BRG_MASK) | br; in sca_set_port()
442 sca_out(port->txs, msci + TXS, card); in sca_set_port()
526 sca_out(port->txs, msci + TXS, card); in sca_open()
H A Dhd64570.h69 #define TXS 0x17 /* TX Clock Source */ macro
234 /* TX and RX Clock Source - RXS and TXS */
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_ethtool.c751 struct funeth_txq_stats txs; in fun_get_ethtool_stats() local
775 FUN_QSTAT_READ(fp->txqs[i], start, txs); in fun_get_ethtool_stats()
777 ADD_STAT(txs.tx_pkts); in fun_get_ethtool_stats()
778 ADD_STAT(txs.tx_bytes); in fun_get_ethtool_stats()
779 ADD_STAT(txs.tx_cso); in fun_get_ethtool_stats()
780 ADD_STAT(txs.tx_tso); in fun_get_ethtool_stats()
781 ADD_STAT(txs.tx_encap_tso); in fun_get_ethtool_stats()
782 ADD_STAT(txs.tx_uso); in fun_get_ethtool_stats()
783 ADD_STAT(txs.tx_more); in fun_get_ethtool_stats()
784 ADD_STAT(txs.tx_nstops); in fun_get_ethtool_stats()
[all …]
H A Dfuneth_main.c891 struct funeth_txq_stats txs; in fun_get_stats64() local
893 FUN_QSTAT_READ(fp->txqs[i], start, txs); in fun_get_stats64()
894 stats->tx_packets += txs.tx_pkts; in fun_get_stats64()
895 stats->tx_bytes += txs.tx_bytes; in fun_get_stats64()
896 stats->tx_dropped += txs.tx_map_err; in fun_get_stats64()
913 struct funeth_txq_stats txs; in fun_get_stats64() local
915 FUN_QSTAT_READ(xdpqs[i], start, txs); in fun_get_stats64()
916 stats->tx_packets += txs.tx_pkts; in fun_get_stats64()
917 stats->tx_bytes += txs.tx_bytes; in fun_get_stats64()
/linux/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_txrx.c447 struct __wmi_event_txstatus *txs) in ath9k_htc_tx_process() argument
476 if (!txok || !vif || !txs) in ath9k_htc_tx_process()
479 if (txs->ts_flags & ATH9K_HTC_TXSTAT_ACK) { in ath9k_htc_tx_process()
485 if (txs->ts_flags & ATH9K_HTC_TXSTAT_FILT) in ath9k_htc_tx_process()
488 if (txs->ts_flags & ATH9K_HTC_TXSTAT_RTC_CTS) in ath9k_htc_tx_process()
492 rate->idx = MS(txs->ts_rate, ATH9K_HTC_TXSTAT_RATE); in ath9k_htc_tx_process()
494 if (txs->ts_flags & ATH9K_HTC_TXSTAT_MCS) { in ath9k_htc_tx_process()
497 if (txs->ts_flags & ATH9K_HTC_TXSTAT_CW40) in ath9k_htc_tx_process()
499 if (txs->ts_flags & ATH9K_HTC_TXSTAT_SGI) in ath9k_htc_tx_process()
619 struct __wmi_event_txstatus *txs) in ath9k_htc_tx_get_packet() argument
[all …]
H A Dwmi.h144 struct __wmi_event_txstatus txs; member
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dampdu.c789 struct tx_status *txs, u8 mcs) in brcms_c_ampdu_rate_status() argument
803 struct sk_buff *p, struct tx_status *txs, in brcms_c_ampdu_dotxstatus_complete() argument
834 queue = txs->frameid & TXFID_QUEUE_MASK; in brcms_c_ampdu_dotxstatus_complete()
835 supr_status = txs->status & TX_STATUS_SUPR_MASK; in brcms_c_ampdu_dotxstatus_complete()
837 if (txs->status & TX_STATUS_ACK_RCV) { in brcms_c_ampdu_dotxstatus_complete()
838 WARN_ON(!(txs->status & TX_STATUS_INTERMEDIATE)); in brcms_c_ampdu_dotxstatus_complete()
839 start_seq = txs->sequence >> SEQNUM_SHIFT; in brcms_c_ampdu_dotxstatus_complete()
840 bitmap[0] = (txs->status & TX_STATUS_BA_BMAP03_MASK) >> in brcms_c_ampdu_dotxstatus_complete()
887 } else if (txs->phyerr) { in brcms_c_ampdu_dotxstatus_complete()
890 __func__, txs->phyerr); in brcms_c_ampdu_dotxstatus_complete()
[all …]
H A Dampdu.h49 struct sk_buff *p, struct tx_status *txs);
H A Dmain.c827 brcms_c_dotxstatus(struct brcms_c_info *wlc, struct tx_status *txs) in brcms_c_dotxstatus() argument
843 trace_brcms_txstatus(&wlc->hw->d11core->dev, txs->framelen, in brcms_c_dotxstatus()
844 txs->frameid, txs->status, txs->lasttxtime, in brcms_c_dotxstatus()
845 txs->sequence, txs->phyerr, txs->ackphyrxsh); in brcms_c_dotxstatus()
852 if (!(txs->status & TX_STATUS_AMPDU) in brcms_c_dotxstatus()
853 && (txs->status & TX_STATUS_INTERMEDIATE)) { in brcms_c_dotxstatus()
859 queue = txs->frameid & TXFID_QUEUE_MASK; in brcms_c_dotxstatus()
875 if (txs->phyerr) in brcms_c_dotxstatus()
877 txs->phyerr, txh->MainRates); in brcms_c_dotxstatus()
879 if (txs->frameid != le16_to_cpu(txh->TxFrameID)) { in brcms_c_dotxstatus()
[all …]
/linux/drivers/net/ethernet/atheros/atlx/
H A Datl2.c295 /* Init TXS Ring */ in atl2_setup_ring_resources()
467 struct tx_pkt_status *txs; in atl2_intr_tx() local
473 txs = adapter->txs_ring + txs_write_ptr; in atl2_intr_tx()
474 if (!txs->update) in atl2_intr_tx()
478 txs->update = 0; in atl2_intr_tx()
488 if (txph->pkt_size != txs->pkt_size) { in atl2_intr_tx()
489 struct tx_pkt_status *old_txs = txs; in atl2_intr_tx()
491 "%s: txs packet size not consistent with txd" in atl2_intr_tx()
494 *(u32 *)txph, *(u32 *)txs); in atl2_intr_tx()
498 txs = adapter->txs_ring + txs_write_ptr; in atl2_intr_tx()
[all …]
/linux/Documentation/devicetree/bindings/pci/
H A Daltr,pcie-root-port.yaml28 - const: Txs
97 reg-names = "Txs", "Cra";
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmac.c1105 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()
/linux/drivers/net/ethernet/cisco/enic/
H A Denic_main.c2604 struct netdev_queue_stats_tx *txs) in enic_get_queue_stats_tx() argument
2609 txs->bytes = wqstats->bytes; in enic_get_queue_stats_tx()
2610 txs->packets = wqstats->packets; in enic_get_queue_stats_tx()
2611 txs->csum_none = wqstats->csum_none; in enic_get_queue_stats_tx()
2612 txs->needs_csum = wqstats->csum_partial + wqstats->encap_csum + in enic_get_queue_stats_tx()
2614 txs->hw_gso_packets = wqstats->tso; in enic_get_queue_stats_tx()
2615 txs->stop = wqstats->stopped; in enic_get_queue_stats_tx()
2616 txs->wake = wqstats->wake; in enic_get_queue_stats_tx()
2621 struct netdev_queue_stats_tx *txs) in enic_get_base_stats() argument
2628 txs->bytes = 0; in enic_get_base_stats()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c1327 u32 final_rate, final_rate_flags, final_nss, txs; in mt7615_fill_txs() local
1329 txs = le32_to_cpu(txs_data[1]); in mt7615_fill_txs()
1330 ampdu = txs & MT_TXS1_AMPDU; in mt7615_fill_txs()
1332 txs = le32_to_cpu(txs_data[3]); in mt7615_fill_txs()
1333 count = FIELD_GET(MT_TXS3_TX_COUNT, txs); in mt7615_fill_txs()
1334 last_idx = FIELD_GET(MT_TXS3_LAST_TX_RATE, txs); in mt7615_fill_txs()
1336 txs = le32_to_cpu(txs_data[0]); in mt7615_fill_txs()
1337 fixed_rate = txs & MT_TXS0_FIXED_RATE; in mt7615_fill_txs()
1338 final_rate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt7615_fill_txs()
1339 ack_timeout = txs & MT_TXS0_ACK_TIMEOUT; in mt7615_fill_txs()
[all …]
/linux/drivers/accel/habanalabs/include/gaudi/
H A Dgaudi_fw_if.h27 TXS, enumerator
/linux/Documentation/devicetree/bindings/net/wireless/
H A Dmediatek,mt76.yaml213 txs-delta:
274 txs-delta = <12 9 6>;
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mac.c604 u32 txrate, txs, mode, stbc; in mt76_connac2_mac_fill_txs() local
606 txs = le32_to_cpu(txs_data[0]); in mt76_connac2_mac_fill_txs()
610 FIELD_GET(MT_TXS0_TXS_FORMAT, txs) > 1) { in mt76_connac2_mac_fill_txs()
625 tid = FIELD_GET(MT_TXS0_TID, txs); in mt76_connac2_mac_fill_txs()
631 txrate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt76_connac2_mac_fill_txs()
697 switch (FIELD_GET(MT_TXS0_BW, txs)) { in mt76_connac2_mac_fill_txs()
H A Dmt76_connac3_mac.h354 /* MPDU based TXS */
376 /* PPDU based TXS */
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmcu.h31 u8 txs[28]; member
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c100 /* We don't support reading GI info from txs packets. in mt7925_mac_sta_poll()
904 u32 txrate, txs, mode, stbc; in mt7925_mac_add_txs_skb() local
911 txs = le32_to_cpu(txs_data[0]); in mt7925_mac_add_txs_skb()
914 if (!(txs & MT_TXS0_ACK_ERROR_MASK)) in mt7925_mac_add_txs_skb()
923 txrate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt7925_mac_add_txs_skb()
996 switch (FIELD_GET(MT_TXS0_BW, txs)) { in mt7925_mac_add_txs_skb()

123