Home
last modified time | relevance | path

Searched refs:store_pwm (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/hwmon/
Dw83792d.c617 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1048 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
1049 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
1050 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2);
1051 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3);
1052 static SENSOR_DEVICE_ATTR(pwm5, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 4);
1053 static SENSOR_DEVICE_ATTR(pwm6, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 5);
1054 static SENSOR_DEVICE_ATTR(pwm7, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 6);
Dw83l786ng.c503 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),
Dw83791d.c720 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
741 show_pwm, store_pwm, 0),
743 show_pwm, store_pwm, 1),
745 show_pwm, store_pwm, 2),
747 show_pwm, store_pwm, 3),
749 show_pwm, store_pwm, 4),
Dw83795.c854 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), \
Dw83781d.c704 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);
Dw83793.c527 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1040 store_pwm, PWM_DUTY, index - 1), \
1042 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
1044 show_pwm, store_pwm, PWM_START, index - 1), \
1046 show_pwm, store_pwm, PWM_STOP_TIME, index - 1)
Df71882fg.c349 static ssize_t store_pwm(struct device *dev, struct device_attribute *devattr,
587 SENSOR_ATTR_2(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 0),
598 SENSOR_ATTR_2(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 1),
609 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2),
620 SENSOR_ATTR_2(pwm4, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 3),
1806 static ssize_t store_pwm(struct device *dev, in store_pwm() function
Dnct6775.c2589 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, in store_pwm() function
3028 SENSOR_TEMPLATE_2(pwm, "pwm%d", S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 0);
3088 S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 5);
3090 S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 6);
3294 store_pwm, 0, 1);
3296 store_pwm, 0, 2);
3303 SENSOR_TEMPLATE_2(pwm_max, "pwm%d_max", S_IWUSR | S_IRUGO, show_pwm, store_pwm,
3307 store_pwm, 0, 4);
Dnct6683.c921 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);
Dw83627ehf.c838 store_pwm(struct device *dev, struct w83627ehf_data *data, int channel, in store_pwm() function
1630 return store_pwm(dev, data, channel, val); in w83627ehf_write()
/Linux-v5.10/drivers/video/backlight/
Dlm3533_bl.c196 static ssize_t store_pwm(struct device *dev, in store_pwm() function
/Linux-v5.10/drivers/leds/
Dleds-lm3533.c570 static ssize_t store_pwm(struct device *dev, in store_pwm() function