Home
last modified time | relevance | path

Searched refs:temp_type (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/power/supply/
D88pm860x_battery.c108 unsigned temp_type:1; /* TINT or TBAT */ member
419 info->temp_type = PM860X_TEMP_TBAT; in pm860x_batt_handler()
422 info->temp_type = PM860X_TEMP_TINT; in pm860x_batt_handler()
440 if (info->temp_type == PM860X_TEMP_TINT) in pm860x_init_battery()
492 info->temp_type = PM860X_TEMP_TBAT; in pm860x_init_battery()
495 info->temp_type = PM860X_TEMP_TINT; in pm860x_init_battery()
560 if (info->temp_type == PM860X_TEMP_TINT) { in measure_temp()
/linux-6.6.21/drivers/hwmon/
Ddell-smm-hwmon.c83 int temp_type[DELL_SMM_NO_TEMP]; member
668 if (data->temp_type[channel] >= 0 || _i8k_get_temp(channel) >= 0) in dell_smm_is_visible()
673 if (data->temp_type[channel] >= 0) in dell_smm_is_visible()
843 *str = temp_labels[data->temp_type[channel]]; in dell_smm_read_string()
997 data->temp_type[i] = i8k_get_temp_type(i); in dell_smm_init_hwmon()
998 if (data->temp_type[i] < 0) in dell_smm_init_hwmon()
1001 if (data->temp_type[i] >= ARRAY_SIZE(temp_labels)) in dell_smm_init_hwmon()
1002 data->temp_type[i] = ARRAY_SIZE(temp_labels) - 1; in dell_smm_init_hwmon()
Dpc87427.c69 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);
Dw83627ehf.c337 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()
Dnct6775.h115 u8 temp_type[NUM_TEMP_FIXED]; member
Dnct7802.c579 static SENSOR_DEVICE_ATTR_RW(temp1_type, temp_type, 0);
585 static SENSOR_DEVICE_ATTR_RW(temp2_type, temp_type, 1);
591 static SENSOR_DEVICE_ATTR_RW(temp3_type, temp_type, 2);
Df71882fg.c275 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()
Dw83627hf.c1356 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);
Dnct6775-core.c2285 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);
3465 data->temp_type[i] in nct6775_init_device()
3468 data->temp_type[i] = 4; in nct6775_init_device()
Dw83l786ng.c126 u8 temp_type[2]; member
Dnct6683.c887 SENSOR_TEMPLATE(temp_type, "temp%d_type", S_IRUGO, show_temp_type, NULL, 0);
/linux-6.6.21/fs/f2fs/
Ddata.c665 enum page_type type, enum temp_type temp) in __f2fs_submit_merged_write()
691 enum temp_type temp; in __submit_merged_write_cond()
815 struct page *page, enum temp_type temp) in add_bio_entry()
842 enum temp_type temp; in add_ipu_page()
889 enum temp_type temp; in f2fs_submit_merged_ipu_write()
Df2fs.h1118 enum temp_type { enum
1187 enum temp_type temp; /* contains HOT/WARM/COLD */