/drivers/hwmon/ |
D | nct7802.c | 144 static ssize_t store_pwm(struct device *dev, struct device_attribute *devattr, in store_pwm() function 835 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 837 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 839 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 919 show_pwm, store_pwm, 0x85); 921 show_pwm, store_pwm, 0x86); 923 show_pwm, store_pwm, 0x87); 925 show_pwm, store_pwm, 0x88); 942 show_pwm, store_pwm, 0x95); 944 show_pwm, store_pwm, 0x96); [all …]
|
D | w83792d.c | 631 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function 1072 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0); 1073 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1); 1074 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2); 1075 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3); 1076 static SENSOR_DEVICE_ATTR(pwm5, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 4); 1077 static SENSOR_DEVICE_ATTR(pwm6, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 5); 1078 static SENSOR_DEVICE_ATTR(pwm7, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 6);
|
D | w83791d.c | 734 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() 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),
|
D | w83l786ng.c | 516 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function 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),
|
D | w83795.c | 867 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function 1651 store_pwm, PWM_OUTPUT, index - 1), \ 1657 show_pwm, store_pwm, PWM_FREQ, index - 1), \ 1659 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \ 1661 show_pwm, store_pwm, PWM_START, index - 1), \ 1663 show_pwm, store_pwm, PWM_STOP_TIME, index - 1), \
|
D | w83781d.c | 718 store_pwm(struct device *dev, struct device_attribute *da, const char *buf, in store_pwm() 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);
|
D | w83793.c | 541 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function 1054 store_pwm, PWM_DUTY, index - 1), \ 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)
|
D | f71882fg.c | 362 static ssize_t store_pwm(struct device *dev, struct device_attribute *devattr, 600 SENSOR_ATTR_2(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 0), 611 SENSOR_ATTR_2(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 1), 622 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2), 633 SENSOR_ATTR_2(pwm4, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 3), 1819 static ssize_t store_pwm(struct device *dev, in store_pwm() function
|
D | nct6775.c | 2334 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, in store_pwm() function 2766 SENSOR_TEMPLATE_2(pwm, "pwm%d", S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 0); 2826 S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 5); 2828 S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 6); 3027 store_pwm, 0, 1); 3029 store_pwm, 0, 2); 3036 SENSOR_TEMPLATE_2(pwm_max, "pwm%d_max", S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3040 store_pwm, 0, 4);
|
D | w83627hf.c | 1063 store_pwm(struct device *dev, struct device_attribute *devattr, in store_pwm() function 1096 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0); 1097 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 1); 1098 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 2);
|
D | w83627ehf.c | 1424 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function 1566 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0), 1567 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1), 1568 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2), 1569 SENSOR_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3),
|
D | nct6683.c | 930 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, in store_pwm() function 951 SENSOR_TEMPLATE(pwm, "pwm%d", S_IRUGO, show_pwm, store_pwm, 0);
|
D | lm93.c | 1879 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function 1907 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0); 1908 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
|
/drivers/video/backlight/ |
D | lm3533_bl.c | 206 static ssize_t store_pwm(struct device *dev, in store_pwm() function
|
/drivers/leds/ |
D | leds-lm3533.c | 574 static ssize_t store_pwm(struct device *dev, in store_pwm() function
|