Lines Matching refs:tc

133 	struct tc_settings *tc = lvts_data->tc;  in set_tc_hw_reboot_threshold()  local
152 for (i = 0; i < tc[tc_id].num_sensor; i++) { in set_tc_hw_reboot_threshold()
154 &(tc[tc_id].coeff), i, trip_point); in set_tc_hw_reboot_threshold()
163 &(tc[tc_id].coeff), d_index, trip_point); in set_tc_hw_reboot_threshold()
263 struct tc_settings *tc = lvts_data->tc; in init_controller_v1() local
268 if (tc[i].ctrl_on_off == CTRL_OFF) in init_controller_v1()
285 struct tc_settings *tc = lvts_data->tc; in mt8189_device_enable_and_init() local
289 if (tc[i].ctrl_on_off == CTRL_OFF) in mt8189_device_enable_and_init()
307 struct tc_settings *tc = lvts_data->tc; in mt8189_device_read_count_rc_n() local
326 if (tc[i].ctrl_on_off == CTRL_OFF) in mt8189_device_read_count_rc_n()
333 for (j = 0; j < tc[i].num_sensor; j++) { in mt8189_device_read_count_rc_n()
337 if (tc[i].sensor_on_off[j] != SEN_ON) in mt8189_device_read_count_rc_n()
341 s_index = tc[i].sensor_map[j]; in mt8189_device_read_count_rc_n()
459 struct tc_settings *tc = lvts_data->tc; in mt8189_device_identification() local
463 if (tc[i].ctrl_on_off == CTRL_OFF) in mt8189_device_identification()
475 if (tc[i].ctrl_on_off == CTRL_OFF) in mt8189_device_identification()
494 struct tc_settings *tc = lvts_data->tc; in mt8189_efuse_to_cal_data() local
501 tc[i].coeff.golden_temp = cal_data->golden_temp; in mt8189_efuse_to_cal_data()
542 struct tc_settings *tc = lvts_data->tc; in mt8189_check_cal_data() local
579 tc[i].coeff.golden_temp = cal_data->default_golden_temp; in mt8189_check_cal_data()
586 struct tc_settings *tc = lvts_data->tc; in mt8189_update_coef_data() local
590 if (tc[i].ctrl_on_off == CTRL_OFF) in mt8189_update_coef_data()
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()
723 .tc = mt8189_tc_settings,