Lines Matching defs:R
23 static void calculate_coef(int *m, int *R, u32 current_lsb, int power_coef)
59 *R = scale_factor;
85 int ret, m, R;
107 info->R[PSC_VOLTAGE_IN] = 2;
109 info->R[PSC_VOLTAGE_OUT] = 2;
140 calculate_coef(&m, &R, current_lsb, 1);
142 info->R[PSC_CURRENT_OUT] = R;
145 calculate_coef(&m, &R, current_lsb, 25);
147 info->R[PSC_POWER] = R;