Home
last modified time | relevance | path

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

/linux-6.15/drivers/power/supply/
H A D88pm860x_battery.c109 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()
/linux-6.15/drivers/hwmon/
H A 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);
H A Ddell-smm-hwmon.c99 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()
H A 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()
H A Dnct6775.h115 u8 temp_type[NUM_TEMP_FIXED]; member
H A Dnct7802.c563 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);
H A 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()
H A 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);
H A 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);
3464 data->temp_type[i] in nct6775_init_device()
3467 data->temp_type[i] = 4; in nct6775_init_device()
H A Dw83l786ng.c126 u8 temp_type[2]; member
H A Dnct6683.c892 SENSOR_TEMPLATE(temp_type, "temp%d_type", S_IRUGO, show_temp_type, NULL, 0);
/linux-6.15/fs/f2fs/
H A Ddata.c622 enum page_type type, enum temp_type temp) in __f2fs_submit_merged_write()
648 enum temp_type temp; in __submit_merged_write_cond()
757 struct page *page, enum temp_type temp) in add_bio_entry()
784 enum temp_type temp; in add_ipu_page()
831 enum temp_type temp; in f2fs_submit_merged_ipu_write()
H A Df2fs.h1155 enum temp_type { enum
1225 enum temp_type temp; /* contains HOT/WARM/COLD */
3827 enum temp_type f2fs_get_segment_temp(struct f2fs_sb_info *sbi,
3854 enum page_type type, enum temp_type temp);
H A Dsegment.c3544 enum page_type type, enum temp_type temp) in f2fs_io_type_to_rw_hint()
3659 enum temp_type f2fs_get_segment_temp(struct f2fs_sb_info *sbi, in f2fs_get_segment_temp()
3663 enum temp_type temp = COLD; in f2fs_get_segment_temp()
H A Dfile.c4964 enum temp_type temp = f2fs_get_segment_temp(sbi, type); in f2fs_dio_write_submit_io()