Lines Matching refs:lna_idx
3944 dig->cur_gaincode.lna_idx = LNA_IDX_MAX; in rtw89_phy_dig_para_reset()
3947 dig->force_gaincode.lna_idx = LNA_IDX_MAX; in rtw89_phy_dig_para_reset()
3967 u8 lna_idx; in rtw89_phy_dig_lna_idx_by_rssi() local
3970 lna_idx = RTW89_DIG_GAIN_LNA_IDX6; in rtw89_phy_dig_lna_idx_by_rssi()
3972 lna_idx = RTW89_DIG_GAIN_LNA_IDX5; in rtw89_phy_dig_lna_idx_by_rssi()
3974 lna_idx = RTW89_DIG_GAIN_LNA_IDX4; in rtw89_phy_dig_lna_idx_by_rssi()
3976 lna_idx = RTW89_DIG_GAIN_LNA_IDX3; in rtw89_phy_dig_lna_idx_by_rssi()
3978 lna_idx = RTW89_DIG_GAIN_LNA_IDX2; in rtw89_phy_dig_lna_idx_by_rssi()
3980 lna_idx = RTW89_DIG_GAIN_LNA_IDX1; in rtw89_phy_dig_lna_idx_by_rssi()
3982 return lna_idx; in rtw89_phy_dig_lna_idx_by_rssi()
4004 s8 lna_gain = dig->lna_gain[set->lna_idx]; in rtw89_phy_dig_rxb_idx_by_rssi()
4022 set->lna_idx = rtw89_phy_dig_lna_idx_by_rssi(rtwdev, rssi); in rtw89_phy_dig_gaincode_by_rssi()
4028 rssi, set->lna_idx, set->tia_idx, set->rxb_idx); in rtw89_phy_dig_gaincode_by_rssi()
4073 static void rtw89_phy_dig_set_lna_idx(struct rtw89_dev *rtwdev, u8 lna_idx) in rtw89_phy_dig_set_lna_idx() argument
4078 dig_regs->p0_lna_init.mask, lna_idx); in rtw89_phy_dig_set_lna_idx()
4080 dig_regs->p1_lna_init.mask, lna_idx); in rtw89_phy_dig_set_lna_idx()
4106 rtw89_phy_dig_set_lna_idx(rtwdev, set.lna_idx); in rtw89_phy_dig_set_igi_cr()
4111 set.lna_idx, set.tia_idx, set.rxb_idx); in rtw89_phy_dig_set_igi_cr()