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

/linux-master/drivers/power/supply/
H A D88pm860x_battery.c108 unsigned temp_type:1; /* TINT or TBAT */ member in struct:pm860x_battery_info
419 info->temp_type = PM860X_TEMP_TBAT;
422 info->temp_type = PM860X_TEMP_TINT;
440 if (info->temp_type == PM860X_TEMP_TINT)
492 info->temp_type = PM860X_TEMP_TBAT;
495 info->temp_type = PM860X_TEMP_TINT;
560 if (info->temp_type == PM860X_TEMP_TINT) {
/linux-master/drivers/hwmon/
H A Dpc87427.c69 u8 temp_type[6]; /* register values */ member in struct:pc87427_data
312 data->temp_type[nr] = inb(iobase + PC87427_REG_TEMP_TYPE);
733 return sprintf(buf, "%u\n", temp_type_from_reg(data->temp_type[nr]));
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 in struct:dell_smm_data
802 if (data->temp_type[channel] >= 0 || _i8k_get_temp(data, channel) >= 0)
807 if (data->temp_type[channel] >= 0)
977 *str = temp_labels[data->temp_type[channel]];
1131 data->temp_type[i] = i8k_get_temp_type(data, i);
1132 if (data->temp_type[i] < 0)
1135 if (data->temp_type[i] >= ARRAY_SIZE(temp_labels))
1136 data->temp_type[i] = ARRAY_SIZE(temp_labels) - 1;
H A Dnct6775.h115 u8 temp_type[NUM_TEMP_FIXED]; member in struct:nct6775_data
H A Dw83627ehf.c337 u8 temp_type[3]; member in struct:w83627ehf_data
1267 data->temp_type[i] = 6;
1269 data->temp_type[i] = 5;
1271 data->temp_type[i] = (diode & (0x10 << i)) ? 1 : 3;
1273 data->temp_type[i] = 4; /* thermistor */
1447 *val = (int)data->temp_type[channel];
H A 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);
H A Df71882fg.c275 u8 temp_type[4]; member in struct:f71882fg_data
386 data->temp_type[1] = (reg & 0x02) ? 2 : 4;
387 data->temp_type[2] = (reg & 0x04) ? 2 : 4;
388 data->temp_type[3] = (reg & 0x08) ? 2 : 4;
754 return sprintf(buf, "%d\n", data->temp_type[nr]);
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 Dw83l786ng.c126 u8 temp_type[2]; member in struct:w83l786ng_data
H A Dnct6775-core.c2285 return sprintf(buf, "%d\n", (int)data->temp_type[nr]);
2312 data->temp_type[nr] = val;
2392 SENSOR_TEMPLATE(temp_type, "temp%d_type", 0644, show_temp_type, store_temp_type, 0);
3465 data->temp_type[i]
3468 data->temp_type[i] = 4;
H A Dnct6683.c889 SENSOR_TEMPLATE(temp_type, "temp%d_type", S_IRUGO, show_temp_type, NULL, 0);
/linux-master/fs/f2fs/
H A Ddata.c615 enum page_type type, enum temp_type temp)
641 enum temp_type temp;
753 struct page *page, enum temp_type temp)
780 enum temp_type temp;
827 enum temp_type temp;
H A Df2fs.h1132 enum temp_type { enum
1201 enum temp_type temp; /* contains HOT/WARM/COLD */

Completed in 407 milliseconds