/linux-5.19.10/drivers/hwmon/ |
D | dme1737.c | 1196 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 1604 show_pwm, set_pwm, SYS_PWM, ix-1); \ 1606 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \ 1608 show_pwm, set_pwm, SYS_PWM_ENABLE, ix-1); \ 1610 show_pwm, set_pwm, SYS_PWM_RAMP_RATE, ix-1); \ 1612 show_pwm, set_pwm, SYS_PWM_AUTO_CHANNELS_ZONE, ix-1); \ 1614 show_pwm, set_pwm, SYS_PWM_AUTO_PWM_MIN, ix-1); \ 1616 show_pwm, set_pwm, SYS_PWM_AUTO_POINT1_PWM, ix-1); \ 1618 show_pwm, NULL, SYS_PWM_AUTO_POINT2_PWM, ix-1) 1628 show_pwm, set_pwm, SYS_PWM, ix-1); \ [all …]
|
D | vt1211.c | 596 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 1018 show_pwm, NULL, SHOW_PWM, ix-1), \ 1020 show_pwm, set_pwm, SHOW_SET_PWM_ENABLE, ix-1), \ 1022 show_pwm, set_pwm, SHOW_SET_PWM_AUTO_CHANNELS_TEMP, ix-1) 1026 show_pwm, set_pwm, SHOW_SET_PWM_FREQ, ix-1) 1030 show_pwm, NULL, SHOW_SET_PWM_FREQ, ix-1)
|
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);
|
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),
|
D | f75375s.c | 488 static ssize_t show_pwm(struct device *dev, struct device_attribute in show_pwm() function 700 show_pwm, set_pwm, 0); 706 show_pwm, set_pwm, 1);
|
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), \
|
D | w83781d.c | 689 show_pwm(struct device *dev, struct device_attribute *da, char *buf) in show_pwm() function 762 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 0); 763 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 1); 764 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 2); 765 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 3);
|
D | w83l786ng.c | 555 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0), 556 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
|
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)
|
D | f71805f.c | 636 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, in show_pwm() function 1079 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO, show_pwm, set_pwm, 0); 1085 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO, show_pwm, set_pwm, 1); 1091 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO, show_pwm, set_pwm, 2);
|
D | it87.c | 1145 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function 1656 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0); 1686 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1); 1715 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 2); 1744 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 3); 1763 static SENSOR_DEVICE_ATTR(pwm5, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 4); 1782 static SENSOR_DEVICE_ATTR(pwm6, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 5);
|
D | nct6775-core.c | 2419 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function 2946 SENSOR_TEMPLATE_2(pwm, "pwm%d", 0644, show_pwm, store_pwm, 0, 0); 3003 SENSOR_TEMPLATE_2(pwm_weight_duty_step, "pwm%d_weight_duty_step", 0644, show_pwm, store_pwm, 0, 5); 3004 SENSOR_TEMPLATE_2(pwm_weight_duty_base, "pwm%d_weight_duty_base", 0644, show_pwm, store_pwm, 0, 6); 3213 SENSOR_TEMPLATE_2(pwm_start, "pwm%d_start", 0644, show_pwm, store_pwm, 0, 1); 3214 SENSOR_TEMPLATE_2(pwm_floor, "pwm%d_floor", 0644, show_pwm, store_pwm, 0, 2); 3220 SENSOR_TEMPLATE_2(pwm_max, "pwm%d_max", 0644, show_pwm, store_pwm, 0, 3); 3222 SENSOR_TEMPLATE_2(pwm_step, "pwm%d_step", 0644, show_pwm, store_pwm, 0, 4);
|
D | f71882fg.c | 348 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, 588 SENSOR_ATTR_2(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 0), 599 SENSOR_ATTR_2(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 1), 610 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2), 621 SENSOR_ATTR_2(pwm4, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 3), 1790 static ssize_t show_pwm(struct device *dev, in show_pwm() function
|
D | nct6683.c | 911 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function 942 SENSOR_TEMPLATE(pwm, "pwm%d", S_IRUGO, show_pwm, store_pwm, 0);
|
/linux-5.19.10/drivers/video/backlight/ |
D | lm3533_bl.c | 181 static ssize_t show_pwm(struct device *dev, in show_pwm() function
|
/linux-5.19.10/drivers/leds/ |
D | leds-lm3533.c | 554 static ssize_t show_pwm(struct device *dev, in show_pwm() function
|