/linux-6.1.9/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 | 158 u8 temp_min[6]; /* Register value */ member 216 data->temp_min[i] = vt8231_read_value(data, in vt8231_update_device() 425 return sprintf(buf, "%d\n", data->temp_min[0] * 1000); in temp1_max_hyst_show() 459 data->temp_min[0] = clamp_val((val + 500) / 1000, 0, 255); in temp1_max_hyst_store() 460 vt8231_write_value(data, regtempmin[0], data->temp_min[0]); in temp1_max_hyst_store() 489 return sprintf(buf, "%d\n", TEMP_MAXMIN_FROM_REG(data->temp_min[nr])); in temp_min_show() 527 data->temp_min[nr] = clamp_val(TEMP_MAXMIN_TO_REG(val), 0, 255); in temp_min_store() 528 vt8231_write_value(data, regtempmin[nr], data->temp_min[nr]); in temp_min_store() 544 static SENSOR_DEVICE_ATTR_RW(temp2_max_hyst, temp_min, 1); 547 static SENSOR_DEVICE_ATTR_RW(temp3_max_hyst, temp_min, 2); [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 | 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() 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);
|
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 | 218 s8 temp_min[3]; /* Register value */ member 376 data->temp_min[i] = pc87360_read_value(data, in pc87360_update_device() 910 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_min[attr->index])); in temp_min_show() 927 data->temp_min[attr->index] = TEMP_TO_REG(val); in temp_min_store() 929 data->temp_min[attr->index]); in temp_min_store() 934 static struct sensor_device_attribute temp_min[] = { variable 935 SENSOR_ATTR_RW(temp1_min, temp_min, 0), 936 SENSOR_ATTR_RW(temp2_min, temp_min, 1), 937 SENSOR_ATTR_RW(temp3_min, temp_min, 2), 1083 &temp_min[X].dev_attr.attr, \
|
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 | 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-6.1.9/drivers/power/supply/ |
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()
|
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,
|
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() 930 if (of_property_read_s32(np, "maxim,cold-temp", &pdata->temp_min)) in max17042_get_of_pdata() 931 pdata->temp_min = INT_MIN; in max17042_get_of_pdata() 986 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() 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-6.1.9/include/linux/power/ |
D | charger-manager.h | 186 int temp_min; member
|
D | max17042_battery.h | 262 int temp_min; /* in tenths of degree Celsius */ member
|
/linux-6.1.9/drivers/hwmon/pmbus/ |
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() 724 for (i = 0; i < ARRAY_SIZE(data->temp_min); i++) in ltc2978_probe() 725 data->temp_min[i] = 0x7bff; in ltc2978_probe()
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | sislands_smc.h | 261 int16_t temp_min; member
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | sislands_smc.h | 261 int16_t temp_min; member
|
/linux-6.1.9/include/linux/ |
D | power_supply.h | 755 int temp_min; member
|