Searched refs:trsw (Results 1 – 3 of 3) 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/rtw89/ |
H A D | rtw8852c.c | 1548 u8 trsw_rx, u8 trsw, u8 trsw_b) in rtw8852c_bb_gpio_init() 1561 val = FIELD_PREP(B_P0_TRSW_A, trsw) | FIELD_PREP(B_P0_TRSW_B, trsw_b); in rtw8852c_bb_gpio_init() 1492 rtw8852c_bb_gpio_trsw(struct rtw89_dev * rtwdev,enum rtw89_rf_path path,u8 tx_path_en,u8 trsw_tx,u8 trsw_rx,u8 trsw,u8 trsw_b) rtw8852c_bb_gpio_trsw() argument
|