Searched refs:tmp_gs (Results 1 – 1 of 1) sorted by relevance
3913 u32 tmp_gs = 0; in rtw8822c_dpk_cal_gs() local3968 tmp_gs = (u16)rtw_read32_mask(rtwdev, REG_STAT_RPT, BIT_RPT_DGAIN); in rtw8822c_dpk_cal_gs()3969 tmp_gs = (tmp_gs * 910) >> 10; in rtw8822c_dpk_cal_gs()3970 tmp_gs = DIV_ROUND_CLOSEST(tmp_gs, 10); in rtw8822c_dpk_cal_gs()3973 rtw_write32_mask(rtwdev, REG_DPD_CTL0_S0, BIT_GS_PWSF, tmp_gs); in rtw8822c_dpk_cal_gs()3975 rtw_write32_mask(rtwdev, REG_DPD_CTL0_S1, BIT_GS_PWSF, tmp_gs); in rtw8822c_dpk_cal_gs()3977 dpk_info->dpk_gs[path] = tmp_gs; in rtw8822c_dpk_cal_gs()