Home
last modified time | relevance | path

Searched refs:rx_path (Results 1 – 14 of 14) sorted by relevance

/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Deeprom.c66 u8 *rx_path, u8 *nss) in mt7996_eeprom_parse_stream() argument
72 *rx_path = FIELD_GET(MT_EE_WIFI_CONF3_RX_PATH_BAND1, in mt7996_eeprom_parse_stream()
80 *rx_path = FIELD_GET(MT_EE_WIFI_CONF4_RX_PATH_BAND2, in mt7996_eeprom_parse_stream()
88 *rx_path = FIELD_GET(MT_EE_WIFI_CONF3_RX_PATH_BAND0, in mt7996_eeprom_parse_stream()
118 u8 path, rx_path, nss; in mt7996_eeprom_variant_valid() local
124 mt7996_eeprom_parse_stream(eeprom, i, &path, &rx_path, &nss); in mt7996_eeprom_variant_valid()
127 if (path > def_path || rx_path > def_rx_path || nss > def_nss) in mt7996_eeprom_variant_valid()
222 u8 *path, u8 *rx_path, u8 *nss) in mt7996_eeprom_parse_efuse_hw_cap() argument
242 *rx_path = min_t(u8, *rx_path, STREAM_CAP(19 + band_offs)); in mt7996_eeprom_parse_efuse_hw_cap()
290 u8 path, rx_path, nss, band_idx = phy->mt76->band_idx; in mt7996_eeprom_parse_hw_cap() local
[all …]
H A Dmcu.c3748 u8 rx_path; /* mask or num */ in mt7996_mcu_set_chan_info() member
3767 .rx_path = mt7996_rx_chainmask(phy) >> dev->chainshift[band_idx], in mt7996_mcu_set_chan_info()
3784 req.rx_path = hweight8(req.rx_path); in mt7996_mcu_set_chan_info()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Deeprom.c374 u8 band_sel, tx_path, rx_path; in mt7915_eeprom_has_background_radar() local
388 rx_path = u8_get_bits(val, MT_EE_WIFI_CONF0_RX_PATH); in mt7915_eeprom_has_background_radar()
391 tx_path == rx_path && rx_path == 2); in mt7915_eeprom_has_background_radar()
H A Dmcu.c2790 u8 rx_path; /* mask or num */ in mt7915_mcu_set_chan_info() member
2807 .rx_path = phy->mt76->chainmask >> (dev->chainshift * band), in mt7915_mcu_set_chan_info()
2816 req.rx_path = phy->mt76->test.tx_antenna_mask; in mt7915_mcu_set_chan_info()
2835 req.rx_path = hweight8(req.rx_path); in mt7915_mcu_set_chan_info()
/freebsd/sys/contrib/dev/rtw89/
H A Drtw8852b.h108 u8 rx_path; global() member
H A Drtw8852b_common.c1578 bak->rx_path = rtw89_phy_read32_idx(rtwdev, R_CHBW_MOD_V1, B_ANT_RX_SEG0, idx); in __rtw8852bx_bb_backup_tssi()
1596 rtw89_phy_write32_idx(rtwdev, R_CHBW_MOD_V1, B_ANT_RX_SEG0, bak->rx_path, idx); in __rtw8852bx_bb_restore_tssi()
1658 enum rtw89_rf_path_bit rx_path, in __rtw8852bx_bb_ctrl_rx_path() argument
1664 if (rx_path == RF_A) { in __rtw8852bx_bb_ctrl_rx_path()
1673 } else if (rx_path == RF_B) { in __rtw8852bx_bb_ctrl_rx_path()
1682 } else if (rx_path == RF_AB) { in __rtw8852bx_bb_ctrl_rx_path()
1696 (rx_path == RF_B || rx_path == RF_AB)) in __rtw8852bx_bb_ctrl_rx_path()
1703 if (rx_path == RF_A) { in __rtw8852bx_bb_ctrl_rx_path()
1713 enum rtw89_rf_path_bit rx_path) in rtw8852bx_bb_ctrl_rf_mode_rx_path() argument
1715 if (rx_path == RF_A) { in rtw8852bx_bb_ctrl_rf_mode_rx_path()
[all …]
H A Drtw8922a.c1728 enum rtw89_rf_path rx_path, in rtw8922a_ctrl_rx_path_tmac() argument
1731 u8 rx_nss = (rx_path == RF_PATH_AB) ? 2 : 1; in rtw8922a_ctrl_rx_path_tmac()
1736 if (rx_path == RF_PATH_A) { in rtw8922a_ctrl_rx_path_tmac()
1740 rtw8922a_tssi_reset(rtwdev, rx_path, phy_idx); in rtw8922a_ctrl_rx_path_tmac()
1741 } else if (rx_path == RF_PATH_B) { in rtw8922a_ctrl_rx_path_tmac()
1745 rtw8922a_tssi_reset(rtwdev, rx_path, phy_idx); in rtw8922a_ctrl_rx_path_tmac()
1746 } else if (rx_path == RF_PATH_AB) { in rtw8922a_ctrl_rx_path_tmac()
1750 rtw8922a_tssi_reset(rtwdev, rx_path, phy_idx); in rtw8922a_ctrl_rx_path_tmac()
2285 enum rtw89_rf_path rx_path, u8 rx_nss) in rtw8922a_ctrl_trx_path() argument
2291 rtw8922a_ctrl_rx_path_tmac(rtwdev, rx_path, phy_idx); in rtw8922a_ctrl_trx_path()
H A Drtw8852b_rfk.c3414 enum rtw89_rf_path_bit rx_path; in _tssi_hw_tx() local
3417 rx_path = RF_A; in _tssi_hw_tx()
3419 rx_path = RF_B; in _tssi_hw_tx()
3421 rx_path = RF_AB; in _tssi_hw_tx()
3423 rx_path = RF_ABCD; /* don't change path, but still set others */ in _tssi_hw_tx()
3428 rtw8852bx_bb_ctrl_rx_path(rtwdev, rx_path, chan); in _tssi_hw_tx()
H A Drtw8852bt_rfk.c3492 enum rtw89_rf_path_bit rx_path; in _tssi_hw_tx() local
3495 rx_path = RF_A; in _tssi_hw_tx()
3497 rx_path = RF_B; in _tssi_hw_tx()
3499 rx_path = RF_AB; in _tssi_hw_tx()
3501 rx_path = RF_ABCD; /* don't change path, but still set others */ in _tssi_hw_tx()
3506 rtw8852bx_bb_ctrl_rx_path(rtwdev, rx_path, chan); in _tssi_hw_tx()
H A Drtw8851b.c2025 enum rtw89_rf_path_bit rx_path) in rtw8851b_bb_ctrl_rx_path() argument
2030 if (rx_path == RF_A) { in rtw8851b_bb_ctrl_rx_path()
2044 if (rx_path == RF_A) { in rtw8851b_bb_ctrl_rx_path()
H A Drtw8852c.c2183 static void rtw8852c_bb_cfg_rx_path(struct rtw89_dev *rtwdev, u8 rx_path) in rtw8852c_bb_cfg_rx_path() argument
2227 if (rx_path == RF_PATH_A) { in rtw8852c_bb_cfg_rx_path()
2246 } else if (rx_path == RF_PATH_B) { in rtw8852c_bb_cfg_rx_path()
/freebsd/sys/contrib/dev/rtw88/
H A Drtw8822b.c21 u8 rx_path, bool is_tx2_path);
739 u8 rx_path, bool is_tx2_path) in rtw8822b_config_trx_mode() argument
753 if ((tx_path | rx_path) & BB_PATH_A) in rtw8822b_config_trx_mode()
758 if ((tx_path | rx_path) & BB_PATH_B) in rtw8822b_config_trx_mode()
793 if (rx_path & BB_PATH_A) in rtw8822b_config_trx_mode()
795 else if (rx_path & BB_PATH_B) in rtw8822b_config_trx_mode()
798 rx_path_sel = (rx_path << 4) | rx_path; in rtw8822b_config_trx_mode()
801 if (rx_path == BB_PATH_A || rx_path == BB_PATH_B) { in rtw8822b_config_trx_mode()
H A Drtw8822c.c24 u8 rx_path, bool is_tx2_path);
2439 static void rtw8822c_config_cck_rx_path(struct rtw_dev *rtwdev, u8 rx_path) in rtw8822c_config_cck_rx_path() argument
2441 if (rx_path == BB_PATH_A || rx_path == BB_PATH_B) { in rtw8822c_config_cck_rx_path()
2444 } else if (rx_path == BB_PATH_AB) { in rtw8822c_config_cck_rx_path()
2449 if (rx_path == BB_PATH_A) in rtw8822c_config_cck_rx_path()
2451 else if (rx_path == BB_PATH_B) in rtw8822c_config_cck_rx_path()
2453 else if (rx_path == BB_PATH_AB) in rtw8822c_config_cck_rx_path()
2457 static void rtw8822c_config_ofdm_rx_path(struct rtw_dev *rtwdev, u8 rx_path) in rtw8822c_config_ofdm_rx_path() argument
2459 if (rx_path == BB_PATH_A || rx_path == BB_PATH_B) { in rtw8822c_config_ofdm_rx_path()
2465 } else if (rx_path == BB_PATH_AB) { in rtw8822c_config_ofdm_rx_path()
[all …]
H A Dmain.h913 u8 rx_path, bool is_tx2_path);