Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwmon/
Dw83792d.c618 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1049 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
1050 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
1051 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2);
1052 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3);
1053 static SENSOR_DEVICE_ATTR(pwm5, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 4);
1054 static SENSOR_DEVICE_ATTR(pwm6, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 5);
1055 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.c721 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
742 show_pwm, store_pwm, 0),
744 show_pwm, store_pwm, 1),
746 show_pwm, store_pwm, 2),
748 show_pwm, store_pwm, 3),
750 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.c528 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1041 store_pwm, PWM_DUTY, index - 1), \
1043 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
1045 show_pwm, store_pwm, PWM_START, index - 1), \
1047 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);
Dw83627ehf.c1417 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1559 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
1560 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
1561 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2),
1562 SENSOR_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3),
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);
/Linux-v5.4/drivers/video/backlight/
Dlm3533_bl.c202 static ssize_t store_pwm(struct device *dev, in store_pwm() function
/Linux-v5.4/drivers/leds/
Dleds-lm3533.c570 static ssize_t store_pwm(struct device *dev, in store_pwm() function