Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/hwmon/
H A 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()
H A 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);
H A 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()
H A Df71882fg.c278 u8 temp_high[4]; member
1230 data->temp_high[nr] = f71882fg_read8(data, in f71882fg_update_device()
1593 return sprintf(buf, "%d\n", data->temp_high[nr] * 1000); in show_temp_max()
1612 data->temp_high[nr] = val; in store_temp_max()
1630 temp_max_hyst = (data->temp_high[nr] - temp_max_hyst) * 1000; in show_temp_max_hyst()
1654 data->temp_high[nr] = f71882fg_read8(data, F71882FG_REG_TEMP_HIGH(nr)); in store_temp_max_hyst()
1655 val = clamp_val(val, data->temp_high[nr] - 15, data->temp_high[nr]); in store_temp_max_hyst()
1656 val = data->temp_high[nr] - val; in store_temp_max_hyst()
H A 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()
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dtsc200x-core.c260 unsigned int temp_high; in tsc200x_selftest_show() local
289 error = regmap_read(ts->regmap, TSC200X_REG_TEMP_HIGH, &temp_high); in tsc200x_selftest_show()
297 if (temp_high != temp_high_test) { in tsc200x_selftest_show()
299 temp_high, temp_high_test); in tsc200x_selftest_show()
310 error = regmap_read(ts->regmap, TSC200X_REG_TEMP_HIGH, &temp_high); in tsc200x_selftest_show()
318 if (temp_high != temp_high_orig) { in tsc200x_selftest_show()
320 temp_high, temp_high_orig); in tsc200x_selftest_show()
/OK3568_Linux_fs/kernel/include/linux/mfd/
H A Dabx500.h262 int temp_high; member
/OK3568_Linux_fs/kernel/include/linux/mfd/abx500/
H A Dab8500-bm.h429 int temp_high; member
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dab8500_bmdata.c461 .temp_high = 43,
H A Dabx500_chargalg.c725 di->batt_data.temp < (di->bm->temp_high - di->t_hyst_norm)) { in abx500_chargalg_check_temp()
732 if (((di->batt_data.temp >= di->bm->temp_high) && in abx500_chargalg_check_temp()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dhndpmu.c3371 uint32 temp_high, temp_low; in si_pmu_pll28nm_calc_ndiv() local
3377 math_uint64_multiple_add(&temp_high, &temp_low, fvco * p1div - xtal * (*ndiv_int), 1 << 20, in si_pmu_pll28nm_calc_ndiv()
3379 math_uint64_divide(ndiv_frac, temp_high, temp_low, xtal); in si_pmu_pll28nm_calc_ndiv()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dhndpmu.c3371 uint32 temp_high, temp_low; in si_pmu_pll28nm_calc_ndiv() local
3377 math_uint64_multiple_add(&temp_high, &temp_low, fvco * p1div - xtal * (*ndiv_int), 1 << 20, in si_pmu_pll28nm_calc_ndiv()
3379 math_uint64_divide(ndiv_frac, temp_high, temp_low, xtal); in si_pmu_pll28nm_calc_ndiv()