/linux/drivers/hwmon/ |
H A D | emc1403.c | 171 [temp_min] = 0x06, 177 [temp_min] = 0x08, 183 [temp_min] = 0x16, 189 [temp_min] = 0x2d, 195 [temp_min] = 0x51, 201 [temp_min] = 0x55, 207 [temp_min] = 0x59, 213 [temp_min] = 0x5d, 222 [temp_min] = -1, 228 [temp_min] = 0x14, [all …]
|
H A D | thmc50.c | 70 s8 temp_min[3]; member 98 data->temp_min[i] = i2c_smbus_read_byte_data(client, in thmc50_update_device() 176 return sprintf(buf, "%d\n", data->temp_min[nr] * 1000); in temp_min_show() 194 data->temp_min[nr] = clamp_val(val / 1000, -128, 127); in temp_min_store() 196 data->temp_min[nr]); in temp_min_store() 249 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0); 253 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1); 257 static SENSOR_DEVICE_ATTR_RW(temp3_min, temp_min, 2);
|
H A D | vt8231.c | 157 u8 temp_min[6]; /* Register value */ member 215 data->temp_min[i] = vt8231_read_value(data, in vt8231_update_device() 424 return sprintf(buf, "%d\n", data->temp_min[0] * 1000); in temp1_max_hyst_show() 458 data->temp_min[0] = clamp_val((val + 500) / 1000, 0, 255); in temp1_max_hyst_store() 459 vt8231_write_value(data, regtempmin[0], data->temp_min[0]); in temp1_max_hyst_store() 527 vt8231_write_value(data, regtempmin[nr], data->temp_min[nr]); in temp_min_store() 543 static SENSOR_DEVICE_ATTR_RW(temp2_max_hyst, temp_min, 1); 546 static SENSOR_DEVICE_ATTR_RW(temp3_max_hyst, temp_min, 2); 549 static SENSOR_DEVICE_ATTR_RW(temp4_max_hyst, temp_min, 3); 552 static SENSOR_DEVICE_ATTR_RW(temp5_max_hyst, temp_min, 4); [all …]
|
H A D | emc2103.c | 64 s8 temp_min[4]; /* no fractional part */ member 149 &data->temp_min[i]); in emc2103_update_device() 189 int millidegrees = data->temp_min[nr] * 1000; in temp_min_show() 246 data->temp_min[nr] = val; in temp_min_store() 463 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0); 470 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1); 477 static SENSOR_DEVICE_ATTR_RW(temp3_min, temp_min, 2); 484 static SENSOR_DEVICE_ATTR_RW(temp4_min, temp_min, 3);
|
H A D | adm1025.c | 107 s8 temp_min[2]; /* register value */ member 136 data->temp_min[i] = i2c_smbus_read_byte_data(client, in adm1025_update_device() 203 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[index])); in temp_min_show() 290 data->temp_min[index] = TEMP_TO_REG(val); in temp_min_store() 292 data->temp_min[index]); in temp_min_store() 320 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0); 323 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1);
|
H A D | smsc47m192.c | 97 s8 temp_min[3]; /* Register value */ member 131 data->temp_min[i] = i2c_smbus_read_byte_data(client, in smsc47m192_update_device() 281 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); in temp_min_show() 309 data->temp_min[nr] = TEMP_TO_REG(val); in temp_min_store() 311 data->temp_min[nr]); in temp_min_store() 387 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0); 391 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1); 395 static SENSOR_DEVICE_ATTR_RW(temp3_min, temp_min, 2);
|
H A D | pc87427.c | 65 s8 temp_min[6]; /* register values */ member 310 data->temp_min[nr] = inb(iobase + PC87427_REG_TEMP_MIN); in pc87427_readall_temp() 706 return sprintf(buf, "%ld\n", temp_from_reg8(data->temp_min[nr])); in temp_min_show() 786 static SENSOR_DEVICE_ATTR_RO(temp1_min, temp_min, 0); 787 static SENSOR_DEVICE_ATTR_RO(temp2_min, temp_min, 1); 788 static SENSOR_DEVICE_ATTR_RO(temp3_min, temp_min, 2); 789 static SENSOR_DEVICE_ATTR_RO(temp4_min, temp_min, 3); 790 static SENSOR_DEVICE_ATTR_RO(temp5_min, temp_min, 4); 791 static SENSOR_DEVICE_ATTR_RO(temp6_min, temp_min, 5);
|
H A D | adm1031.c | 91 s8 temp_min[3]; member 151 data->temp_min[chan] = in adm1031_update_device() 689 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); in temp_min_show() 743 data->temp_min[nr] = TEMP_TO_REG(val); in temp_min_store() 745 data->temp_min[nr]); in temp_min_store() 796 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0); 801 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1); 806 static SENSOR_DEVICE_ATTR_RW(temp3_min, temp_min, 2);
|
H A D | drivetemp.c | 125 int temp_min; /* min temp */ member 418 st->temp_min = temp_from_sct(buf[8]); in drivetemp_identify_sata() 469 *val = st->temp_min; in drivetemp_read()
|
H A D | pc87360.c | 218 s8 temp_min[3]; /* Register value */ member 380 data->temp_min[i] = pc87360_read_value(data, in pc87360_update_device() 914 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[attr->index])); in temp_min_show() 931 data->temp_min[attr->index] = TEMP_TO_REG(val); in temp_min_store() 933 data->temp_min[attr->index]); in temp_min_store() 938 static struct sensor_device_attribute temp_min[] = { variable 939 SENSOR_ATTR_RW(temp1_min, temp_min, 0), 940 SENSOR_ATTR_RW(temp2_min, temp_min, 1), 941 SENSOR_ATTR_RW(temp3_min, temp_min, 2), 1087 &temp_min[X].dev_attr.attr, \
|
H A D | lm85.c | 305 s8 temp_min[3]; /* Register value */ member 502 data->temp_min[i] = in lm85_update_device() 520 data->temp_min[i] -= 64; in lm85_update_device() 949 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); in temp_min_show() 970 data->temp_min[nr] = TEMP_TO_REG(val); in temp_min_store() 971 lm85_write_value(client, LM85_REG_TEMP_MIN(nr), data->temp_min[nr]); in temp_min_store() 1009 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0); 1012 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1); 1015 static SENSOR_DEVICE_ATTR_RW(temp3_min, temp_min, 2);
|
H A D | adt7462.c | 202 u8 temp_min[ADT7462_TEMP_COUNT]; member 735 data->temp_min[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device() 787 return sprintf(buf, "%d\n", 1000 * (data->temp_min[attr->index] - 64)); in temp_min_show() 806 data->temp_min[attr->index] = temp; in temp_min_store() 1401 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0); 1402 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1); 1403 static SENSOR_DEVICE_ATTR_RW(temp3_min, temp_min, 2); 1404 static SENSOR_DEVICE_ATTR_RW(temp4_min, temp_min, 3);
|
H A D | adm1026.c | 270 s8 temp_min[3]; /* Register value */ member 404 data->temp_min[i] = adm1026_read_value(client, in adm1026_update_device() 805 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); in temp_min_show() 823 data->temp_min[nr] = TEMP_TO_REG(val); in temp_min_store() 825 data->temp_min[nr]); in temp_min_store() 861 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0); 864 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1); 867 static SENSOR_DEVICE_ATTR_RW(temp3_min, temp_min, 2);
|
H A D | adt7470.c | 156 s8 temp_min[ADT7470_TEMP_COUNT]; member 388 data->temp_min[i] = (s8)val; in adt7470_update_limits() 548 *val = 1000 * data->temp_min[channel]; in adt7470_temp_read() 574 data->temp_min[channel] = val; in adt7470_temp_write()
|
/linux/drivers/power/supply/ |
H A D | ab8500_bmdata.c | 224 if (bi->temp_min == INT_MIN) in ab8500_bm_of_probe() 225 bi->temp_min = AB8500_TEMP_UNDER; in ab8500_bm_of_probe()
|
H A D | samsung-sdi-battery.c | 658 .temp_min = -50, 702 .temp_min = -30, 746 .temp_min = -50, 789 .temp_min = -50, 834 .temp_min = -5, 878 .temp_min = -5,
|
H A D | max17042_battery.c | 211 if (temp < chip->pdata->temp_min) { in max17042_get_battery_health() 381 val->intval = chip->pdata->temp_min; in max17042_get_property() 928 if (of_property_read_s32(np, "maxim,cold-temp", &pdata->temp_min)) in max17042_get_of_pdata() 929 pdata->temp_min = INT_MIN; in max17042_get_of_pdata() 984 pdata->temp_min = MAX17042_DEFAULT_TEMP_MIN; in max17042_get_default_pdata()
|
H A D | power_supply_core.c | 658 info->temp_min = INT_MIN; in power_supply_get_battery_info() 733 info->temp_min = min_max[0]; in power_supply_get_battery_info() 900 return info->temp_min > INT_MIN; in power_supply_battery_info_has_prop() 960 val->intval = info->temp_min; in power_supply_battery_info_get_prop()
|
H A D | charger-manager.c | 544 lower_limit = desc->temp_min; in cm_check_thermal_status() 1333 of_property_read_u32(np, "cm-battery-cold", &desc->temp_min); in of_cm_parse_desc() 1335 desc->temp_min *= -1; in of_cm_parse_desc()
|
/linux/include/linux/power/ |
H A D | charger-manager.h | 186 int temp_min; member
|
H A D | max17042_battery.h | 262 int temp_min; /* in tenths of degree Celsius */ member
|
/linux/drivers/hwmon/pmbus/ |
H A D | ltc2978.c | 121 u16 temp_min[LTC2974_NUM_PAGES], temp_max[LTC2974_NUM_PAGES]; member 339 &data->temp_min[page]); in ltc2978_read_word_data() 521 data->temp_min[page] = 0x7bff; in ltc2978_write_word_data() 727 for (i = 0; i < ARRAY_SIZE(data->temp_min); i++) in ltc2978_probe() 728 data->temp_min[i] = 0x7bff; in ltc2978_probe()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | sislands_smc.h | 252 int16_t temp_min; member
|
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | sislands_smc.h | 248 int16_t temp_min; member
|
/linux/include/linux/ |
H A D | power_supply.h | 751 int temp_min; member
|