/linux-6.1.9/drivers/hwmon/ |
D | w83792d.c | 614 store_pwm(struct device *dev, struct device_attribute *attr, in store_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 | w83l786ng.c | 503 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function 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 | w83791d.c | 717 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_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 | w83795.c | 854 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function 1638 store_pwm, PWM_OUTPUT, index - 1), \ 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 | 704 store_pwm(struct device *dev, struct device_attribute *da, const char *buf, in store_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 | w83793.c | 526 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function 1039 store_pwm, PWM_DUTY, index - 1), \ 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 | nct6775-core.c | 2447 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, in store_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 | 1106 static ssize_t store_pwm(struct device *dev, in store_pwm() function 1274 SENSOR_ATTR_2(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 0), 1285 SENSOR_ATTR_2(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 1), 1296 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2), 1307 SENSOR_ATTR_2(pwm4, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 3),
|
D | nct6683.c | 921 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, in store_pwm() function 942 SENSOR_TEMPLATE(pwm, "pwm%d", S_IRUGO, show_pwm, store_pwm, 0);
|
D | w83627ehf.c | 836 store_pwm(struct device *dev, struct w83627ehf_data *data, int channel, in store_pwm() function 1628 return store_pwm(dev, data, channel, val); in w83627ehf_write()
|
/linux-6.1.9/drivers/video/backlight/ |
D | lm3533_bl.c | 196 static ssize_t store_pwm(struct device *dev, in store_pwm() function
|
/linux-6.1.9/drivers/leds/ |
D | leds-lm3533.c | 570 static ssize_t store_pwm(struct device *dev, in store_pwm() function
|