Searched refs:threshold_no (Results 1 – 1 of 1) sorted by relevance
101 env_get_temp_threshold(int sensor_no, int threshold_no, in env_get_temp_threshold() argument109 if (threshold_no < 1 || threshold_no > 6) { in env_get_temp_threshold()127 switch (threshold_no) { in env_get_temp_threshold()180 env_set_temp_threshold(int sensor_no, int threshold_no, in env_set_temp_threshold() argument188 if (threshold_no < 1 || threshold_no > 6) { in env_set_temp_threshold()193 req_pkt.data[1] = 0x01 << (threshold_no - 1); /* set the bit mask */ in env_set_temp_threshold()194 req_pkt.data[1 + threshold_no] = set_value; in env_set_temp_threshold()365 int threshold_no = 0; in set_sensor_thr() local384 threshold_no = LOW_WARNING_THRESHOLD; in set_sensor_thr()391 threshold_no = LOW_SHUTDOWN_THRESHOLD; in set_sensor_thr()[all …]