Searched refs:trsw (Results 1 – 4 of 4) sorted by relevance
| /freebsd/sys/dev/bwn/ |
| H A D | if_bwn_phy_lp.c | 2280 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()
|
| /freebsd/sys/dev/bwi/ |
| H A D | bwirf.c | 390 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()
|
| /freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_lcn.c | 1062 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() 5012 u16 trsw, ext_lna, lna1, lna2, tia, biq0, biq1, gain0_15, gain16_19; in wlc_lcnphy_set_rx_gain() local 5014 trsw = (gain & ((u32) 1 << 28)) ? 0 : 1; in wlc_lcnphy_set_rx_gain() 5027 mod_phy_reg(pi, 0x44d, (0x1 << 0), trsw << 0); in wlc_lcnphy_set_rx_gain()
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | rtw8852c.c | 1650 u8 trsw_rx, u8 trsw, u8 trsw_b) in rtw8852c_bb_gpio_trsw() argument 1663 val = FIELD_PREP(B_P0_TRSW_A, trsw) | FIELD_PREP(B_P0_TRSW_B, trsw_b); in rtw8852c_bb_gpio_trsw()
|