Searched refs:show_temp (Results 1 - 25 of 32) sorted by path

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/hwmon/
H A Dad7418.c150 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, function
184 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
186 show_temp, set_temp, 1);
188 show_temp, set_temp, 2);
H A Dadm1025.c183 #define show_temp(offset) \ macro
184 static ssize_t show_temp##offset(struct device *dev, struct device_attribute *attr, char *buf) \
189 static ssize_t show_temp##offset##_min(struct device *dev, struct device_attribute *attr, char *buf) \
194 static ssize_t show_temp##offset##_max(struct device *dev, struct device_attribute *attr, char *buf) \
199 static DEVICE_ATTR(temp##offset##_input, S_IRUGO, show_temp##offset, NULL);
200 show_temp(1);
201 show_temp(2);
273 show_temp##offset##_min, set_temp##offset##_min); \
275 show_temp##offset##_max, set_temp##offset##_max);
H A Dadm1026.c965 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, function
1023 static SENSOR_DEVICE_ATTR(temp##offset##_input, S_IRUGO, show_temp, \
H A Dadm1029.c160 show_temp(struct device *dev, struct device_attribute *devattr, char *buf) function
239 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
240 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
241 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
243 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp, NULL, 3);
244 static SENSOR_DEVICE_ATTR(temp2_max, S_IRUGO, show_temp, NULL, 4);
245 static SENSOR_DEVICE_ATTR(temp3_max, S_IRUGO, show_temp, NULL, 5);
247 static SENSOR_DEVICE_ATTR(temp1_min, S_IRUGO, show_temp, NULL, 6);
248 static SENSOR_DEVICE_ATTR(temp2_min, S_IRUGO, show_temp, NULL, 7);
249 static SENSOR_DEVICE_ATTR(temp3_min, S_IRUGO, show_temp, NUL
[all...]
H A Dadm1031.c598 static ssize_t show_temp(struct device *dev, char *buf, int nr) function
674 return show_temp(dev, buf, offset - 1); \
H A Dadm9240.c176 static ssize_t show_temp(struct device *dev, struct device_attribute *dummy, function
207 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
H A Dasb100.c472 static ssize_t show_temp##num(struct device *dev, struct device_attribute *attr, char *buf) \
474 return show_temp(dev, buf, num-1); \
476 static DEVICE_ATTR(temp##num##_input, S_IRUGO, show_temp##num, NULL); \
H A Dcoretemp.c89 static ssize_t show_temp(struct device *dev, function
104 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL,
106 static SENSOR_DEVICE_ATTR(temp1_crit, S_IRUGO, show_temp, NULL,
H A Dds1621.c178 static DEVICE_ATTR(temp1_input, S_IRUGO , show_temp, NULL);
H A Df71805f.c708 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, function
895 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
901 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
907 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
H A Dit87.c362 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, function
423 show_temp, NULL, offset - 1); \
H A Dk8temp.c110 static ssize_t show_temp(struct device *dev, function
125 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0);
126 static SENSOR_DEVICE_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1);
127 static SENSOR_DEVICE_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 1, 0);
128 static SENSOR_DEVICE_ATTR_2(temp4_input, S_IRUGO, show_temp, NULL, 1, 1);
H A Dlm75.c82 static ssize_t show_temp(struct device *dev, struct device_attribute *da, function
108 show_temp, set_temp, 1);
110 show_temp, set_temp, 2);
111 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
H A Dlm78.c260 static ssize_t show_temp(struct device *dev, struct device_attribute *da, function
307 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
H A Dlm80.c310 #define show_temp(suffix, value) \ macro
316 show_temp(hot_max, temp_hot_max);
317 show_temp(hot_hyst, temp_hot_hyst);
318 show_temp(os_max, temp_os_max);
319 show_temp(os_hyst, temp_os_hyst);
H A Dlm83.c163 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, function
205 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
206 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
207 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
208 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
209 static SENSOR_DEVICE_ATTR(temp1_max, S_IWUSR | S_IRUGO, show_temp,
211 static SENSOR_DEVICE_ATTR(temp2_max, S_IWUSR | S_IRUGO, show_temp,
213 static SENSOR_DEVICE_ATTR(temp3_max, S_IWUSR | S_IRUGO, show_temp,
215 static SENSOR_DEVICE_ATTR(temp4_max, S_IWUSR | S_IRUGO, show_temp,
217 static SENSOR_DEVICE_ATTR(temp1_crit, S_IRUGO, show_temp, NUL
[all...]
H A Dlm85.c621 static ssize_t show_temp(struct device *dev, char *buf, int nr) function
667 return show_temp(dev, buf, offset - 1); \
961 static ssize_t show_temp##offset##_auto_temp_off (struct device *dev, struct device_attribute *attr, \
971 static ssize_t show_temp##offset##_auto_temp_min (struct device *dev, struct device_attribute *attr, \
981 static ssize_t show_temp##offset##_auto_temp_max (struct device *dev, struct device_attribute *attr, \
991 static ssize_t show_temp##offset##_auto_temp_crit (struct device *dev, struct device_attribute *attr, \
1002 show_temp##offset##_auto_temp_off, \
1005 show_temp##offset##_auto_temp_min, \
1008 show_temp##offset##_auto_temp_max, \
1011 show_temp##offse
[all...]
H A Dlm87.c303 #define show_temp(offset) \ macro
304 static ssize_t show_temp##offset##_input(struct device *dev, struct device_attribute *attr, char *buf) \
309 static ssize_t show_temp##offset##_low(struct device *dev, struct device_attribute *attr, char *buf) \
314 static ssize_t show_temp##offset##_high(struct device *dev, struct device_attribute *attr, char *buf) \
320 show_temp##offset##_input, NULL);
321 show_temp(1);
322 show_temp(2);
323 show_temp(3);
363 show_temp##offset##_high, set_temp##offset##_high); \
365 show_temp##offse
[all...]
H A Dlm92.c143 #define show_temp(value) \ macro
149 show_temp(temp1_input);
150 show_temp(temp1_crit);
151 show_temp(temp1_min);
152 show_temp(temp1_max);
H A Dmax1619.c125 #define show_temp(value) \ macro
131 show_temp(temp_input1);
132 show_temp(temp_input2);
133 show_temp(temp_low2);
134 show_temp(temp_high2);
135 show_temp(temp_crit2);
136 show_temp(temp_hyst2);
H A Dsis5595.c296 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, char *buf) function
340 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
H A Dsmsc47b397.c160 static ssize_t show_temp(struct device *dev, struct device_attribute function
168 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
169 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
170 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
171 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3);
H A Dsmsc47m192.c210 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, function
312 show_temp, NULL, index-1); \
H A Dvia686a.c418 static ssize_t show_temp(struct device *dev, char *buf, int nr) { function
459 return show_temp(dev, buf, offset - 1); \
H A Dvt1211.c403 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, function
916 show_temp, NULL, SHOW_TEMP_INPUT, ix-1)
930 show_temp, set_temp, SHOW_SET_TEMP_MAX, ix-1)
944 show_temp, set_temp, SHOW_SET_TEMP_MAX_HYST, ix-1)
958 show_temp, NULL, SHOW_TEMP_ALARM, ix-1)

Completed in 333 milliseconds

12