Home
last modified time | relevance | path

Searched refs:rxs (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dcommon.c33 struct ieee80211_rx_status *rxs, in ath9k_cmn_rx_accept() argument
77 rxs->flag |= RX_FLAG_FAILED_FCS_CRC; in ath9k_cmn_rx_accept()
110 rxs->flag |= RX_FLAG_MMIC_STRIPPED; in ath9k_cmn_rx_accept()
112 rxs->flag |= RX_FLAG_MMIC_ERROR; in ath9k_cmn_rx_accept()
121 struct ieee80211_rx_status *rxs, in ath9k_cmn_rx_skb_postprocess() argument
154 rxs->flag |= RX_FLAG_DECRYPTED; in ath9k_cmn_rx_skb_postprocess()
160 rxs->flag |= RX_FLAG_DECRYPTED; in ath9k_cmn_rx_skb_postprocess()
163 (rxs->flag & RX_FLAG_DECRYPTED) && in ath9k_cmn_rx_skb_postprocess()
166 rxs->flag &= ~RX_FLAG_DECRYPTED; in ath9k_cmn_rx_skb_postprocess()
173 struct ieee80211_rx_status *rxs) in ath9k_cmn_process_rate() argument
[all …]
Dar9003_mac.c481 int ath9k_hw_process_rxdesc_edma(struct ath_hw *ah, struct ath_rx_status *rxs, in ath9k_hw_process_rxdesc_edma() argument
496 rxs->rs_status = 0; in ath9k_hw_process_rxdesc_edma()
497 rxs->rs_flags = 0; in ath9k_hw_process_rxdesc_edma()
498 rxs->enc_flags = 0; in ath9k_hw_process_rxdesc_edma()
499 rxs->bw = RATE_INFO_BW_20; in ath9k_hw_process_rxdesc_edma()
501 rxs->rs_datalen = rxsp->status2 & AR_DataLen; in ath9k_hw_process_rxdesc_edma()
502 rxs->rs_tstamp = rxsp->status3; in ath9k_hw_process_rxdesc_edma()
505 rxs->rs_rssi = MS(rxsp->status5, AR_RxRSSICombined); in ath9k_hw_process_rxdesc_edma()
506 rxs->rs_rssi_ctl[0] = MS(rxsp->status1, AR_RxRSSIAnt00); in ath9k_hw_process_rxdesc_edma()
507 rxs->rs_rssi_ctl[1] = MS(rxsp->status1, AR_RxRSSIAnt01); in ath9k_hw_process_rxdesc_edma()
[all …]
Ddebug_sta.c97 struct ieee80211_rx_status *rxs; in ath_debug_rate_stats() local
113 rxs = IEEE80211_SKB_RXCB(skb); in ath_debug_rate_stats()
116 if (rxs->rate_idx >= ARRAY_SIZE(rstats->ht_stats)) in ath_debug_rate_stats()
119 if (rxs->bw == RATE_INFO_BW_40) in ath_debug_rate_stats()
120 rstats->ht_stats[rxs->rate_idx].ht40_cnt++; in ath_debug_rate_stats()
122 rstats->ht_stats[rxs->rate_idx].ht20_cnt++; in ath_debug_rate_stats()
124 if (rxs->enc_flags & RX_ENC_FLAG_SHORT_GI) in ath_debug_rate_stats()
125 rstats->ht_stats[rxs->rate_idx].sgi_cnt++; in ath_debug_rate_stats()
127 rstats->ht_stats[rxs->rate_idx].lgi_cnt++; in ath_debug_rate_stats()
133 if (rxs->enc_flags & RX_ENC_FLAG_SHORTPRE) in ath_debug_rate_stats()
[all …]
Drecv.c788 struct ieee80211_rx_status *rxs, in ath9k_process_tsf() argument
793 rxs->mactime = (tsf & ~0xffffffffULL) | rs->rs_tstamp; in ath9k_process_tsf()
796 rxs->mactime -= 0x100000000ULL; in ath9k_process_tsf()
800 rxs->mactime += 0x100000000ULL; in ath9k_process_tsf()
993 struct ath_rx_status *rs, struct ieee80211_rx_status *rxs) in ath9k_apply_ampdu_details() argument
996 rxs->flag |= RX_FLAG_AMPDU_DETAILS | RX_FLAG_AMPDU_LAST_KNOWN; in ath9k_apply_ampdu_details()
998 rxs->ampdu_reference = sc->rx.ampdu_ref; in ath9k_apply_ampdu_details()
1001 rxs->flag |= RX_FLAG_AMPDU_IS_LAST; in ath9k_apply_ampdu_details()
1006 rxs->flag |= RX_FLAG_AMPDU_DELIM_CRC_ERROR; in ath9k_apply_ampdu_details()
1018 struct ieee80211_rx_status *rxs; in ath_rx_count_airtime() local
[all …]
Dcommon.h66 struct ieee80211_rx_status *rxs,
73 struct ieee80211_rx_status *rxs,
78 struct ieee80211_rx_status *rxs);
82 struct ieee80211_rx_status *rxs);
Dar9003_mac.h117 struct ath_rx_status *rxs,
/linux-6.1.9/drivers/mfd/
Ddln2.c193 struct dln2_mod_rx_slots *rxs = &dln2->mod_rx_slots[handle]; in dln2_transfer_complete() local
201 rxc = &rxs->slots[rx_slot]; in dln2_transfer_complete()
203 spin_lock_irqsave(&rxs->lock, flags); in dln2_transfer_complete()
209 spin_unlock_irqrestore(&rxs->lock, flags); in dln2_transfer_complete()
351 struct dln2_mod_rx_slots *rxs; in find_free_slot() local
359 rxs = &dln2->mod_rx_slots[handle]; in find_free_slot()
361 spin_lock_irqsave(&rxs->lock, flags); in find_free_slot()
363 *slot = find_first_zero_bit(rxs->bmap, DLN2_MAX_RX_SLOTS); in find_free_slot()
366 struct dln2_rx_context *rxc = &rxs->slots[*slot]; in find_free_slot()
368 set_bit(*slot, rxs->bmap); in find_free_slot()
[all …]
/linux-6.1.9/drivers/net/wan/
Dc101.c68 u8 rxs, txs, tmc; /* SCA registers */ member
143 u8 rxs = port->rxs & CLK_BRG_MASK; in c101_set_iface() local
148 rxs |= CLK_BRG_RX; /* TX clock */ in c101_set_iface()
153 rxs |= CLK_LINE_RX; /* RXC input */ in c101_set_iface()
158 rxs |= CLK_LINE_RX; /* RXC input */ in c101_set_iface()
163 rxs |= CLK_LINE_RX; /* RXC input */ in c101_set_iface()
167 port->rxs = rxs; in c101_set_iface()
169 sca_out(rxs, MSCI1_OFFSET + RXS, port); in c101_set_iface()
Dpci200syn.c72 u8 rxs, txs, tmc; /* SCA registers */ member
114 u8 rxs = port->rxs & CLK_BRG_MASK; in pci200_set_iface() local
121 rxs |= CLK_BRG; /* BRG output */ in pci200_set_iface()
126 rxs |= CLK_LINE; /* RXC input */ in pci200_set_iface()
131 rxs |= CLK_LINE; /* RXC input */ in pci200_set_iface()
136 rxs |= CLK_LINE; /* RXC input */ in pci200_set_iface()
141 port->rxs = rxs; in pci200_set_iface()
143 sca_out(rxs, msci + RXS, card); in pci200_set_iface()
Dpc300too.c85 u8 rxs, txs, tmc; /* SCA registers */ member
114 u8 rxs = port->rxs & CLK_BRG_MASK; in pc300_set_iface() local
121 rxs |= CLK_BRG; /* BRG output */ in pc300_set_iface()
126 rxs |= CLK_LINE; /* RXC input */ in pc300_set_iface()
131 rxs |= CLK_LINE; /* RXC input */ in pc300_set_iface()
136 rxs |= CLK_LINE; /* RXC input */ in pc300_set_iface()
141 port->rxs = rxs; in pc300_set_iface()
143 sca_out(rxs, msci + RXS, card); in pc300_set_iface()
Dn2.c101 u8 rxs, txs, tmc; /* SCA registers */ member
158 u8 rxs = port->rxs & CLK_BRG_MASK; in n2_set_iface() local
164 rxs |= CLK_BRG_RX; /* BRG output */ in n2_set_iface()
170 rxs |= CLK_LINE_RX; /* RXC input */ in n2_set_iface()
176 rxs |= CLK_LINE_RX; /* RXC input */ in n2_set_iface()
182 rxs |= CLK_LINE_RX; /* RXC input */ in n2_set_iface()
187 port->rxs = rxs; in n2_set_iface()
189 sca_out(rxs, msci + RXS, card); in n2_set_iface()
Dhd64572.c389 port->rxs = (port->rxs & ~CLK_BRG_MASK) | br; in sca_set_port()
398 sca_out(port->rxs, msci + RXS, card); in sca_set_port()
474 sca_out(port->rxs, msci + RXS, card); in sca_open()
Dhd64570.c433 port->rxs = (port->rxs & ~CLK_BRG_MASK) | br; in sca_set_port()
441 sca_out(port->rxs, msci + RXS, card); in sca_set_port()
525 sca_out(port->rxs, msci + RXS, card); in sca_open()
/linux-6.1.9/drivers/tty/serial/
D21285.c120 unsigned int status, ch, flag, rxs, max_count = 256; in serial21285_rx_chars() local
128 rxs = *CSR_RXSTAT | RXSTAT_DUMMY_READ; in serial21285_rx_chars()
129 if (unlikely(rxs & RXSTAT_ANYERR)) { in serial21285_rx_chars()
130 if (rxs & RXSTAT_PARITY) in serial21285_rx_chars()
132 else if (rxs & RXSTAT_FRAME) in serial21285_rx_chars()
134 if (rxs & RXSTAT_OVERRUN) in serial21285_rx_chars()
137 rxs &= port->read_status_mask; in serial21285_rx_chars()
139 if (rxs & RXSTAT_PARITY) in serial21285_rx_chars()
141 else if (rxs & RXSTAT_FRAME) in serial21285_rx_chars()
145 uart_insert_char(port, rxs, RXSTAT_OVERRUN, ch, flag); in serial21285_rx_chars()
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/
Dfuneth_ethtool.c752 struct funeth_rxq_stats rxs; in fun_get_ethtool_stats() local
816 FUN_QSTAT_READ(rxqs[i], start, rxs); in fun_get_ethtool_stats()
818 ADD_STAT(rxs.rx_pkts); in fun_get_ethtool_stats()
819 ADD_STAT(rxs.rx_bytes); in fun_get_ethtool_stats()
820 ADD_STAT(rxs.rx_cso); in fun_get_ethtool_stats()
821 ADD_STAT(rxs.gro_pkts); in fun_get_ethtool_stats()
822 ADD_STAT(rxs.gro_merged); in fun_get_ethtool_stats()
823 ADD_STAT(rxs.xdp_tx); in fun_get_ethtool_stats()
824 ADD_STAT(rxs.xdp_redir); in fun_get_ethtool_stats()
825 ADD_STAT(rxs.xdp_drops); in fun_get_ethtool_stats()
[all …]
Dfuneth_main.c900 struct funeth_rxq_stats rxs; in fun_get_stats64() local
902 FUN_QSTAT_READ(rxqs[i], start, rxs); in fun_get_stats64()
903 stats->rx_packets += rxs.rx_pkts; in fun_get_stats64()
904 stats->rx_bytes += rxs.rx_bytes; in fun_get_stats64()
905 stats->rx_dropped += rxs.rx_map_err + rxs.rx_mem_drops; in fun_get_stats64()
/linux-6.1.9/drivers/net/wireless/ath/ath5k/
Dbase.c1286 struct ieee80211_rx_status *rxs) in ath5k_check_ibss_tsf() argument
1305 (unsigned long long)rxs->mactime, in ath5k_check_ibss_tsf()
1306 (unsigned long long)(rxs->mactime - bc_tstamp), in ath5k_check_ibss_tsf()
1320 if (bc_tstamp > rxs->mactime) { in ath5k_check_ibss_tsf()
1323 (unsigned long long)rxs->mactime, in ath5k_check_ibss_tsf()
1325 rxs->mactime = tsf; in ath5k_check_ibss_tsf()
1419 struct ieee80211_rx_status *rxs; in ath5k_receive_frame() local
1424 rxs = IEEE80211_SKB_RXCB(skb); in ath5k_receive_frame()
1426 rxs->flag = 0; in ath5k_receive_frame()
1428 rxs->flag |= RX_FLAG_MMIC_ERROR; in ath5k_receive_frame()
[all …]
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dd11.h1503 #define HTPHY_MMPLCPLen(rxs) \ argument
1504 ((((rxs)->PhyRxStatus_1 & PRXS1_HTPHY_MMPLCPLenL_MASK) >> 8) | \
1505 (((rxs)->PhyRxStatus_2 & PRXS2_HTPHY_MMPLCPLenH_MASK) << 8))
1507 #define HTPHY_RXPWR_ANT0(rxs) \ argument
1508 ((((rxs)->PhyRxStatus_2) & PRXS2_HTPHY_RXPWR_ANT0) >> 8)
1510 #define HTPHY_RXPWR_ANT1(rxs) \ argument
1511 (((rxs)->PhyRxStatus_3) & PRXS3_HTPHY_RXPWR_ANT1)
1513 #define HTPHY_RXPWR_ANT2(rxs) \ argument
1514 ((((rxs)->PhyRxStatus_3) & PRXS3_HTPHY_RXPWR_ANT2) >> 8)
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Ddp_rx.c3190 struct ieee80211_rx_status *rxs = IEEE80211_SKB_RXCB(msdu); in ath11k_dp_rx_h_verify_tkip_mic() local
3230 rxs->flag |= RX_FLAG_MMIC_ERROR | RX_FLAG_MMIC_STRIPPED | in ath11k_dp_rx_h_verify_tkip_mic()
3234 ath11k_dp_rx_h_ppdu(ar, rx_desc, rxs); in ath11k_dp_rx_h_verify_tkip_mic()
3236 HAL_ENCRYPT_TYPE_TKIP_MIC, rxs, true); in ath11k_dp_rx_h_verify_tkip_mic()
4017 struct ieee80211_rx_status rxs = {0}; in ath11k_dp_rx_wbm_err() local
4022 drop = ath11k_dp_rx_h_reo_err(ar, msdu, &rxs, msdu_list); in ath11k_dp_rx_wbm_err()
4025 drop = ath11k_dp_rx_h_rxdma_err(ar, msdu, &rxs); in ath11k_dp_rx_wbm_err()
4037 ath11k_dp_rx_deliver_msdu(ar, napi, msdu, &rxs); in ath11k_dp_rx_wbm_err()
4810 struct ieee80211_rx_status *rxs, bool *fcs_err) in ath11k_dp_rx_mon_merg_msdus() argument
4836 ath11k_dp_rx_h_ppdu(ar, rx_desc, rxs); in ath11k_dp_rx_mon_merg_msdus()
[all …]
/linux-6.1.9/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c1308 struct ieee80211_rx_status *rxs) in rsi_fill_rx_status() argument
1327 rxs->signal = -(rssi); in rsi_fill_rx_status()
1329 rxs->band = common->band; in rsi_fill_rx_status()
1331 freq = ieee80211_channel_to_frequency(channel, rxs->band); in rsi_fill_rx_status()
1334 rxs->freq = freq; in rsi_fill_rx_status()
1343 rxs->flag |= RX_FLAG_MMIC_STRIPPED; in rsi_fill_rx_status()
1345 rxs->flag |= RX_FLAG_DECRYPTED; in rsi_fill_rx_status()
1346 rxs->flag |= RX_FLAG_IV_STRIPPED; in rsi_fill_rx_status()
1363 rsi_perform_cqm(common, hdr->addr2, rxs->signal, vif); in rsi_fill_rx_status()
/linux-6.1.9/drivers/net/ethernet/intel/
De100.c544 struct rx *rxs ____cacheline_aligned;
1903 if (!nic->rxs) return; in e100_start_receiver()
1907 if (!rx) rx = nic->rxs; in e100_start_receiver()
2135 if (nic->rxs) { in e100_rx_clean_list()
2136 for (rx = nic->rxs, i = 0; i < count; rx++, i++) { in e100_rx_clean_list()
2144 kfree(nic->rxs); in e100_rx_clean_list()
2145 nic->rxs = NULL; in e100_rx_clean_list()
2160 if (!(nic->rxs = kcalloc(count, sizeof(struct rx), GFP_KERNEL))) in e100_rx_alloc_list()
2163 for (rx = nic->rxs, i = 0; i < count; rx++, i++) { in e100_rx_alloc_list()
2164 rx->next = (i + 1 < count) ? rx + 1 : nic->rxs; in e100_rx_alloc_list()
[all …]
/linux-6.1.9/drivers/net/xen-netback/
Dnetback.c1499 struct xen_netif_rx_sring *rxs; in xenvif_map_frontend_data_rings() local
1523 rxs = (struct xen_netif_rx_sring *)addr; in xenvif_map_frontend_data_rings()
1524 rsp_prod = READ_ONCE(rxs->rsp_prod); in xenvif_map_frontend_data_rings()
1525 req_prod = READ_ONCE(rxs->req_prod); in xenvif_map_frontend_data_rings()
1527 BACK_RING_ATTACH(&queue->rx, rxs, rsp_prod, XEN_PAGE_SIZE); in xenvif_map_frontend_data_rings()
/linux-6.1.9/drivers/net/
Dxen-netfront.c1970 struct xen_netif_rx_sring *rxs; in setup_netfront() local
1985 err = xenbus_setup_ring(dev, GFP_NOIO | __GFP_HIGH, (void **)&rxs, in setup_netfront()
1990 XEN_FRONT_RING_INIT(&queue->rx, rxs, XEN_PAGE_SIZE); in setup_netfront()