Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/wan/
Dpci200syn.c75 u8 rxs, txs, tmc; /* SCA registers */ member
121 u8 txs = port->txs & CLK_BRG_MASK; in pci200_set_iface() local
128 txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ in pci200_set_iface()
133 txs |= CLK_PIN_OUT | CLK_BRG; /* BRG output */ in pci200_set_iface()
138 txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ in pci200_set_iface()
143 txs |= CLK_PIN_OUT | CLK_LINE; /* TXC input */ in pci200_set_iface()
148 port->txs = txs; in pci200_set_iface()
150 sca_out(txs, msci + TXS, card); in pci200_set_iface()
Dc101.c70 u8 rxs, txs, tmc; /* SCA registers */ member
152 u8 txs = port->txs & CLK_BRG_MASK; in c101_set_iface() local
157 txs |= CLK_RXCLK_TX; /* BRG output */ in c101_set_iface()
162 txs |= CLK_BRG_TX; /* BRG output */ in c101_set_iface()
167 txs |= CLK_RXCLK_TX; /* RX clock */ in c101_set_iface()
172 txs |= CLK_LINE_TX; /* TXC input */ in c101_set_iface()
176 port->txs = txs; in c101_set_iface()
178 sca_out(txs, MSCI1_OFFSET + TXS, port); in c101_set_iface()
Dpc300too.c89 u8 rxs, txs, tmc; /* SCA registers */ member
123 u8 txs = port->txs & CLK_BRG_MASK; in pc300_set_iface() local
130 txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ in pc300_set_iface()
135 txs |= CLK_PIN_OUT | CLK_BRG; /* BRG output */ in pc300_set_iface()
140 txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */ in pc300_set_iface()
145 txs |= CLK_PIN_OUT | CLK_LINE; /* TXC input */ in pc300_set_iface()
150 port->txs = txs; in pc300_set_iface()
152 sca_out(txs, msci + TXS, card); in pc300_set_iface()
Dn2.c106 u8 rxs, txs, tmc; /* SCA registers */ member
171 u8 txs = port->txs & CLK_BRG_MASK; in n2_set_iface() local
177 txs |= CLK_RXCLK_TX; /* RX clock */ in n2_set_iface()
183 txs |= CLK_BRG_TX; /* BRG output */ in n2_set_iface()
189 txs |= CLK_RXCLK_TX; /* RX clock */ in n2_set_iface()
195 txs |= CLK_LINE_TX; /* TXC input */ in n2_set_iface()
200 port->txs = txs; in n2_set_iface()
202 sca_out(txs, msci + TXS, card); in n2_set_iface()
Dhd64572.c400 port->txs = (port->txs & ~CLK_BRG_MASK) | br; in sca_set_port()
409 sca_out(port->txs, msci + TXS, card); in sca_set_port()
469 sca_out(port->txs, msci + TXS, card); in sca_open()
Dhd64570.c437 port->txs = (port->txs & ~CLK_BRG_MASK) | br; in sca_set_port()
445 sca_out(port->txs, msci + TXS, card); in sca_set_port()
513 sca_out(port->txs, msci + TXS, card); in sca_open()
/Linux-v5.4/drivers/net/wireless/ath/ath9k/
Dhtc_drv_txrx.c442 struct __wmi_event_txstatus *txs) in ath9k_htc_tx_process() argument
471 if (!txok || !vif || !txs) in ath9k_htc_tx_process()
474 if (txs->ts_flags & ATH9K_HTC_TXSTAT_ACK) { in ath9k_htc_tx_process()
480 if (txs->ts_flags & ATH9K_HTC_TXSTAT_FILT) in ath9k_htc_tx_process()
483 if (txs->ts_flags & ATH9K_HTC_TXSTAT_RTC_CTS) in ath9k_htc_tx_process()
487 rate->idx = MS(txs->ts_rate, ATH9K_HTC_TXSTAT_RATE); in ath9k_htc_tx_process()
489 if (txs->ts_flags & ATH9K_HTC_TXSTAT_MCS) { in ath9k_htc_tx_process()
492 if (txs->ts_flags & ATH9K_HTC_TXSTAT_CW40) in ath9k_htc_tx_process()
494 if (txs->ts_flags & ATH9K_HTC_TXSTAT_SGI) in ath9k_htc_tx_process()
614 struct __wmi_event_txstatus *txs) in ath9k_htc_tx_get_packet() argument
[all …]
Dwmi.h144 struct __wmi_event_txstatus txs; member
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dampdu.c824 struct tx_status *txs, u8 mcs) in brcms_c_ampdu_rate_status() argument
838 struct sk_buff *p, struct tx_status *txs, in brcms_c_ampdu_dotxstatus_complete() argument
871 queue = txs->frameid & TXFID_QUEUE_MASK; in brcms_c_ampdu_dotxstatus_complete()
872 supr_status = txs->status & TX_STATUS_SUPR_MASK; in brcms_c_ampdu_dotxstatus_complete()
874 if (txs->status & TX_STATUS_ACK_RCV) { in brcms_c_ampdu_dotxstatus_complete()
878 WARN_ON(!(txs->status & TX_STATUS_INTERMEDIATE)); in brcms_c_ampdu_dotxstatus_complete()
879 start_seq = txs->sequence >> SEQNUM_SHIFT; in brcms_c_ampdu_dotxstatus_complete()
880 bitmap[0] = (txs->status & TX_STATUS_BA_BMAP03_MASK) >> in brcms_c_ampdu_dotxstatus_complete()
929 } else if (txs->phyerr) { in brcms_c_ampdu_dotxstatus_complete()
933 __func__, txs->phyerr); in brcms_c_ampdu_dotxstatus_complete()
[all …]
Dampdu.h49 struct sk_buff *p, struct tx_status *txs);
Dmain.c834 brcms_c_dotxstatus(struct brcms_c_info *wlc, struct tx_status *txs) in brcms_c_dotxstatus() argument
852 trace_brcms_txstatus(&wlc->hw->d11core->dev, txs->framelen, in brcms_c_dotxstatus()
853 txs->frameid, txs->status, txs->lasttxtime, in brcms_c_dotxstatus()
854 txs->sequence, txs->phyerr, txs->ackphyrxsh); in brcms_c_dotxstatus()
861 if (!(txs->status & TX_STATUS_AMPDU) in brcms_c_dotxstatus()
862 && (txs->status & TX_STATUS_INTERMEDIATE)) { in brcms_c_dotxstatus()
868 queue = txs->frameid & TXFID_QUEUE_MASK; in brcms_c_dotxstatus()
885 if (txs->phyerr) in brcms_c_dotxstatus()
887 txs->phyerr, txh->MainRates); in brcms_c_dotxstatus()
889 if (txs->frameid != le16_to_cpu(txh->TxFrameID)) { in brcms_c_dotxstatus()
[all …]
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c846 u32 final_rate, final_rate_flags, final_nss, txs; in mt7615_fill_txs() local
851 txs = le32_to_cpu(txs_data[1]); in mt7615_fill_txs()
852 ampdu = !fixed_rate && (txs & MT_TXS1_AMPDU); in mt7615_fill_txs()
854 txs = le32_to_cpu(txs_data[3]); in mt7615_fill_txs()
855 count = FIELD_GET(MT_TXS3_TX_COUNT, txs); in mt7615_fill_txs()
856 last_idx = FIELD_GET(MT_TXS3_LAST_TX_RATE, txs); in mt7615_fill_txs()
858 txs = le32_to_cpu(txs_data[0]); in mt7615_fill_txs()
859 final_rate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt7615_fill_txs()
860 ack_timeout = txs & MT_TXS0_ACK_TIMEOUT; in mt7615_fill_txs()
862 if (!ampdu && (txs & MT_TXS0_RTS_TIMEOUT)) in mt7615_fill_txs()
[all …]
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c963 u32 txs; in mt7603_fill_txs() local
970 txs = le32_to_cpu(txs_data[4]); in mt7603_fill_txs()
971 ampdu = !fixed_rate && (txs & MT_TXS4_AMPDU); in mt7603_fill_txs()
972 count = FIELD_GET(MT_TXS4_TX_COUNT, txs); in mt7603_fill_txs()
973 last_idx = FIELD_GET(MT_TXS4_LAST_TX_RATE, txs); in mt7603_fill_txs()
975 txs = le32_to_cpu(txs_data[0]); in mt7603_fill_txs()
976 final_rate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt7603_fill_txs()
977 ack_timeout = txs & MT_TXS0_ACK_TIMEOUT; in mt7603_fill_txs()
979 if (!ampdu && (txs & MT_TXS0_RTS_TIMEOUT)) in mt7603_fill_txs()
982 if (txs & MT_TXS0_QUEUE_TIMEOUT) in mt7603_fill_txs()
[all …]
/Linux-v5.4/drivers/net/ethernet/atheros/atlx/
Datl2.c473 struct tx_pkt_status *txs; in atl2_intr_tx() local
479 txs = adapter->txs_ring + txs_write_ptr; in atl2_intr_tx()
480 if (!txs->update) in atl2_intr_tx()
484 txs->update = 0; in atl2_intr_tx()
494 if (txph->pkt_size != txs->pkt_size) { in atl2_intr_tx()
495 struct tx_pkt_status *old_txs = txs; in atl2_intr_tx()
500 *(u32 *)txph, *(u32 *)txs); in atl2_intr_tx()
504 txs = adapter->txs_ring + txs_write_ptr; in atl2_intr_tx()
507 *(u32 *)txs); in atl2_intr_tx()
509 txs = adapter->txs_ring + in atl2_intr_tx()
[all …]
/Linux-v5.4/drivers/atm/
Dambassador.c286 static unsigned int txs = 32; variable
1495 static int create_queues(amb_dev *dev, unsigned int cmds, unsigned int txs, in create_queues() argument
1507 total += txs * (sizeof(tx_in) + sizeof(tx_out)); in create_queues()
1554 txq->maximum = txs - 1; in create_queues()
1558 txq->in.limit = in + txs; in create_queues()
1565 txq->out.limit = out + txs; in create_queues()
2100 } else if (create_queues (dev, cmds, txs, rxs, rxs_bs)) { in amb_init()
2313 if (txs < MIN_QUEUE_SIZE) in amb_check_args()
2315 txs = MIN_QUEUE_SIZE); in amb_check_args()
2346 module_param(txs, uint, 0);
[all …]
/Linux-v5.4/drivers/net/
Dxen-netfront.c1535 struct xen_netif_tx_sring *txs; in setup_netfront() local
1545 txs = (struct xen_netif_tx_sring *)get_zeroed_page(GFP_NOIO | __GFP_HIGH); in setup_netfront()
1546 if (!txs) { in setup_netfront()
1551 SHARED_RING_INIT(txs); in setup_netfront()
1552 FRONT_RING_INIT(&queue->tx, txs, XEN_PAGE_SIZE); in setup_netfront()
1554 err = xenbus_grant_ring(dev, txs, 1, &gref); in setup_netfront()
1597 free_page((unsigned long)txs); in setup_netfront()
/Linux-v5.4/drivers/net/xen-netback/
Dnetback.c1454 struct xen_netif_tx_sring *txs; in xenvif_map_frontend_data_rings() local
1464 txs = (struct xen_netif_tx_sring *)addr; in xenvif_map_frontend_data_rings()
1465 BACK_RING_INIT(&queue->tx, txs, XEN_PAGE_SIZE); in xenvif_map_frontend_data_rings()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwsignal.c307 #define brcmf_txstatus_get_field(txs, field) \ argument
308 brcmu_maskget32(txs, BRCMF_FWS_TXSTAT_ ## field ## _MASK, \