Home
last modified time | relevance | path

Searched refs:show_temp (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/hwmon/
H A Dw83l785ts.c112 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() 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 Dit87.c1085 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function
1142 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0);
1143 static SENSOR_DEVICE_ATTR_2(temp1_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
1145 static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
1147 static SENSOR_DEVICE_ATTR_2(temp1_offset, S_IRUGO | S_IWUSR, show_temp,
1149 static SENSOR_DEVICE_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, 0);
1150 static SENSOR_DEVICE_ATTR_2(temp2_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
1152 static SENSOR_DEVICE_ATTR_2(temp2_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
1154 static SENSOR_DEVICE_ATTR_2(temp2_offset, S_IRUGO | S_IWUSR, show_temp,
1156 static SENSOR_DEVICE_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 2, 0);
[all …]
H A Dw83793.c562 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() 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 Dcoretemp.c398 static ssize_t show_temp(struct device *dev, in show_temp() function
430 show_label, show_crit_alarm, show_temp, show_tjmax, in create_core_attrs()
H A Dw83795.c1317 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() 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 Dasb100.c460 show_temp, NULL, num - 1); \
/linux/drivers/hwmon/occ/
H A Dcommon.c784 ssize_t (*show_temp)(struct device *, struct device_attribute *, in occ_setup_sensor_attrs() local
799 show_temp = occ_show_temp_2; in occ_setup_sensor_attrs()
803 show_temp = occ_show_temp_10; in occ_setup_sensor_attrs()
876 occ_init_attribute(attr, 0444, show_temp, NULL, in occ_setup_sensor_attrs()
882 occ_init_attribute(attr, 0444, show_temp, NULL, in occ_setup_sensor_attrs()
885 occ_init_attribute(attr, 0444, show_temp, NULL, in occ_setup_sensor_attrs()
892 occ_init_attribute(attr, 0444, show_temp, NULL, in occ_setup_sensor_attrs()
896 occ_init_attribute(attr, 0444, show_temp, NULL, in occ_setup_sensor_attrs()
901 occ_init_attribute(attr, 0444, show_temp, NULL, in occ_setup_sensor_attrs()
/linux/drivers/input/touchscreen/
H A Dsun4i-ts.c204 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function
224 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);