/drivers/hwmon/ |
D | adt7475.c | 560 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 860 static SENSOR_DEVICE_ATTR_2(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT, 868 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm, 870 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point2_pwm, S_IRUGO | S_IWUSR, show_pwm, 872 static SENSOR_DEVICE_ATTR_2(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT, 880 static SENSOR_DEVICE_ATTR_2(pwm2_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm, 882 static SENSOR_DEVICE_ATTR_2(pwm2_auto_point2_pwm, S_IRUGO | S_IWUSR, show_pwm, 884 static SENSOR_DEVICE_ATTR_2(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT, 892 static SENSOR_DEVICE_ATTR_2(pwm3_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm, 894 static SENSOR_DEVICE_ATTR_2(pwm3_auto_point2_pwm, S_IRUGO | S_IWUSR, show_pwm,
|
D | dme1737.c | 1115 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 1503 show_pwm, set_pwm, SYS_PWM, ix-1); \ 1505 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \ 1507 show_pwm, set_pwm, SYS_PWM_ENABLE, ix-1); \ 1509 show_pwm, set_pwm, SYS_PWM_RAMP_RATE, ix-1); \ 1511 show_pwm, set_pwm, SYS_PWM_AUTO_CHANNELS_ZONE, ix-1); \ 1513 show_pwm, set_pwm, SYS_PWM_AUTO_PWM_MIN, ix-1); \ 1515 show_pwm, set_pwm, SYS_PWM_AUTO_POINT1_PWM, ix-1); \ 1517 show_pwm, NULL, SYS_PWM_AUTO_POINT2_PWM, ix-1) 1527 show_pwm, set_pwm, SYS_PWM, ix-1); \ [all …]
|
D | vt1211.c | 572 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 987 show_pwm, NULL, SHOW_PWM, ix-1), \ 989 show_pwm, set_pwm, SHOW_SET_PWM_ENABLE, ix-1), \ 991 show_pwm, set_pwm, SHOW_SET_PWM_AUTO_CHANNELS_TEMP, ix-1) 995 show_pwm, set_pwm, SHOW_SET_PWM_FREQ, ix-1) 999 show_pwm, NULL, SHOW_SET_PWM_FREQ, ix-1)
|
D | adm1031.c | 390 static ssize_t show_pwm(struct device *dev, in show_pwm() function 422 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0); 423 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1); 425 show_pwm, set_pwm, 0); 427 show_pwm, set_pwm, 1);
|
D | f71882fg.c | 209 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, 380 SENSOR_ATTR_2(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 0), 389 SENSOR_ATTR_2(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 1), 453 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2), 568 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2), 609 SENSOR_ATTR_2(pwm4, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 3), 662 SENSOR_ATTR_2(pwm3, S_IRUGO, show_pwm, NULL, 0, 2), 1356 static ssize_t show_pwm(struct device *dev, in show_pwm() function
|
D | w83791d.c | 697 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 727 show_pwm, store_pwm, 0), 729 show_pwm, store_pwm, 1), 731 show_pwm, store_pwm, 2), 733 show_pwm, store_pwm, 3), 735 show_pwm, store_pwm, 4),
|
D | adt7470.c | 701 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, in show_pwm() function 1075 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 1076 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1); 1077 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2); 1078 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 3);
|
D | f75375s.c | 364 static ssize_t show_pwm(struct device *dev, struct device_attribute in show_pwm() function 551 show_pwm, set_pwm, 0); 557 show_pwm, set_pwm, 1);
|
D | adt7473.c | 602 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, in show_pwm() function 977 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 978 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1); 979 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2);
|
D | w83793.c | 423 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function 922 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \ 925 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \ 927 show_pwm, store_pwm, PWM_START, index - 1), \ 929 show_pwm, store_pwm, PWM_STOP_TIME, index - 1)
|
D | w83781d.c | 672 show_pwm(struct device *dev, struct device_attribute *da, char *buf) in show_pwm() function 738 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 0); 739 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 1); 740 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 2); 741 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 3);
|
D | adt7462.c | 1136 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, in show_pwm() function 1655 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 1656 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1); 1657 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2); 1658 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 3);
|
D | w83l786ng.c | 483 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0), 484 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
|
D | w83627ehf.c | 1022 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0), 1023 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1), 1024 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2), 1025 SENSOR_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3),
|
D | f71805f.c | 607 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, in show_pwm() function 1013 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO, show_pwm, set_pwm, 0); 1019 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO, show_pwm, set_pwm, 1); 1025 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO, show_pwm, set_pwm, 2);
|
D | w83792d.c | 567 show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 1017 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0); 1018 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1); 1019 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2);
|
D | w83627hf.c | 926 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) in show_pwm() function 962 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0); 963 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 1); 964 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 2);
|
D | pc87360.c | 340 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) in show_pwm() function 366 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0), 367 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1), 368 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2),
|
D | fscpos.c | 232 static ssize_t show_pwm(struct fscpos_data *data, char *buf, int nr) in show_pwm() function
|
D | fscher.c | 481 static ssize_t show_pwm(struct fscher_data *data, char *buf, int nr) in show_pwm() function
|
D | it87.c | 568 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 740 show_pwm, set_pwm, offset - 1); \
|
D | lm85.c | 481 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 590 show_pwm, set_pwm, offset - 1); \
|
D | lm93.c | 1750 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 1791 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0); 1792 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
|