Lines Matching refs:j
309 unsigned int i, j, s_index; in mt8189_device_read_count_rc_n() local
333 for (j = 0; j < tc[i].num_sensor; j++) { in mt8189_device_read_count_rc_n()
334 if (j >= ALL_SENSING_POINTS) in mt8189_device_read_count_rc_n()
337 if (tc[i].sensor_on_off[j] != SEN_ON) in mt8189_device_read_count_rc_n()
340 refine_data_idx[j] = 0xff; in mt8189_device_read_count_rc_n()
341 s_index = tc[i].sensor_map[j]; in mt8189_device_read_count_rc_n()
343 lvts_write_device(lvts_data, SELECT_SENSOR_RCK_V1(j), in mt8189_device_read_count_rc_n()
367 udelay(50 * (j == 0)); in mt8189_device_read_count_rc_n()
376 refine_data_idx[j] = s_index; in mt8189_device_read_count_rc_n()
386 refine_data_idx[j] = s_index; in mt8189_device_read_count_rc_n()
400 if (refine_data_idx[j] != 0xff) { in mt8189_device_read_count_rc_n()
415 (0x10 | SELECT_SENSOR_RCK_V1(j)), i); in mt8189_device_read_count_rc_n()
543 unsigned int i, j; in mt8189_check_cal_data() local
558 for (j = 0; j < lvts_data->num_tc; j++) { in mt8189_check_cal_data()
559 if (cal_data->count_rc[j] != 0) { in mt8189_check_cal_data()
587 unsigned int i, j, s_index; in mt8189_update_coef_data() local
593 for (j = 0; j < tc[i].num_sensor; j++) { in mt8189_update_coef_data()
594 if (tc[i].sensor_on_off[j] != SEN_ON) in mt8189_update_coef_data()
597 s_index = tc[i].sensor_map[j]; in mt8189_update_coef_data()
598 tc[i].coeff.a[j] = COF_A_OFS + (COF_A_CONST_OFS * in mt8189_update_coef_data()