/drivers/hwmon/ |
H A D | pwm-fan.c | 76 static ssize_t show_pwm(struct device *dev, function 85 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
|
H A D | adt7475.c | 635 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, function 1022 static SENSOR_DEVICE_ATTR_2(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT, 1030 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm, 1032 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point2_pwm, S_IRUGO | S_IWUSR, show_pwm, 1034 static SENSOR_DEVICE_ATTR_2(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT, 1042 static SENSOR_DEVICE_ATTR_2(pwm2_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm, 1044 static SENSOR_DEVICE_ATTR_2(pwm2_auto_point2_pwm, S_IRUGO | S_IWUSR, show_pwm, 1046 static SENSOR_DEVICE_ATTR_2(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT, 1054 static SENSOR_DEVICE_ATTR_2(pwm3_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm, 1056 static SENSOR_DEVICE_ATTR_2(pwm3_auto_point2_pwm, S_IRUGO | S_IWUSR, show_pwm, [all...] |
H A D | dme1737.c | 1205 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, function 1613 show_pwm, set_pwm, SYS_PWM, ix-1); \ 1615 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \ 1617 show_pwm, set_pwm, SYS_PWM_ENABLE, ix-1); \ 1619 show_pwm, set_pwm, SYS_PWM_RAMP_RATE, ix-1); \ 1621 show_pwm, set_pwm, SYS_PWM_AUTO_CHANNELS_ZONE, ix-1); \ 1623 show_pwm, set_pwm, SYS_PWM_AUTO_PWM_MIN, ix-1); \ 1625 show_pwm, set_pwm, SYS_PWM_AUTO_POINT1_PWM, ix-1); \ 1627 show_pwm, NULL, SYS_PWM_AUTO_POINT2_PWM, ix-1) 1637 show_pwm, set_pw [all...] |
H A D | max6639.c | 288 static ssize_t show_pwm(struct device *dev, function 363 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 364 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1);
|
H A D | vt1211.c | 603 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, function 1025 show_pwm, NULL, SHOW_PWM, ix-1), \ 1027 show_pwm, set_pwm, SHOW_SET_PWM_ENABLE, ix-1), \ 1029 show_pwm, set_pwm, SHOW_SET_PWM_AUTO_CHANNELS_TEMP, ix-1) 1033 show_pwm, set_pwm, SHOW_SET_PWM_FREQ, ix-1) 1037 show_pwm, NULL, SHOW_SET_PWM_FREQ, ix-1)
|
H A D | adm1031.c | 484 static ssize_t show_pwm(struct device *dev, function 520 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0); 521 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1); 523 show_pwm, set_pwm, 0); 525 show_pwm, set_pwm, 1);
|
H A D | adt7470.c | 662 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, function 1036 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 1037 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1); 1038 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2); 1039 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 3);
|
H A D | pc87427.c | 605 static ssize_t show_pwm(struct device *dev, struct device_attribute function 669 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 670 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1); 671 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2); 672 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 3);
|
H A D | w83791d.c | 725 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, function 755 show_pwm, store_pwm, 0), 757 show_pwm, store_pwm, 1), 759 show_pwm, store_pwm, 2), 761 show_pwm, store_pwm, 3), 763 show_pwm, store_pwm, 4),
|
H A D | gpio-fan.c | 188 static ssize_t show_pwm(struct device *dev, function 313 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm);
|
H A D | f75375s.c | 503 static ssize_t show_pwm(struct device *dev, struct device_attribute function 715 show_pwm, set_pwm, 0); 721 show_pwm, set_pwm, 1);
|
H A D | f71882fg.c | 331 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, 553 SENSOR_ATTR_2(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 0), 564 SENSOR_ATTR_2(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 1), 575 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2), 586 SENSOR_ATTR_2(pwm4, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 3), 1726 static ssize_t show_pwm(struct device *dev, function
|
H A D | w83795.c | 841 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) function 1652 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \ 1659 show_pwm, store_pwm, PWM_FREQ, index - 1), \ 1661 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \ 1663 show_pwm, store_pwm, PWM_START, index - 1), \ 1665 show_pwm, store_pwm, PWM_STOP_TIME, index - 1), \
|
H A D | f71805f.c | 643 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, function 1086 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO, show_pwm, set_pwm, 0); 1092 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO, show_pwm, set_pwm, 1); 1098 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO, show_pwm, set_pwm, 2);
|
H A D | w83792d.c | 600 show_pwm(struct device *dev, struct device_attribute *attr, function 1075 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0); 1076 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1); 1077 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2);
|
H A D | nct6775.c | 2182 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) function 2635 SENSOR_TEMPLATE_2(pwm, "pwm%d", S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 0); 2695 S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 5); 2697 S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 6); 2893 SENSOR_TEMPLATE_2(pwm_start, "pwm%d_start", S_IWUSR | S_IRUGO, show_pwm, 2895 SENSOR_TEMPLATE_2(pwm_floor, "pwm%d_floor", S_IWUSR | S_IRUGO, show_pwm, 2903 SENSOR_TEMPLATE_2(pwm_max, "pwm%d_max", S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2906 SENSOR_TEMPLATE_2(pwm_step, "pwm%d_step", S_IWUSR | S_IRUGO, show_pwm,
|
H A D | w83l786ng.c | 568 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0), 569 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
|
H A D | adt7462.c | 1108 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, function 1626 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 1627 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1); 1628 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2); 1629 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 3);
|
H A D | w83781d.c | 703 show_pwm(struct device *dev, struct device_attribute *da, char *buf) function 776 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 0); 777 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 1); 778 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 2); 779 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 3);
|
H A D | w83793.c | 523 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) function 1053 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \ 1056 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \ 1058 show_pwm, store_pwm, PWM_START, index - 1), \ 1060 show_pwm, store_pwm, PWM_STOP_TIME, index - 1)
|
H A D | it87.c | 790 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, function 1202 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0); 1227 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1); 1252 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 2);
|
H A D | pc87360.c | 357 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, function 389 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0), 390 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1), 391 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2),
|
H A D | w83627hf.c | 1056 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) function 1097 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0); 1098 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 1); 1099 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 2);
|
/drivers/video/backlight/ |
H A D | lm3533_bl.c | 191 static ssize_t show_pwm(struct device *dev, function
|
/drivers/leds/ |
H A D | leds-lm3533.c | 572 static ssize_t show_pwm(struct device *dev, function
|