/kernel/linux/linux-5.10/drivers/hwmon/ |
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);
|
D | adm1021.c | 80 int temp_min[2]; member 112 data->temp_min[i] = 1000 * in adm1021_update_device() 128 data->temp_min[1] += 125 * (i2c_smbus_read_byte_data( in adm1021_update_device() 170 return sprintf(buf, "%d\n", data->temp_min[index]); in temp_min_show() 232 data->temp_min[index] = reg_val * 1000; in temp_min_store() 279 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0); 282 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1);
|
D | vt8231.c | 156 u8 temp_min[6]; /* Register value */ member 359 return sprintf(buf, "%d\n", data->temp_min[0] * 1000); in temp1_max_hyst_show() 393 data->temp_min[0] = clamp_val((val + 500) / 1000, 0, 255); in temp1_max_hyst_store() 394 vt8231_write_value(data, regtempmin[0], data->temp_min[0]); in temp1_max_hyst_store() 423 return sprintf(buf, "%d\n", TEMP_MAXMIN_FROM_REG(data->temp_min[nr])); in temp_min_show() 461 data->temp_min[nr] = clamp_val(TEMP_MAXMIN_TO_REG(val), 0, 255); in temp_min_store() 462 vt8231_write_value(data, regtempmin[nr], data->temp_min[nr]); in temp_min_store() 478 static SENSOR_DEVICE_ATTR_RW(temp2_max_hyst, temp_min, 1); 481 static SENSOR_DEVICE_ATTR_RW(temp3_max_hyst, temp_min, 2); 484 static SENSOR_DEVICE_ATTR_RW(temp4_max_hyst, temp_min, 3); [all …]
|
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);
|
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);
|
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);
|
D | adt7470.c | 152 s8 temp_min[ADT7470_TEMP_COUNT]; member 363 data->temp_min[i] = i2c_smbus_read_byte_data(client, in adt7470_update_device() 454 return sprintf(buf, "%d\n", 1000 * data->temp_min[attr->index]); in temp_min_show() 473 data->temp_min[attr->index] = temp; in temp_min_store() 994 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0); 995 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1); 996 static SENSOR_DEVICE_ATTR_RW(temp3_min, temp_min, 2); 997 static SENSOR_DEVICE_ATTR_RW(temp4_min, temp_min, 3); 998 static SENSOR_DEVICE_ATTR_RW(temp5_min, temp_min, 4); 999 static SENSOR_DEVICE_ATTR_RW(temp6_min, temp_min, 5); [all …]
|
D | max1668.c | 66 s8 temp_min[5]; member 105 data->temp_min[i] = (s8) val; in max1668_update_device() 163 return sprintf(buf, "%d\n", data->temp_min[index] * 1000); in show_temp_min() 232 data->temp_min[index] = clamp_val(temp/1000, -128, 127); in set_temp_min() 235 data->temp_min[index]); in set_temp_min()
|
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);
|
D | adm1031.c | 91 s8 temp_min[3]; member 151 data->temp_min[chan] = in adm1031_update_device() 690 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[nr])); in temp_min_show() 744 data->temp_min[nr] = TEMP_TO_REG(val); in temp_min_store() 746 data->temp_min[nr]); in temp_min_store() 797 static SENSOR_DEVICE_ATTR_RW(temp1_min, temp_min, 0); 802 static SENSOR_DEVICE_ATTR_RW(temp2_min, temp_min, 1); 807 static SENSOR_DEVICE_ATTR_RW(temp3_min, temp_min, 2);
|
D | drivetemp.c | 125 int temp_min; /* min temp */ member 419 st->temp_min = temp_from_sct(buf[8]); in drivetemp_identify_sata() 470 *val = st->temp_min; in drivetemp_read()
|
D | pc87360.c | 206 s8 temp_min[3]; /* Register value */ member 857 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[attr->index])); in temp_min_show() 899 data->temp_min[attr->index] = TEMP_TO_REG(val); in temp_min_store() 901 data->temp_min[attr->index]); in temp_min_store() 958 static struct sensor_device_attribute temp_min[] = { variable 959 SENSOR_ATTR_RW(temp1_min, temp_min, 0), 960 SENSOR_ATTR_RW(temp2_min, temp_min, 1), 961 SENSOR_ATTR_RW(temp3_min, temp_min, 2), 1055 &temp_min[X].dev_attr.attr, \ 1658 data->temp_min[i] = pc87360_read_value(data, in pc87360_update_device()
|
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);
|
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);
|
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);
|
D | dme1737.c | 221 s8 temp_min[3]; member 644 data->temp_min[ix] = dme1737_read(data, in dme1737_update_device() 892 res = TEMP_FROM_REG(data->temp_min[ix], 8); in show_temp() 932 data->temp_min[ix] = TEMP_TO_REG(val); in set_temp() 934 data->temp_min[ix]); in set_temp()
|
/kernel/linux/linux-5.10/drivers/hwmon/pmbus/ |
D | ltc2978.c | 121 u16 temp_min[LTC2974_NUM_PAGES], temp_max[LTC2974_NUM_PAGES]; member 328 &data->temp_min[page]); in ltc2978_read_word_data() 510 data->temp_min[page] = 0x7bff; in ltc2978_write_word_data() 695 for (i = 0; i < ARRAY_SIZE(data->temp_min); i++) in ltc2978_probe() 696 data->temp_min[i] = 0x7bff; in ltc2978_probe()
|
/kernel/linux/linux-5.10/include/linux/power/ |
D | charger-manager.h | 186 int temp_min; member
|
D | max17042_battery.h | 260 int temp_min; /* in tenths of degree Celsius */ member
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
D | max17042_battery.c | 211 if (temp < chip->pdata->temp_min) { in max17042_get_battery_health() 382 val->intval = chip->pdata->temp_min; in max17042_get_property() 924 if (of_property_read_s32(np, "maxim,cold-temp", &pdata->temp_min)) in max17042_get_of_pdata() 925 pdata->temp_min = INT_MIN; in max17042_get_of_pdata() 980 pdata->temp_min = MAX17042_DEFAULT_TEMP_MIN; in max17042_get_default_pdata()
|
D | charger-manager.c | 544 lower_limit = desc->temp_min; in cm_check_thermal_status() 1336 of_property_read_u32(np, "cm-battery-cold", &desc->temp_min); in of_cm_parse_desc() 1338 desc->temp_min *= -1; in of_cm_parse_desc()
|
D | smb347-charger.c | 1267 if (info.temp_min != INT_MIN) in smb347_get_battery_info() 1268 smb->hard_cold_temp_limit = info.temp_min; in smb347_get_battery_info()
|
/kernel/linux/linux-5.10/include/linux/ |
D | power_supply.h | 373 int temp_min; /* celsius */ member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/ |
D | sislands_smc.h | 253 int16_t temp_min; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | sislands_smc.h | 253 int16_t temp_min; member
|