Lines Matching refs:sensor
216 struct vendor_temperature *sensor, in initialize_sensor() argument
220 if (v_sen_t == NULL || sensor == NULL || in initialize_sensor()
226 sensor->tzn = get_tzn(v_sen_t->sensor_list[sens_idx]); in initialize_sensor()
227 if (sensor->tzn < 0) { in initialize_sensor()
229 v_sen_t->sensor_list[sens_idx], sensor->tzn); in initialize_sensor()
233 sensor->t.name = get_cpu_label(sens_idx); in initialize_sensor()
235 sensor->t.name = v_sen_t->label; in initialize_sensor()
237 sensor->t.type = v_sen_t->type; in initialize_sensor()
238 sensor->mult = v_sen_t->mult; in initialize_sensor()
241 sensor->t.throttling_threshold = v_sen_t->throt_thresh; in initialize_sensor()
243 sensor->t.throttling_threshold = UNKNOWN_TEMPERATURE; in initialize_sensor()
246 sensor->t.shutdown_threshold = v_sen_t->shutdwn_thresh; in initialize_sensor()
248 sensor->t.shutdown_threshold = UNKNOWN_TEMPERATURE; in initialize_sensor()
251 sensor->t.vr_throttling_threshold = v_sen_t->vr_thresh; in initialize_sensor()
253 sensor->t.vr_throttling_threshold = UNKNOWN_TEMPERATURE; in initialize_sensor()