Home
last modified time | relevance | path

Searched refs:rxv (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac3_mac.c18 __le32 *rxv) in mt76_connac3_mac_decode_he_radiotap_ru() argument
20 u32 ru = le32_get_bits(rxv[0], MT_PRXV_HE_RU_ALLOC), offs = 0; in mt76_connac3_mac_decode_he_radiotap_ru()
61 mt76_connac3_mac_decode_he_mu_radiotap(struct sk_buff *skb, __le32 *rxv) in mt76_connac3_mac_decode_he_mu_radiotap() argument
84 le32_get_bits(rxv[4], MT_CRXV_HE_NUM_USER)); in mt76_connac3_mac_decode_he_mu_radiotap()
86 he_mu->ru_ch1[0] = le32_get_bits(rxv[16], MT_CRXV_HE_RU0) & 0xff; in mt76_connac3_mac_decode_he_mu_radiotap()
90 he_mu->ru_ch2[0] = le32_get_bits(rxv[16], MT_CRXV_HE_RU1) & 0xff; in mt76_connac3_mac_decode_he_mu_radiotap()
96 he_mu->ru_ch1[1] = le32_get_bits(rxv[16], MT_CRXV_HE_RU2) & 0xff; in mt76_connac3_mac_decode_he_mu_radiotap()
98 ru_l = le32_get_bits(rxv[16], MT_CRXV_HE_RU3_L); in mt76_connac3_mac_decode_he_mu_radiotap()
99 ru_h = le32_get_bits(rxv[17], MT_CRXV_HE_RU3_H) & 0x7; in mt76_connac3_mac_decode_he_mu_radiotap()
104 void mt76_connac3_mac_decode_he_radiotap(struct sk_buff *skb, __le32 *rxv, in mt76_connac3_mac_decode_he_radiotap() argument
[all …]
H A Dmt76_connac_mac.c774 __le32 *rxv) in mt76_connac2_mac_decode_he_radiotap_ru() argument
779 ru_l = le32_get_bits(rxv[0], MT_PRXV_HE_RU_ALLOC_L); in mt76_connac2_mac_decode_he_radiotap_ru()
780 ru_h = le32_get_bits(rxv[1], MT_PRXV_HE_RU_ALLOC_H); in mt76_connac2_mac_decode_he_radiotap_ru()
822 __le32 *rxv) in mt76_connac2_mac_decode_he_mu_radiotap() argument
852 le32_get_bits(rxv[2], MT_CRXV_HE_NUM_USER)); in mt76_connac2_mac_decode_he_mu_radiotap()
854 he_mu->ru_ch1[0] = le32_get_bits(rxv[3], MT_CRXV_HE_RU0); in mt76_connac2_mac_decode_he_mu_radiotap()
859 le32_get_bits(rxv[3], MT_CRXV_HE_RU1); in mt76_connac2_mac_decode_he_mu_radiotap()
864 le32_get_bits(rxv[3], MT_CRXV_HE_RU2); in mt76_connac2_mac_decode_he_mu_radiotap()
866 le32_get_bits(rxv[3], MT_CRXV_HE_RU3); in mt76_connac2_mac_decode_he_mu_radiotap()
872 __le32 *rxv, u32 mode) in mt76_connac2_mac_decode_he_radiotap() argument
[all …]
H A Dmt76_connac.h443 __le32 *rxv, u32 mode);
449 __le32 *rxv, u8 *mode);
457 void mt76_connac3_mac_decode_he_radiotap(struct sk_buff *skb, __le32 *rxv,
459 void mt76_connac3_mac_decode_eht_radiotap(struct sk_buff *skb, __le32 *rxv,
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmac.c175 __le32 *rxv = NULL, *rxd = (__le32 *)skb->data; in mt7921_mac_fill_rx() local
333 rxv = rxd; in mt7921_mac_fill_rx()
338 v0 = le32_to_cpu(rxv[0]); in mt7921_mac_fill_rx()
339 v1 = le32_to_cpu(rxv[1]); in mt7921_mac_fill_rx()
345 rxv, &mode); in mt7921_mac_fill_rx()
354 rxv = rxd; in mt7921_mac_fill_rx()
358 v1 = le32_to_cpu(rxv[0]); in mt7921_mac_fill_rx()
433 if (rxv && mode >= MT_PHY_TYPE_HE_SU && !(status->flag & RX_FLAG_8023)) in mt7921_mac_fill_rx()
434 mt76_connac2_mac_decode_he_radiotap(&dev->mt76, skb, rxv, mode); in mt7921_mac_fill_rx()
H A Dmt7921.h104 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2) argument
/linux/drivers/net/ethernet/ti/
H A Dcpsw_priv.c185 struct cpsw_vector *rxv; in cpsw_rx_mq_poll() local
193 rxv = &cpsw->rxv[ch]; in cpsw_rx_mq_poll()
194 if (unlikely(rxv->budget > budget - num_rx)) in cpsw_rx_mq_poll()
197 cur_budget = rxv->budget; in cpsw_rx_mq_poll()
199 num_rx += cpdma_chan_process(rxv->ch, cur_budget); in cpsw_rx_mq_poll()
217 num_rx = cpdma_chan_process(cpsw->rxv[0].ch, budget); in cpsw_rx_poll()
424 cpsw->rxv[i].budget = ch_budget; in cpsw_split_res()
429 cpsw->rxv[0].budget += budget; in cpsw_split_res()
1094 ch_buf_num = cpdma_chan_get_rx_buf_num(cpsw->rxv[ch].ch); in cpsw_fill_rx_channels()
1107 ret = cpdma_chan_idle_submit_mapped(cpsw->rxv[ch].ch, in cpsw_fill_rx_channels()
[all …]
H A Dcpsw_ethtool.c289 cpdma_chan_get_stats(cpsw->rxv[ch].ch, &ch_stats); in cpsw_get_ethtool_stats()
530 vec = cpsw->rxv; in cpsw_update_channels_res()
H A Dcpsw.c469 ret = cpdma_chan_submit_mapped(cpsw->rxv[ch].ch, new_page, dma, in cpsw_rx_handler()
1653 cpsw->rxv[0].ch = cpdma_chan_create(cpsw->dma, 0, cpsw_rx_handler, 1); in cpsw_probe()
1654 if (IS_ERR(cpsw->rxv[0].ch)) { in cpsw_probe()
1656 ret = PTR_ERR(cpsw->rxv[0].ch); in cpsw_probe()
H A Dcpsw_new.c413 ret = cpdma_chan_submit_mapped(cpsw->rxv[ch].ch, new_page, dma, in cpsw_rx_handler()
1994 cpsw->rxv[0].ch = cpdma_chan_create(cpsw->dma, 0, cpsw_rx_handler, 1); in cpsw_probe()
1995 if (IS_ERR(cpsw->rxv[0].ch)) { in cpsw_probe()
1997 ret = PTR_ERR(cpsw->rxv[0].ch); in cpsw_probe()
H A Dcpsw_priv.h348 struct cpsw_vector rxv[CPSW_MAX_QUEUES]; member
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmac.c252 __le32 *rxv, u8 *mode) in mt7925_mac_fill_rx_rate() argument
259 v0 = le32_to_cpu(rxv[0]); in mt7925_mac_fill_rx_rate()
260 v2 = le32_to_cpu(rxv[2]); in mt7925_mac_fill_rx_rate()
361 __le32 *rxv = NULL, *rxd = (__le32 *)skb->data; in mt7925_mac_fill_rx() local
514 rxv = rxd; in mt7925_mac_fill_rx()
519 v3 = le32_to_cpu(rxv[3]); in mt7925_mac_fill_rx()
534 ret = mt7925_mac_fill_rx_rate(dev, status, sband, rxv, &mode); in mt7925_mac_fill_rx()
598 if (rxv && !(status->flag & RX_FLAG_8023)) { in mt7925_mac_fill_rx()
601 mt76_connac3_mac_decode_eht_radiotap(skb, rxv, mode); in mt7925_mac_fill_rx()
604 mt76_connac3_mac_decode_he_radiotap(skb, rxv, mode); in mt7925_mac_fill_rx()
H A Dmt7925.h112 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2) argument
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c284 __le32 *rxv = NULL; in mt7915_mac_fill_rx() local
442 rxv = rxd; in mt7915_mac_fill_rx()
447 v0 = le32_to_cpu(rxv[0]); in mt7915_mac_fill_rx()
448 v1 = le32_to_cpu(rxv[1]); in mt7915_mac_fill_rx()
468 sband, rxv, &mode); in mt7915_mac_fill_rx()
545 if (rxv && mode >= MT_PHY_TYPE_HE_SU && !(status->flag & RX_FLAG_8023)) in mt7915_mac_fill_rx()
546 mt76_connac2_mac_decode_he_radiotap(&dev->mt76, skb, rxv, mode); in mt7915_mac_fill_rx()
566 __le32 *rxv = rxd + 4; in mt7915_mac_fill_rx_vector() local
580 rcpi = le32_to_cpu(rxv[6]); in mt7915_mac_fill_rx_vector()
581 ib_rssi = le32_to_cpu(rxv[7]); in mt7915_mac_fill_rx_vector()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c20 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2) argument
214 static void mt7615_mac_fill_tm_rx(struct mt7615_phy *phy, __le32 *rxv) in mt7615_mac_fill_tm_rx() argument
217 u32 rxv1 = le32_to_cpu(rxv[0]); in mt7615_mac_fill_tm_rx()
218 u32 rxv3 = le32_to_cpu(rxv[2]); in mt7615_mac_fill_tm_rx()
219 u32 rxv4 = le32_to_cpu(rxv[3]); in mt7615_mac_fill_tm_rx()
220 u32 rxv5 = le32_to_cpu(rxv[4]); in mt7615_mac_fill_tm_rx()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c316 __le32 *rxv, u8 *mode) in mt7996_mac_fill_rx_rate() argument
323 v0 = le32_to_cpu(rxv[0]); in mt7996_mac_fill_rx_rate()
324 v2 = le32_to_cpu(rxv[2]); in mt7996_mac_fill_rx_rate()
458 __le32 *rxv = NULL; in mt7996_mac_fill_rx() local
620 rxv = rxd; in mt7996_mac_fill_rx()
625 v3 = le32_to_cpu(rxv[3]); in mt7996_mac_fill_rx()
640 ret = mt7996_mac_fill_rx_rate(dev, status, sband, rxv, &mode); in mt7996_mac_fill_rx()
724 if (rxv && !(status->flag & RX_FLAG_8023)) { in mt7996_mac_fill_rx()
727 mt76_connac3_mac_decode_eht_radiotap(skb, rxv, mode); in mt7996_mac_fill_rx()
730 mt76_connac3_mac_decode_he_radiotap(skb, rxv, mode); in mt7996_mac_fill_rx()