Searched refs:show_temp (Results 1 - 19 of 19) sorted by relevance

/linux-master/drivers/hwmon/
H A Dultra45_env.c163 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, function
174 static SENSOR_DEVICE_ATTR(adt7462_local_temp, S_IRUGO, show_temp, NULL, 0);
175 static SENSOR_DEVICE_ATTR(cpu0_temp, S_IRUGO, show_temp, NULL, 1);
176 static SENSOR_DEVICE_ATTR(cpu1_temp, S_IRUGO, show_temp, NULL, 2);
177 static SENSOR_DEVICE_ATTR(motherboard_temp, S_IRUGO, show_temp, NULL, 3);
178 static SENSOR_DEVICE_ATTR(lm95221_local_temp, S_IRUGO, show_temp, NULL, 4);
179 static SENSOR_DEVICE_ATTR(fire_temp, S_IRUGO, show_temp, NULL, 5);
180 static SENSOR_DEVICE_ATTR(lsi1064_local_temp, S_IRUGO, show_temp, NULL, 6);
181 static SENSOR_DEVICE_ATTR(front_panel_temp, S_IRUGO, show_temp, NULL, 7);
182 static SENSOR_DEVICE_ATTR(psu_temp, S_IRUGO, show_temp, NUL
[all...]
H A Dmax1668.c130 static ssize_t show_temp(struct device *dev, function
243 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
248 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
253 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
258 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
263 static SENSOR_DEVICE_ATTR(temp5_input, S_IRUGO, show_temp, NULL, 4);
H A Dw83l785ts.c112 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, function
120 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
121 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp, NULL, 1);
H A Dk10temp.c93 u32 show_temp; member in struct:k10temp_data
103 #define HAVE_TEMP(d, channel) ((d)->show_temp & BIT(channel))
387 data->show_temp |= BIT(TCCD_BIT(i));
414 data->show_temp |= BIT(TCTL_BIT); /* Always show Tctl */
493 data->show_temp |= BIT(TDIE_BIT); /* show Tdie */
H A Dw83l786ng.c405 show_temp(struct device *dev, struct device_attribute *attr, char *buf) function
442 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0),
443 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, 0),
448 show_temp, store_temp, 0, 1),
450 show_temp, store_temp, 1, 1),
455 show_temp, store_temp, 0, 2),
457 show_temp, store_temp, 1, 2),
H A Dit87.c1084 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, function
1141 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0);
1142 static SENSOR_DEVICE_ATTR_2(temp1_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
1144 static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
1146 static SENSOR_DEVICE_ATTR_2(temp1_offset, S_IRUGO | S_IWUSR, show_temp,
1148 static SENSOR_DEVICE_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, 0);
1149 static SENSOR_DEVICE_ATTR_2(temp2_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
1151 static SENSOR_DEVICE_ATTR_2(temp2_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
1153 static SENSOR_DEVICE_ATTR_2(temp2_offset, S_IRUGO | S_IWUSR, show_temp,
1155 static SENSOR_DEVICE_ATTR_2(temp3_input, S_IRUGO, show_temp, NUL
[all...]
H A Df71882fg.c522 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, function
710 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0),
722 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1),
734 SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 0, 2),
759 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 1),
778 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 2),
793 SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 0, 3),
887 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0),
894 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1),
901 SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp, NUL
[all...]
H A Dvt1211.c408 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, function
953 show_temp, NULL, SHOW_TEMP_INPUT, ix-1), \
955 show_temp, set_temp, SHOW_SET_TEMP_MAX, ix-1), \
957 show_temp, set_temp, SHOW_SET_TEMP_MAX_HYST, ix-1), \
959 show_temp, NULL, SHOW_TEMP_ALARM, ix-1) \
H A Dcoretemp.c395 static ssize_t show_temp(struct device *dev, function
427 show_label, show_crit_alarm, show_temp, show_tjmax,
H A Ddme1737.c877 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, function
1534 show_temp, NULL, SYS_TEMP_INPUT, ix-1); \
1536 show_temp, set_temp, SYS_TEMP_MIN, ix-1); \
1538 show_temp, set_temp, SYS_TEMP_MAX, ix-1); \
1540 show_temp, set_temp, SYS_TEMP_OFFSET, ix-1); \
1542 show_temp, NULL, SYS_TEMP_ALARM, ix-1); \
1544 show_temp, NULL, SYS_TEMP_FAULT, ix-1)
H A Dw83793.c562 show_temp(struct device *dev, struct device_attribute *attr, char *buf) function
1050 SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \
1052 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \
1055 show_temp, store_temp, TEMP_CRIT_HYST, index - 1), \
1056 SENSOR_ATTR_2(temp##index##_warn, S_IRUGO | S_IWUSR, show_temp, \
1059 show_temp, store_temp, TEMP_WARN_HYST, index - 1), \
H A Dw83795.c1317 show_temp(struct device *dev, struct device_attribute *attr, char *buf) function
1683 SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \
1685 SENSOR_ATTR_2(temp##index##_crit, S_IRUGO | S_IWUSR, show_temp, \
1688 show_temp, store_temp, TEMP_CRIT_HYST, index - 1), \
1689 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \
1692 show_temp, store_temp, TEMP_WARN_HYST, index - 1), \
H A Df71805f.c859 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, function
1056 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
1062 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
1068 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
H A Dnct6775-core.c2204 show_temp(struct device *dev, struct device_attribute *attr, char *buf) function
2385 SENSOR_TEMPLATE_2(temp_input, "temp%d_input", 0444, show_temp, NULL, 0, 0);
2387 SENSOR_TEMPLATE_2(temp_max, "temp%d_max", 0644, show_temp, store_temp, 0, 1);
2388 SENSOR_TEMPLATE_2(temp_max_hyst, "temp%d_max_hyst", 0644, show_temp, store_temp, 0, 2);
2389 SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", 0644, show_temp, store_temp, 0, 3);
2390 SENSOR_TEMPLATE_2(temp_lcrit, "temp%d_lcrit", 0644, show_temp, store_temp, 0, 4);
H A Dasb100.c460 show_temp, NULL, num - 1); \
H A Dw83781d.c395 show_temp, NULL, offset); \
/linux-master/tools/thermal/thermal-engine/
H A Dthermal-engine.c49 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg) function
73 show_temp(tz, arg);
/linux-master/drivers/hwmon/occ/
H A Dcommon.c784 ssize_t (*show_temp)(struct device *, struct device_attribute *,
799 show_temp = occ_show_temp_2;
803 show_temp = occ_show_temp_10;
876 attr->sensor = OCC_INIT_ATTR(attr->name, 0444, show_temp, NULL,
889 attr->sensor = OCC_INIT_ATTR(attr->name, 0444, show_temp, NULL,
897 show_temp, NULL, 2, i);
903 show_temp, NULL, 3, i);
910 show_temp, NULL,
/linux-master/drivers/input/touchscreen/
H A Dsun4i-ts.c204 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, function
224 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);

Completed in 238 milliseconds