Searched refs:tmp_gs (Results 1 – 1 of 1) sorted by relevance
3895 u32 tmp_gs = 0; in rtw8822c_dpk_cal_gs() local3950 tmp_gs = (u16)rtw_read32_mask(rtwdev, REG_STAT_RPT, BIT_RPT_DGAIN); in rtw8822c_dpk_cal_gs()3951 tmp_gs = (tmp_gs * 910) >> 10; in rtw8822c_dpk_cal_gs()3952 tmp_gs = DIV_ROUND_CLOSEST(tmp_gs, 10); in rtw8822c_dpk_cal_gs()3955 rtw_write32_mask(rtwdev, REG_DPD_CTL0_S0, BIT_GS_PWSF, tmp_gs); in rtw8822c_dpk_cal_gs()3957 rtw_write32_mask(rtwdev, REG_DPD_CTL0_S1, BIT_GS_PWSF, tmp_gs); in rtw8822c_dpk_cal_gs()3959 dpk_info->dpk_gs[path] = tmp_gs; in rtw8822c_dpk_cal_gs()