Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac3_mac.c15 __le32 *rxv) in mt76_connac3_mac_decode_he_radiotap_ru() argument
17 u32 ru = le32_get_bits(rxv[0], MT_PRXV_HE_RU_ALLOC), offs = 0; in mt76_connac3_mac_decode_he_radiotap_ru()
58 mt76_connac3_mac_decode_he_mu_radiotap(struct sk_buff *skb, __le32 *rxv) in mt76_connac3_mac_decode_he_mu_radiotap() argument
81 le32_get_bits(rxv[4], MT_CRXV_HE_NUM_USER)); in mt76_connac3_mac_decode_he_mu_radiotap()
83 he_mu->ru_ch1[0] = le32_get_bits(rxv[16], MT_CRXV_HE_RU0) & 0xff; in mt76_connac3_mac_decode_he_mu_radiotap()
87 he_mu->ru_ch2[0] = le32_get_bits(rxv[16], MT_CRXV_HE_RU1) & 0xff; in mt76_connac3_mac_decode_he_mu_radiotap()
93 he_mu->ru_ch1[1] = le32_get_bits(rxv[16], MT_CRXV_HE_RU2) & 0xff; in mt76_connac3_mac_decode_he_mu_radiotap()
95 ru_l = le32_get_bits(rxv[16], MT_CRXV_HE_RU3_L); in mt76_connac3_mac_decode_he_mu_radiotap()
96 ru_h = le32_get_bits(rxv[17], MT_CRXV_HE_RU3_H) & 0x7; in mt76_connac3_mac_decode_he_mu_radiotap()
101 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.c741 __le32 *rxv) in mt76_connac2_mac_decode_he_radiotap_ru() argument
746 ru_l = le32_get_bits(rxv[0], MT_PRXV_HE_RU_ALLOC_L); in mt76_connac2_mac_decode_he_radiotap_ru()
747 ru_h = le32_get_bits(rxv[1], MT_PRXV_HE_RU_ALLOC_H); in mt76_connac2_mac_decode_he_radiotap_ru()
789 __le32 *rxv) in mt76_connac2_mac_decode_he_mu_radiotap() argument
819 le32_get_bits(rxv[2], MT_CRXV_HE_NUM_USER)); in mt76_connac2_mac_decode_he_mu_radiotap()
821 he_mu->ru_ch1[0] = le32_get_bits(rxv[3], MT_CRXV_HE_RU0); in mt76_connac2_mac_decode_he_mu_radiotap()
826 le32_get_bits(rxv[3], MT_CRXV_HE_RU1); in mt76_connac2_mac_decode_he_mu_radiotap()
831 le32_get_bits(rxv[3], MT_CRXV_HE_RU2); in mt76_connac2_mac_decode_he_mu_radiotap()
833 le32_get_bits(rxv[3], MT_CRXV_HE_RU3); in mt76_connac2_mac_decode_he_mu_radiotap()
839 __le32 *rxv, u32 mode) in mt76_connac2_mac_decode_he_radiotap() argument
[all …]
H A Dmt76_connac.h415 __le32 *rxv, u32 mode);
421 __le32 *rxv, u8 *mode);
429 void mt76_connac3_mac_decode_he_radiotap(struct sk_buff *skb, __le32 *rxv,
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmac.c172 __le32 *rxv = NULL, *rxd = (__le32 *)skb->data; in mt7921_mac_fill_rx() local
332 rxv = rxd; in mt7921_mac_fill_rx()
337 v0 = le32_to_cpu(rxv[0]); in mt7921_mac_fill_rx()
338 v1 = le32_to_cpu(rxv[1]); in mt7921_mac_fill_rx()
344 rxv, &mode); in mt7921_mac_fill_rx()
353 rxv = rxd; in mt7921_mac_fill_rx()
357 v1 = le32_to_cpu(rxv[0]); in mt7921_mac_fill_rx()
432 if (rxv && mode >= MT_PHY_TYPE_HE_SU && !(status->flag & RX_FLAG_8023)) in mt7921_mac_fill_rx()
433 mt76_connac2_mac_decode_he_radiotap(&dev->mt76, skb, rxv, mode); in mt7921_mac_fill_rx()
H A Dmt7921.h98 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2) argument
/openbmc/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()
1114 ch_buf_num = cpdma_chan_get_rx_buf_num(cpsw->rxv[ch].ch); in cpsw_fill_rx_channels()
1127 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()
545 vec = cpsw->rxv; in cpsw_update_channels_res()
H A Dcpsw.c446 ret = cpdma_chan_submit_mapped(cpsw->rxv[ch].ch, new_page, dma, in cpsw_rx_handler()
1605 cpsw->rxv[0].ch = cpdma_chan_create(cpsw->dma, 0, cpsw_rx_handler, 1); in cpsw_probe()
1606 if (IS_ERR(cpsw->rxv[0].ch)) { in cpsw_probe()
1608 ret = PTR_ERR(cpsw->rxv[0].ch); in cpsw_probe()
H A Dcpsw_new.c391 ret = cpdma_chan_submit_mapped(cpsw->rxv[ch].ch, new_page, dma, in cpsw_rx_handler()
1958 cpsw->rxv[0].ch = cpdma_chan_create(cpsw->dma, 0, cpsw_rx_handler, 1); in cpsw_probe()
1959 if (IS_ERR(cpsw->rxv[0].ch)) { in cpsw_probe()
1961 ret = PTR_ERR(cpsw->rxv[0].ch); in cpsw_probe()
H A Dcpsw_priv.h348 struct cpsw_vector rxv[CPSW_MAX_QUEUES]; member
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c280 __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 …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c346 __le32 *rxv, u8 *mode) in mt7996_mac_fill_rx_rate() argument
353 v0 = le32_to_cpu(rxv[0]); in mt7996_mac_fill_rx_rate()
354 v2 = le32_to_cpu(rxv[2]); in mt7996_mac_fill_rx_rate()
460 __le32 *rxv = NULL; in mt7996_mac_fill_rx() local
621 rxv = rxd; in mt7996_mac_fill_rx()
626 v3 = le32_to_cpu(rxv[3]); in mt7996_mac_fill_rx()
641 ret = mt7996_mac_fill_rx_rate(dev, status, sband, rxv, &mode); in mt7996_mac_fill_rx()
713 if (rxv && mode >= MT_PHY_TYPE_HE_SU && !(status->flag & RX_FLAG_8023)) in mt7996_mac_fill_rx()
714 mt76_connac3_mac_decode_he_radiotap(skb, rxv, mode); in mt7996_mac_fill_rx()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c20 #define to_rssi(field, rxv) ((FIELD_GET(field, rxv) - 220) / 2) argument
217 static void mt7615_mac_fill_tm_rx(struct mt7615_phy *phy, __le32 *rxv) in mt7615_mac_fill_tm_rx() argument
220 u32 rxv1 = le32_to_cpu(rxv[0]); in mt7615_mac_fill_tm_rx()
221 u32 rxv3 = le32_to_cpu(rxv[2]); in mt7615_mac_fill_tm_rx()
222 u32 rxv4 = le32_to_cpu(rxv[3]); in mt7615_mac_fill_tm_rx()
223 u32 rxv5 = le32_to_cpu(rxv[4]); in mt7615_mac_fill_tm_rx()