/drivers/hwmon/ |
D | thmc50.c | 83 s8 temp_min[3]; member 111 data->temp_min[i] = i2c_smbus_read_byte_data(client, in thmc50_update_device() 189 return sprintf(buf, "%d\n", data->temp_min[nr] * 1000); in show_temp_min() 206 data->temp_min[nr] = clamp_val(val / 1000, -128, 127); in set_temp_min() 208 data->temp_min[nr]); in set_temp_min()
|
D | adm1021.c | 93 int temp_min[2]; member 125 data->temp_min[i] = 1000 * in adm1021_update_device() 141 data->temp_min[1] += 125 * (i2c_smbus_read_byte_data( in adm1021_update_device() 183 return sprintf(buf, "%d\n", data->temp_min[index]); in show_temp_min() 245 data->temp_min[index] = reg_val * 1000; in set_temp_min()
|
D | max1668.c | 79 s8 temp_min[5]; member 118 data->temp_min[i] = (s8) val; in max1668_update_device() 176 return sprintf(buf, "%d\n", data->temp_min[index] * 1000); in show_temp_min() 245 data->temp_min[index] = clamp_val(temp/1000, -128, 127); in set_temp_min() 248 data->temp_min[index]); in set_temp_min()
|
D | adm1025.c | 120 s8 temp_min[2]; /* register value */ member 149 data->temp_min[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device() 216 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[index])); in show_temp_min() 297 data->temp_min[index] = TEMP_TO_REG(val); in set_temp_min() 299 data->temp_min[index]); in set_temp_min()
|
D | vt8231.c | 169 u8 temp_min[6]; /* Register value */ member 368 return sprintf(buf, "%d\n", data->temp_min[0] * 1000); in show_temp0_min() 400 data->temp_min[0] = clamp_val((val + 500) / 1000, 0, 255); in set_temp0_min() 401 vt8231_write_value(data, regtempmin[0], data->temp_min[0]); in set_temp0_min() 430 return sprintf(buf, "%d\n", TEMP_MAXMIN_FROM_REG(data->temp_min[nr])); in show_temp_min() 466 data->temp_min[nr] = clamp_val(TEMP_MAXMIN_TO_REG(val), 0, 255); in set_temp_min() 467 vt8231_write_value(data, regtempmin[nr], data->temp_min[nr]); in set_temp_min() 915 data->temp_min[i] = vt8231_read_value(data, in vt8231_update_device()
|
D | smsc47m192.c | 109 s8 temp_min[3]; /* Register value */ member 143 data->temp_min[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 285 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); in show_temp_min() 312 data->temp_min[nr] = TEMP_TO_REG(val); in set_temp_min() 314 data->temp_min[nr]); in set_temp_min()
|
D | emc2103.c | 77 s8 temp_min[4]; /* no fractional part */ member 162 &data->temp_min[i]); in emc2103_update_device() 202 int millidegrees = data->temp_min[nr] * 1000; in show_temp_min() 257 data->temp_min[nr] = val; in set_temp_min()
|
D | adm1031.c | 104 s8 temp_min[3]; member 164 data->temp_min[chan] = in adm1031_update_device() 713 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); in show_temp_min() 766 data->temp_min[nr] = TEMP_TO_REG(val); in set_temp_min() 768 data->temp_min[nr]); in set_temp_min()
|
D | lm85.c | 310 s8 temp_min[3]; /* Register value */ member 507 data->temp_min[i] = in lm85_update_device() 525 data->temp_min[i] -= 64; in lm85_update_device() 946 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); in show_temp_min() 966 data->temp_min[nr] = TEMP_TO_REG(val); in set_temp_min() 967 lm85_write_value(client, LM85_REG_TEMP_MIN(nr), data->temp_min[nr]); in set_temp_min()
|
D | pc87360.c | 219 s8 temp_min[3]; /* Register value */ member 883 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[attr->index])); in show_temp_min() 925 data->temp_min[attr->index] = TEMP_TO_REG(val); in set_temp_min() 927 data->temp_min[attr->index]); in set_temp_min() 984 static struct sensor_device_attribute temp_min[] = { variable 1087 &temp_min[X].dev_attr.attr, \ 1690 data->temp_min[i] = pc87360_read_value(data, in pc87360_update_device()
|
D | adt7470.c | 157 s8 temp_min[ADT7470_TEMP_COUNT]; member 368 data->temp_min[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device() 462 return sprintf(buf, "%d\n", 1000 * data->temp_min[attr->index]); in show_temp_min() 482 data->temp_min[attr->index] = temp; in set_temp_min()
|
D | adm1026.c | 281 s8 temp_min[3]; /* Register value */ member 415 data->temp_min[i] = adm1026_read_value(client, in adm1026_update_device() 788 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); in show_temp_min() 805 data->temp_min[nr] = TEMP_TO_REG(val); in set_temp_min() 807 data->temp_min[nr]); in set_temp_min()
|
D | pc87427.c | 73 s8 temp_min[6]; /* register values */ member 318 data->temp_min[nr] = inb(iobase + PC87427_REG_TEMP_MIN); in pc87427_readall_temp() 724 return sprintf(buf, "%ld\n", temp_from_reg8(data->temp_min[nr])); in show_temp_min()
|
D | dme1737.c | 234 s8 temp_min[3]; member 654 data->temp_min[ix] = dme1737_read(data, in dme1737_update_device() 902 res = TEMP_FROM_REG(data->temp_min[ix], 8); in show_temp() 942 data->temp_min[ix] = TEMP_TO_REG(val); in set_temp() 944 data->temp_min[ix]); in set_temp()
|
D | adt7462.c | 215 u8 temp_min[ADT7462_TEMP_COUNT]; member 744 data->temp_min[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device() 797 return sprintf(buf, "%d\n", 1000 * (data->temp_min[attr->index] - 64)); in show_temp_min() 817 data->temp_min[attr->index] = temp; in set_temp_min()
|
D | nct6683.c | 882 SENSOR_TEMPLATE_2(temp_min, "temp%d_min", S_IRUGO, show_temp8, NULL, 0, 0);
|
/drivers/hwmon/pmbus/ |
D | ltc2978.c | 106 u16 temp_min[LTC2974_NUM_PAGES], temp_max[LTC2974_NUM_PAGES]; member 309 &data->temp_min[page]); in ltc2978_read_word_data() 487 data->temp_min[page] = 0x7bff; in ltc2978_write_word_data() 637 for (i = 0; i < ARRAY_SIZE(data->temp_min); i++) in ltc2978_probe() 638 data->temp_min[i] = 0x7bff; in ltc2978_probe()
|
/drivers/power/ |
D | max17042_battery.c | 159 if (temp <= chip->pdata->temp_min) { in max17042_get_battery_health() 292 val->intval = chip->pdata->temp_min; in max17042_get_property() 823 if (of_property_read_s32(np, "maxim,cold-temp", &pdata->temp_min)) in max17042_get_pdata() 824 pdata->temp_min = INT_MIN; in max17042_get_pdata()
|
D | power_supply_sysfs.c | 189 POWER_SUPPLY_ATTR(temp_min),
|
D | charger-manager.c | 654 lower_limit = desc->temp_min; in cm_check_thermal_status() 1547 of_property_read_u32(np, "cm-battery-cold", &desc->temp_min); in of_cm_parse_desc() 1549 desc->temp_min *= -1; in of_cm_parse_desc()
|
/drivers/gpu/drm/radeon/ |
D | sislands_smc.h | 253 int16_t temp_min; member
|
D | si_dpm.c | 6114 fan_table.temp_min = cpu_to_be16((50 + rdev->pm.dpm.fan.t_min) / 100); in si_thermal_setup_fan_table()
|