/linux/drivers/hwmon/ |
H A D | w83792d.c | 580 show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 1042 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0); 1043 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1); 1044 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2); 1045 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3); 1046 static SENSOR_DEVICE_ATTR(pwm5, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 4); 1047 static SENSOR_DEVICE_ATTR(pwm6, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 5); 1048 static SENSOR_DEVICE_ATTR(pwm7, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 6);
|
H A D | w83791d.c | 708 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 738 show_pwm, store_pwm, 0), 740 show_pwm, store_pwm, 1), 742 show_pwm, store_pwm, 2), 744 show_pwm, store_pwm, 3), 746 show_pwm, store_pwm, 4),
|
H A D | f75375s.c | 463 static ssize_t show_pwm(struct device *dev, struct device_attribute in show_pwm() function 675 show_pwm, set_pwm, 0); 681 show_pwm, set_pwm, 1);
|
H A D | w83795.c | 826 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function 1637 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \ 1644 show_pwm, store_pwm, PWM_FREQ, index - 1), \ 1646 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \ 1648 show_pwm, store_pwm, PWM_START, index - 1), \ 1650 show_pwm, store_pwm, PWM_STOP_TIME, index - 1), \
|
H A D | w83793.c | 508 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function 1038 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \ 1041 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \ 1043 show_pwm, store_pwm, PWM_START, index - 1), \ 1045 show_pwm, store_pwm, PWM_STOP_TIME, index - 1)
|
H A D | w83l786ng.c | 554 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0), 555 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
|
H A D | it87.c | 1353 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 1916 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0); 1946 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1); 1975 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 2); 2004 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 3); 2023 static SENSOR_DEVICE_ATTR(pwm5, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 4); 2042 static SENSOR_DEVICE_ATTR(pwm6, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 5);
|
H A D | nct6775-core.c | 2514 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function 3047 SENSOR_TEMPLATE_2(pwm, "pwm%d", 0644, show_pwm, store_pwm, 0, 0); 3104 SENSOR_TEMPLATE_2(pwm_weight_duty_step, "pwm%d_weight_duty_step", 0644, show_pwm, store_pwm, 0, 5); 3105 SENSOR_TEMPLATE_2(pwm_weight_duty_base, "pwm%d_weight_duty_base", 0644, show_pwm, store_pwm, 0, 6); 3315 SENSOR_TEMPLATE_2(pwm_start, "pwm%d_start", 0644, show_pwm, store_pwm, 0, 1); 3316 SENSOR_TEMPLATE_2(pwm_floor, "pwm%d_floor", 0644, show_pwm, store_pwm, 0, 2); 3322 SENSOR_TEMPLATE_2(pwm_max, "pwm%d_max", 0644, show_pwm, store_pwm, 0, 3); 3324 SENSOR_TEMPLATE_2(pwm_step, "pwm%d_step", 0644, show_pwm, store_pwm, 0, 4);
|
H A D | nct6683.c | 914 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function 945 SENSOR_TEMPLATE(pwm, "pwm%d", S_IRUGO, show_pwm, store_pwm, 0);
|
/linux/drivers/video/backlight/ |
H A D | lm3533_bl.c | 180 static ssize_t show_pwm(struct device *dev, in show_pwm() function
|
/linux/drivers/leds/ |
H A D | leds-lm3533.c | 554 static ssize_t show_pwm(struct device *dev, in show_pwm() function
|