• Home
  • Raw
  • Download

Lines Matching refs:attr

557 static ssize_t show_fan(struct device *dev, struct device_attribute *attr,  in show_fan()  argument
560 int nr = to_sensor_dev_attr(attr)->index; in show_fan()
565 static ssize_t show_fan_min(struct device *dev, struct device_attribute *attr, in show_fan_min() argument
568 int nr = to_sensor_dev_attr(attr)->index; in show_fan_min()
573 static ssize_t set_fan_min(struct device *dev, struct device_attribute *attr, in set_fan_min() argument
576 int nr = to_sensor_dev_attr(attr)->index; in set_fan_min()
606 static ssize_t show_vid_reg(struct device *dev, struct device_attribute *attr, in show_vid_reg() argument
625 static ssize_t show_vrm_reg(struct device *dev, struct device_attribute *attr, in show_vrm_reg() argument
632 static ssize_t store_vrm_reg(struct device *dev, struct device_attribute *attr, in store_vrm_reg() argument
653 *attr, char *buf) in show_alarms_reg()
661 static ssize_t show_alarm(struct device *dev, struct device_attribute *attr, in show_alarm() argument
664 int nr = to_sensor_dev_attr(attr)->index; in show_alarm()
689 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() argument
692 int nr = to_sensor_dev_attr(attr)->index; in show_pwm()
697 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() argument
700 int nr = to_sensor_dev_attr(attr)->index; in set_pwm()
718 *attr, char *buf) in show_pwm_enable()
720 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_enable()
740 *attr, const char *buf, size_t count) in set_pwm_enable()
742 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_enable()
783 struct device_attribute *attr, char *buf) in show_pwm_freq() argument
785 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_freq()
798 struct device_attribute *attr, const char *buf, size_t count) in set_pwm_freq() argument
800 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_freq()
848 static ssize_t show_in(struct device *dev, struct device_attribute *attr, in show_in() argument
851 int nr = to_sensor_dev_attr(attr)->index; in show_in()
857 static ssize_t show_in_min(struct device *dev, struct device_attribute *attr, in show_in_min() argument
860 int nr = to_sensor_dev_attr(attr)->index; in show_in_min()
865 static ssize_t set_in_min(struct device *dev, struct device_attribute *attr, in set_in_min() argument
868 int nr = to_sensor_dev_attr(attr)->index; in set_in_min()
885 static ssize_t show_in_max(struct device *dev, struct device_attribute *attr, in show_in_max() argument
888 int nr = to_sensor_dev_attr(attr)->index; in show_in_max()
893 static ssize_t set_in_max(struct device *dev, struct device_attribute *attr, in set_in_max() argument
896 int nr = to_sensor_dev_attr(attr)->index; in set_in_max()
932 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() argument
935 int nr = to_sensor_dev_attr(attr)->index; in show_temp()
941 static ssize_t show_temp_min(struct device *dev, struct device_attribute *attr, in show_temp_min() argument
944 int nr = to_sensor_dev_attr(attr)->index; in show_temp_min()
949 static ssize_t set_temp_min(struct device *dev, struct device_attribute *attr, in set_temp_min() argument
952 int nr = to_sensor_dev_attr(attr)->index; in set_temp_min()
972 static ssize_t show_temp_max(struct device *dev, struct device_attribute *attr, in show_temp_max() argument
975 int nr = to_sensor_dev_attr(attr)->index; in show_temp_max()
980 static ssize_t set_temp_max(struct device *dev, struct device_attribute *attr, in set_temp_max() argument
983 int nr = to_sensor_dev_attr(attr)->index; in set_temp_max()
1019 struct device_attribute *attr, char *buf) in show_pwm_auto_channels() argument
1021 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_auto_channels()
1027 struct device_attribute *attr, const char *buf, size_t count) in set_pwm_auto_channels() argument
1029 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_auto_channels()
1049 struct device_attribute *attr, char *buf) in show_pwm_auto_pwm_min() argument
1051 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_auto_pwm_min()
1057 struct device_attribute *attr, const char *buf, size_t count) in set_pwm_auto_pwm_min() argument
1059 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_auto_pwm_min()
1078 struct device_attribute *attr, char *buf) in show_pwm_auto_pwm_minctl() argument
1080 int nr = to_sensor_dev_attr(attr)->index; in show_pwm_auto_pwm_minctl()
1086 struct device_attribute *attr, const char *buf, size_t count) in set_pwm_auto_pwm_minctl() argument
1088 int nr = to_sensor_dev_attr(attr)->index; in set_pwm_auto_pwm_minctl()
1128 struct device_attribute *attr, char *buf) in show_temp_auto_temp_off() argument
1130 int nr = to_sensor_dev_attr(attr)->index; in show_temp_auto_temp_off()
1137 struct device_attribute *attr, const char *buf, size_t count) in set_temp_auto_temp_off() argument
1139 int nr = to_sensor_dev_attr(attr)->index; in set_temp_auto_temp_off()
1166 struct device_attribute *attr, char *buf) in show_temp_auto_temp_min() argument
1168 int nr = to_sensor_dev_attr(attr)->index; in show_temp_auto_temp_min()
1174 struct device_attribute *attr, const char *buf, size_t count) in set_temp_auto_temp_min() argument
1176 int nr = to_sensor_dev_attr(attr)->index; in set_temp_auto_temp_min()
1204 struct device_attribute *attr, char *buf) in show_temp_auto_temp_max() argument
1206 int nr = to_sensor_dev_attr(attr)->index; in show_temp_auto_temp_max()
1213 struct device_attribute *attr, const char *buf, size_t count) in set_temp_auto_temp_max() argument
1215 int nr = to_sensor_dev_attr(attr)->index; in set_temp_auto_temp_max()
1239 struct device_attribute *attr, char *buf) in show_temp_auto_temp_crit() argument
1241 int nr = to_sensor_dev_attr(attr)->index; in show_temp_auto_temp_crit()
1247 struct device_attribute *attr, const char *buf, size_t count) in set_temp_auto_temp_crit() argument
1249 int nr = to_sensor_dev_attr(attr)->index; in set_temp_auto_temp_crit()
1286 &sensor_dev_attr_fan1_input.dev_attr.attr,
1287 &sensor_dev_attr_fan2_input.dev_attr.attr,
1288 &sensor_dev_attr_fan3_input.dev_attr.attr,
1289 &sensor_dev_attr_fan4_input.dev_attr.attr,
1290 &sensor_dev_attr_fan1_min.dev_attr.attr,
1291 &sensor_dev_attr_fan2_min.dev_attr.attr,
1292 &sensor_dev_attr_fan3_min.dev_attr.attr,
1293 &sensor_dev_attr_fan4_min.dev_attr.attr,
1294 &sensor_dev_attr_fan1_alarm.dev_attr.attr,
1295 &sensor_dev_attr_fan2_alarm.dev_attr.attr,
1296 &sensor_dev_attr_fan3_alarm.dev_attr.attr,
1297 &sensor_dev_attr_fan4_alarm.dev_attr.attr,
1299 &sensor_dev_attr_pwm1.dev_attr.attr,
1300 &sensor_dev_attr_pwm2.dev_attr.attr,
1301 &sensor_dev_attr_pwm3.dev_attr.attr,
1302 &sensor_dev_attr_pwm1_enable.dev_attr.attr,
1303 &sensor_dev_attr_pwm2_enable.dev_attr.attr,
1304 &sensor_dev_attr_pwm3_enable.dev_attr.attr,
1305 &sensor_dev_attr_pwm1_freq.dev_attr.attr,
1306 &sensor_dev_attr_pwm2_freq.dev_attr.attr,
1307 &sensor_dev_attr_pwm3_freq.dev_attr.attr,
1309 &sensor_dev_attr_in0_input.dev_attr.attr,
1310 &sensor_dev_attr_in1_input.dev_attr.attr,
1311 &sensor_dev_attr_in2_input.dev_attr.attr,
1312 &sensor_dev_attr_in3_input.dev_attr.attr,
1313 &sensor_dev_attr_in0_min.dev_attr.attr,
1314 &sensor_dev_attr_in1_min.dev_attr.attr,
1315 &sensor_dev_attr_in2_min.dev_attr.attr,
1316 &sensor_dev_attr_in3_min.dev_attr.attr,
1317 &sensor_dev_attr_in0_max.dev_attr.attr,
1318 &sensor_dev_attr_in1_max.dev_attr.attr,
1319 &sensor_dev_attr_in2_max.dev_attr.attr,
1320 &sensor_dev_attr_in3_max.dev_attr.attr,
1321 &sensor_dev_attr_in0_alarm.dev_attr.attr,
1322 &sensor_dev_attr_in1_alarm.dev_attr.attr,
1323 &sensor_dev_attr_in2_alarm.dev_attr.attr,
1324 &sensor_dev_attr_in3_alarm.dev_attr.attr,
1326 &sensor_dev_attr_temp1_input.dev_attr.attr,
1327 &sensor_dev_attr_temp2_input.dev_attr.attr,
1328 &sensor_dev_attr_temp3_input.dev_attr.attr,
1329 &sensor_dev_attr_temp1_min.dev_attr.attr,
1330 &sensor_dev_attr_temp2_min.dev_attr.attr,
1331 &sensor_dev_attr_temp3_min.dev_attr.attr,
1332 &sensor_dev_attr_temp1_max.dev_attr.attr,
1333 &sensor_dev_attr_temp2_max.dev_attr.attr,
1334 &sensor_dev_attr_temp3_max.dev_attr.attr,
1335 &sensor_dev_attr_temp1_alarm.dev_attr.attr,
1336 &sensor_dev_attr_temp2_alarm.dev_attr.attr,
1337 &sensor_dev_attr_temp3_alarm.dev_attr.attr,
1338 &sensor_dev_attr_temp1_fault.dev_attr.attr,
1339 &sensor_dev_attr_temp3_fault.dev_attr.attr,
1341 &sensor_dev_attr_pwm1_auto_channels.dev_attr.attr,
1342 &sensor_dev_attr_pwm2_auto_channels.dev_attr.attr,
1343 &sensor_dev_attr_pwm3_auto_channels.dev_attr.attr,
1344 &sensor_dev_attr_pwm1_auto_pwm_min.dev_attr.attr,
1345 &sensor_dev_attr_pwm2_auto_pwm_min.dev_attr.attr,
1346 &sensor_dev_attr_pwm3_auto_pwm_min.dev_attr.attr,
1348 &sensor_dev_attr_temp1_auto_temp_min.dev_attr.attr,
1349 &sensor_dev_attr_temp2_auto_temp_min.dev_attr.attr,
1350 &sensor_dev_attr_temp3_auto_temp_min.dev_attr.attr,
1351 &sensor_dev_attr_temp1_auto_temp_max.dev_attr.attr,
1352 &sensor_dev_attr_temp2_auto_temp_max.dev_attr.attr,
1353 &sensor_dev_attr_temp3_auto_temp_max.dev_attr.attr,
1354 &sensor_dev_attr_temp1_auto_temp_crit.dev_attr.attr,
1355 &sensor_dev_attr_temp2_auto_temp_crit.dev_attr.attr,
1356 &sensor_dev_attr_temp3_auto_temp_crit.dev_attr.attr,
1358 &dev_attr_vrm.attr,
1359 &dev_attr_cpu0_vid.attr,
1360 &dev_attr_alarms.attr,
1369 &sensor_dev_attr_pwm1_auto_pwm_minctl.dev_attr.attr,
1370 &sensor_dev_attr_pwm2_auto_pwm_minctl.dev_attr.attr,
1371 &sensor_dev_attr_pwm3_auto_pwm_minctl.dev_attr.attr,
1380 &sensor_dev_attr_temp1_auto_temp_off.dev_attr.attr,
1381 &sensor_dev_attr_temp2_auto_temp_off.dev_attr.attr,
1382 &sensor_dev_attr_temp3_auto_temp_off.dev_attr.attr,
1391 &sensor_dev_attr_in4_input.dev_attr.attr,
1392 &sensor_dev_attr_in4_min.dev_attr.attr,
1393 &sensor_dev_attr_in4_max.dev_attr.attr,
1394 &sensor_dev_attr_in4_alarm.dev_attr.attr,
1403 &sensor_dev_attr_in5_input.dev_attr.attr,
1404 &sensor_dev_attr_in6_input.dev_attr.attr,
1405 &sensor_dev_attr_in7_input.dev_attr.attr,
1406 &sensor_dev_attr_in5_min.dev_attr.attr,
1407 &sensor_dev_attr_in6_min.dev_attr.attr,
1408 &sensor_dev_attr_in7_min.dev_attr.attr,
1409 &sensor_dev_attr_in5_max.dev_attr.attr,
1410 &sensor_dev_attr_in6_max.dev_attr.attr,
1411 &sensor_dev_attr_in7_max.dev_attr.attr,
1412 &sensor_dev_attr_in5_alarm.dev_attr.attr,
1413 &sensor_dev_attr_in6_alarm.dev_attr.attr,
1414 &sensor_dev_attr_in7_alarm.dev_attr.attr,