Home
last modified time | relevance | path

Searched refs:temp_high (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/hwmon/
Dmax6642.c84 u16 temp_high[2]; /* local/remote */ member
105 data->temp_high[0] = i2c_smbus_read_byte_data(client, in max6642_init_client()
107 data->temp_high[1] = i2c_smbus_read_byte_data(client, in max6642_init_client()
212 return sprintf(buf, "%d\n", temp_from_reg(data->temp_high[attr2->nr])); in temp_max_show()
229 data->temp_high[attr2->nr] = clamp_val(temp_to_reg(val), 0, 255); in temp_max_store()
231 data->temp_high[attr2->nr]); in temp_max_store()
Dlm87.c156 s8 temp_high[3]; /* register value */ member
227 data->temp_high[i] = lm87_read_value(client, in lm87_update_device()
389 TEMP_FROM_REG(data->temp_high[nr])); in temp_high_show()
428 data->temp_high[nr] = TEMP_TO_REG(val); in temp_high_store()
429 lm87_write_value(client, LM87_REG_TEMP_HIGH[nr], data->temp_high[nr]); in temp_high_store()
436 static SENSOR_DEVICE_ATTR_RW(temp1_max, temp_high, 0);
439 static SENSOR_DEVICE_ATTR_RW(temp2_max, temp_high, 1);
442 static SENSOR_DEVICE_ATTR_RW(temp3_max, temp_high, 2);
Df75375s.c110 s8 temp_high[2]; member
188 data->temp_high[nr] = in f75375_update_device()
589 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_high[nr])); in show_temp_max()
615 data->temp_high[nr] = val; in set_temp_max()
616 f75375_write8(client, F75375_REG_TEMP_HIGH(nr), data->temp_high[nr]); in set_temp_max()
Df71882fg.c273 u8 temp_high[4]; member
373 data->temp_high[nr] = f71882fg_read8(data, in f71882fg_update_device()
554 return sprintf(buf, "%d\n", data->temp_high[nr] * 1000); in show_temp_max()
573 data->temp_high[nr] = val; in store_temp_max()
591 temp_max_hyst = (data->temp_high[nr] - temp_max_hyst) * 1000; in show_temp_max_hyst()
615 data->temp_high[nr] = f71882fg_read8(data, F71882FG_REG_TEMP_HIGH(nr)); in store_temp_max_hyst()
616 val = clamp_val(val, data->temp_high[nr] - 15, data->temp_high[nr]); in store_temp_max_hyst()
617 val = data->temp_high[nr] - val; in store_temp_max_hyst()
Df71805f.c184 u8 temp_high[3]; member
359 data->temp_high[nr] = f71805f_read8(data, in f71805f_update_device()
876 return sprintf(buf, "%ld\n", temp_from_reg(data->temp_high[nr])); in show_temp_max()
914 data->temp_high[nr] = temp_to_reg(val); in set_temp_max()
915 f71805f_write8(data, F71805F_REG_TEMP_HIGH(nr), data->temp_high[nr]); in set_temp_max()
/linux-6.1.9/drivers/input/touchscreen/
Dtsc200x-core.c261 unsigned int temp_high; in tsc200x_selftest_show() local
290 error = regmap_read(ts->regmap, TSC200X_REG_TEMP_HIGH, &temp_high); in tsc200x_selftest_show()
298 if (temp_high != temp_high_test) { in tsc200x_selftest_show()
300 temp_high, temp_high_test); in tsc200x_selftest_show()
311 error = regmap_read(ts->regmap, TSC200X_REG_TEMP_HIGH, &temp_high); in tsc200x_selftest_show()
319 if (temp_high != temp_high_orig) { in tsc200x_selftest_show()
321 temp_high, temp_high_orig); in tsc200x_selftest_show()
/linux-6.1.9/drivers/thermal/qcom/
Dlmh.c94 int temp_low, temp_high, temp_arm, cpu_id, ret; in lmh_probe() local
112 ret = of_property_read_u32(np, "qcom,lmh-temp-high-millicelsius", &temp_high); in lmh_probe()
187 ret = qcom_scm_lmh_dcvsh(LMH_SUB_FN_THERMAL, LMH_TH_HI_THRESHOLD, temp_high, in lmh_probe()