Home
last modified time | relevance | path

Searched refs:trsw (Results 1 – 5 of 5) sorted by relevance

/src/sys/contrib/dev/rtw88/
H A Drtw8703b.h22 u8 trsw: 1; member
24 u8 trsw: 1;
/src/sys/dev/bwn/
H A Dif_bwn_phy_lp.c2280 uint16_t trsw = (tx << 1) | rx; in bwn_phy_lp_set_trsw_over() local
2282 BWN_PHY_SETMASK(mac, BWN_PHY_RF_OVERRIDE_VAL_0, 0xfffc, trsw); in bwn_phy_lp_set_trsw_over()
2291 uint16_t ext_lna, high_gain, lna, low_gain, trsw, tmp; in bwn_phy_lp_set_rxgain() local
2294 trsw = gain & 0x1; in bwn_phy_lp_set_rxgain()
2298 BWN_PHY_SETMASK(mac, BWN_PHY_RF_OVERRIDE_VAL_0, 0xfffe, trsw); in bwn_phy_lp_set_rxgain()
2308 trsw = ~(gain >> 20) & 0x1; in bwn_phy_lp_set_rxgain()
2310 BWN_PHY_SETMASK(mac, BWN_PHY_RF_OVERRIDE_VAL_0, 0xfffe, trsw); in bwn_phy_lp_set_rxgain()
/src/sys/dev/bwi/
H A Dbwirf.c390 uint16_t trsw; in bwi_rf_get_gains() local
483 trsw = 0x1b; in bwi_rf_get_gains()
485 trsw -= 3; in bwi_rf_get_gains()
490 trsw = 0x18; in bwi_rf_get_gains()
516 rf->rf_rx_gain = trsw * 2; in bwi_rf_get_gains()
/src/sys/contrib/dev/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c1062 u16 trsw, in wlc_lcnphy_set_rx_gain_by_distribution() argument
1093 mod_phy_reg(pi, 0x44d, (0x1 << 0), (!trsw) << 0); in wlc_lcnphy_set_rx_gain_by_distribution()
5017 u16 trsw, ext_lna, lna1, lna2, tia, biq0, biq1, gain0_15, gain16_19; in wlc_lcnphy_set_rx_gain() local
5019 trsw = (gain & ((u32) 1 << 28)) ? 0 : 1; in wlc_lcnphy_set_rx_gain()
5032 mod_phy_reg(pi, 0x44d, (0x1 << 0), trsw << 0); in wlc_lcnphy_set_rx_gain()
/src/sys/contrib/dev/rtw89/
H A Drtw8852c.c1652 u8 trsw_rx, u8 trsw, u8 trsw_b) in rtw8852c_bb_gpio_trsw() argument
1665 val = FIELD_PREP(B_P0_TRSW_A, trsw) | FIELD_PREP(B_P0_TRSW_B, trsw_b); in rtw8852c_bb_gpio_trsw()