Searched refs:temp_type (Results 1 – 11 of 11) sorted by relevance
| /drivers/power/supply/ |
| A D | 88pm860x_battery.c | 109 unsigned temp_type:1; /* TINT or TBAT */ member 420 info->temp_type = PM860X_TEMP_TBAT; in pm860x_batt_handler() 423 info->temp_type = PM860X_TEMP_TINT; in pm860x_batt_handler() 441 if (info->temp_type == PM860X_TEMP_TINT) in pm860x_init_battery() 493 info->temp_type = PM860X_TEMP_TBAT; in pm860x_init_battery() 496 info->temp_type = PM860X_TEMP_TINT; in pm860x_init_battery() 560 if (info->temp_type == PM860X_TEMP_TINT) { in measure_temp()
|
| /drivers/hwmon/ |
| A D | pc87427.c | 69 u8 temp_type[6]; /* register values */ member 312 data->temp_type[nr] = inb(iobase + PC87427_REG_TEMP_TYPE); in pc87427_readall_temp() 733 return sprintf(buf, "%u\n", temp_type_from_reg(data->temp_type[nr])); in temp_type_show() 807 static SENSOR_DEVICE_ATTR_RO(temp1_type, temp_type, 0); 808 static SENSOR_DEVICE_ATTR_RO(temp2_type, temp_type, 1); 809 static SENSOR_DEVICE_ATTR_RO(temp3_type, temp_type, 2); 810 static SENSOR_DEVICE_ATTR_RO(temp4_type, temp_type, 3); 811 static SENSOR_DEVICE_ATTR_RO(temp5_type, temp_type, 4); 812 static SENSOR_DEVICE_ATTR_RO(temp6_type, temp_type, 5);
|
| A D | dell-smm-hwmon.c | 99 int temp_type[DELL_SMM_NO_TEMP]; member 802 if (data->temp_type[channel] >= 0 || _i8k_get_temp(data, channel) >= 0) in dell_smm_is_visible() 807 if (data->temp_type[channel] >= 0) in dell_smm_is_visible() 977 *str = temp_labels[data->temp_type[channel]]; in dell_smm_read_string() 1134 data->temp_type[i] = i8k_get_temp_type(data, i); in dell_smm_init_hwmon() 1135 if (data->temp_type[i] < 0) in dell_smm_init_hwmon() 1138 if (data->temp_type[i] >= ARRAY_SIZE(temp_labels)) in dell_smm_init_hwmon() 1139 data->temp_type[i] = ARRAY_SIZE(temp_labels) - 1; in dell_smm_init_hwmon()
|
| A D | w83627ehf.c | 337 u8 temp_type[3]; member 1267 data->temp_type[i] = 6; in w83627ehf_init_device() 1269 data->temp_type[i] = 5; in w83627ehf_init_device() 1271 data->temp_type[i] = (diode & (0x10 << i)) ? 1 : 3; in w83627ehf_init_device() 1273 data->temp_type[i] = 4; /* thermistor */ in w83627ehf_init_device() 1447 *val = (int)data->temp_type[channel]; in w83627ehf_do_read_temp()
|
| A D | nct6775.h | 115 u8 temp_type[NUM_TEMP_FIXED]; member
|
| A D | nct7802.c | 563 static SENSOR_DEVICE_ATTR_RW(temp1_type, temp_type, 0); 569 static SENSOR_DEVICE_ATTR_RW(temp2_type, temp_type, 1); 575 static SENSOR_DEVICE_ATTR_RW(temp3_type, temp_type, 2);
|
| A D | f71882fg.c | 275 u8 temp_type[4]; member 386 data->temp_type[1] = (reg & 0x02) ? 2 : 4; in f71882fg_update_device() 387 data->temp_type[2] = (reg & 0x04) ? 2 : 4; in f71882fg_update_device() 388 data->temp_type[3] = (reg & 0x08) ? 2 : 4; in f71882fg_update_device() 754 return sprintf(buf, "%d\n", data->temp_type[nr]); in show_temp_type()
|
| A D | w83627hf.c | 1356 static SENSOR_DEVICE_ATTR_RW(temp1_type, temp_type, 0); 1357 static SENSOR_DEVICE_ATTR_RW(temp2_type, temp_type, 1); 1358 static SENSOR_DEVICE_ATTR_RW(temp3_type, temp_type, 2);
|
| A D | nct6775-core.c | 2285 return sprintf(buf, "%d\n", (int)data->temp_type[nr]); in show_temp_type() 2312 data->temp_type[nr] = val; in store_temp_type() 2392 SENSOR_TEMPLATE(temp_type, "temp%d_type", 0644, show_temp_type, store_temp_type, 0); 3464 data->temp_type[i] in nct6775_init_device() 3467 data->temp_type[i] = 4; in nct6775_init_device()
|
| A D | w83l786ng.c | 126 u8 temp_type[2]; member
|
| A D | nct6683.c | 892 SENSOR_TEMPLATE(temp_type, "temp%d_type", S_IRUGO, show_temp_type, NULL, 0);
|
Completed in 47 milliseconds