Home
last modified time | relevance | path

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

123

/drivers/hwmon/
Demc1403.c52 static ssize_t show_temp(struct device *dev, in show_temp() function
187 show_temp, store_temp, 0x06);
189 show_temp, store_temp, 0x05);
191 show_temp, store_temp, 0x20);
192 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0x00);
203 show_temp, store_temp, 0x08);
205 show_temp, store_temp, 0x07);
207 show_temp, store_temp, 0x19);
208 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 0x01);
219 show_temp, store_temp, 0x16);
[all …]
Dlm83.c168 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function
215 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
216 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
217 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
218 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
219 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp,
221 static SENSOR_DEVICE_ATTR(temp2_max, S_IWUSR | S_IRUGO, show_temp,
223 static SENSOR_DEVICE_ATTR(temp3_max, S_IWUSR | S_IRUGO, show_temp,
225 static SENSOR_DEVICE_ATTR(temp4_max, S_IWUSR | S_IRUGO, show_temp,
227 static SENSOR_DEVICE_ATTR(temp1_crit, S_IRUGO, show_temp, NULL, 8);
[all …]
Demc6w201.c231 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function
345 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, input);
346 static SENSOR_DEVICE_ATTR_2(temp1_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
348 static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
350 static SENSOR_DEVICE_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, input);
351 static SENSOR_DEVICE_ATTR_2(temp2_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
353 static SENSOR_DEVICE_ATTR_2(temp2_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
355 static SENSOR_DEVICE_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 2, input);
356 static SENSOR_DEVICE_ATTR_2(temp3_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
358 static SENSOR_DEVICE_ATTR_2(temp3_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
[all …]
Dultra45_env.c160 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function
171 static SENSOR_DEVICE_ATTR(adt7462_local_temp, S_IRUGO, show_temp, NULL, 0);
172 static SENSOR_DEVICE_ATTR(cpu0_temp, S_IRUGO, show_temp, NULL, 1);
173 static SENSOR_DEVICE_ATTR(cpu1_temp, S_IRUGO, show_temp, NULL, 2);
174 static SENSOR_DEVICE_ATTR(motherboard_temp, S_IRUGO, show_temp, NULL, 3);
175 static SENSOR_DEVICE_ATTR(lm95221_local_temp, S_IRUGO, show_temp, NULL, 4);
176 static SENSOR_DEVICE_ATTR(fire_temp, S_IRUGO, show_temp, NULL, 5);
177 static SENSOR_DEVICE_ATTR(lsi1064_local_temp, S_IRUGO, show_temp, NULL, 6);
178 static SENSOR_DEVICE_ATTR(front_panel_temp, S_IRUGO, show_temp, NULL, 7);
179 static SENSOR_DEVICE_ATTR(psu_temp, S_IRUGO, show_temp, NULL, 13);
Dadm1029.c163 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) in show_temp() function
246 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
247 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
248 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
250 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp, NULL, 3);
251 static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO, show_temp, NULL, 4);
252 static SENSOR_DEVICE_ATTR(temp3_max, S_IRUGO, show_temp, NULL, 5);
254 static SENSOR_DEVICE_ATTR(temp1_min, S_IRUGO, show_temp, NULL, 6);
255 static SENSOR_DEVICE_ATTR(temp2_min, S_IRUGO, show_temp, NULL, 7);
256 static SENSOR_DEVICE_ATTR(temp3_min, S_IRUGO, show_temp, NULL, 8);
Dmax1619.c135 #define show_temp(value) \ macro
142 show_temp(temp_input1);
143 show_temp(temp_input2);
144 show_temp(temp_low2);
145 show_temp(temp_high2);
146 show_temp(temp_crit2);
147 show_temp(temp_hyst2);
Dadt7475.c376 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function
955 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, INPUT, 0);
956 static SENSOR_DEVICE_ATTR_2(temp1_alarm, S_IRUGO, show_temp, NULL, ALARM, 0);
957 static SENSOR_DEVICE_ATTR_2(temp1_fault, S_IRUGO, show_temp, NULL, FAULT, 0);
958 static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
960 static SENSOR_DEVICE_ATTR_2(temp1_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
962 static SENSOR_DEVICE_ATTR_2(temp1_offset, S_IRUGO | S_IWUSR, show_temp,
965 show_temp, set_temp, AUTOMIN, 0);
968 static SENSOR_DEVICE_ATTR_2(temp1_crit, S_IRUGO | S_IWUSR, show_temp, set_temp,
970 static SENSOR_DEVICE_ATTR_2(temp1_crit_hyst, S_IRUGO | S_IWUSR, show_temp,
[all …]
Dlm73.c65 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() function
88 show_temp, set_temp, LM73_REG_MAX);
90 show_temp, set_temp, LM73_REG_MIN);
92 show_temp, NULL, LM73_REG_INPUT);
Dk8temp.c113 static ssize_t show_temp(struct device *dev, in show_temp() function
133 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0);
134 static SENSOR_DEVICE_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1);
135 static SENSOR_DEVICE_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 1, 0);
136 static SENSOR_DEVICE_ATTR_2(temp4_input, S_IRUGO, show_temp, NULL, 1, 1);
Dsch5627.c214 static ssize_t show_temp(struct device *dev, struct device_attribute in show_temp() function
330 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
331 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
332 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
333 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
334 static SENSOR_DEVICE_ATTR(temp5_input, S_IRUGO, show_temp, NULL, 4);
335 static SENSOR_DEVICE_ATTR(temp6_input, S_IRUGO, show_temp, NULL, 5);
336 static SENSOR_DEVICE_ATTR(temp7_input, S_IRUGO, show_temp, NULL, 6);
337 static SENSOR_DEVICE_ATTR(temp8_input, S_IRUGO, show_temp, NULL, 7);
Dsmsc47b397.c169 static ssize_t show_temp(struct device *dev, struct device_attribute in show_temp() function
177 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
178 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
179 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
180 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
Dds620.c142 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() function
208 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
209 static SENSOR_DEVICE_ATTR(temp1_min, S_IWUSR | S_IRUGO, show_temp, set_temp, 1);
210 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp, set_temp, 2);
Dlm92.c144 #define show_temp(value) \ macro
151 show_temp(temp1_input);
152 show_temp(temp1_crit);
153 show_temp(temp1_min);
154 show_temp(temp1_max);
Dds1621.c143 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() function
189 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
190 static SENSOR_DEVICE_ATTR(temp1_min, S_IWUSR | S_IRUGO, show_temp, set_temp, 1);
191 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp, set_temp, 2);
Dmax1668.c142 static ssize_t show_temp(struct device *dev, in show_temp() function
253 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
258 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
263 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
268 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
273 static SENSOR_DEVICE_ATTR(temp5_input, S_IRUGO, show_temp, NULL, 4);
Dad7418.c145 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function
185 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
187 show_temp, set_temp, 1);
189 show_temp, set_temp, 2);
Dlm75.c91 static ssize_t show_temp(struct device *dev, struct device_attribute *da, in show_temp() function
126 show_temp, set_temp, 1);
128 show_temp, set_temp, 2);
129 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
Dw83l785ts.c126 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function
134 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
135 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp, NULL, 1);
Dw83l786ng.c374 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() function
411 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0),
412 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, 0),
417 show_temp, store_temp, 0, 1),
419 show_temp, store_temp, 1, 1),
424 show_temp, store_temp, 0, 2),
426 show_temp, store_temp, 1, 2),
Dadt7470.c563 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function
1008 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
1009 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
1010 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
1011 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
1012 static SENSOR_DEVICE_ATTR(temp5_input, S_IRUGO, show_temp, NULL, 4);
1013 static SENSOR_DEVICE_ATTR(temp6_input, S_IRUGO, show_temp, NULL, 5);
1014 static SENSOR_DEVICE_ATTR(temp7_input, S_IRUGO, show_temp, NULL, 6);
1015 static SENSOR_DEVICE_ATTR(temp8_input, S_IRUGO, show_temp, NULL, 7);
1016 static SENSOR_DEVICE_ATTR(temp9_input, S_IRUGO, show_temp, NULL, 8);
[all …]
Demc2103.c187 show_temp(struct device *dev, struct device_attribute *da, char *buf) in show_temp() function
471 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
482 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
493 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
504 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
Dk10temp.c57 static ssize_t show_temp(struct device *dev, in show_temp() function
95 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
Dlm80.c316 #define show_temp(suffix, value) \ macro
325 show_temp(hot_max, temp_hot_max);
326 show_temp(hot_hyst, temp_hot_hyst);
327 show_temp(os_max, temp_os_max);
328 show_temp(os_hyst, temp_os_hyst);
Dadm1021.c137 static ssize_t show_temp(struct device *dev, in show_temp() function
266 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
271 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
Dvia-cputemp.c77 static ssize_t show_temp(struct device *dev, in show_temp() function
105 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL,

123