Home
last modified time | relevance | path

Searched refs:store_pwm (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
H A Dw83792d.c614 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);
H A 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),
H A Dw83791d.c717 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),
H A Dw83793.c526 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)
H A 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);
H A 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), \
H A 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),
1807 static ssize_t store_pwm(struct device *dev, in store_pwm() function
H A 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);
H A 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);
H A 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()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dw83792d.c614 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);
H A Dw83l786ng.c502 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
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 Dw83791d.c717 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),
H A 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);
H A Dw83793.c526 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)
H A 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), \
H A Df71882fg.c1109 static ssize_t store_pwm(struct device *dev, in store_pwm() function
1277 SENSOR_ATTR_2(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 0),
1288 SENSOR_ATTR_2(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 1),
1299 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2),
1310 SENSOR_ATTR_2(pwm4, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 3),
H A Dnct6775-core.c2542 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, in store_pwm() function
3048 SENSOR_TEMPLATE_2(pwm, "pwm%d", 0644, show_pwm, store_pwm, 0, 0);
3105 SENSOR_TEMPLATE_2(pwm_weight_duty_step, "pwm%d_weight_duty_step", 0644, show_pwm, store_pwm, 0, 5);
3106 SENSOR_TEMPLATE_2(pwm_weight_duty_base, "pwm%d_weight_duty_base", 0644, show_pwm, store_pwm, 0, 6);
3316 SENSOR_TEMPLATE_2(pwm_start, "pwm%d_start", 0644, show_pwm, store_pwm, 0, 1);
3317 SENSOR_TEMPLATE_2(pwm_floor, "pwm%d_floor", 0644, show_pwm, store_pwm, 0, 2);
3323 SENSOR_TEMPLATE_2(pwm_max, "pwm%d_max", 0644, show_pwm, store_pwm, 0, 3);
3325 SENSOR_TEMPLATE_2(pwm_step, "pwm%d_step", 0644, show_pwm, store_pwm, 0, 4);
H A Dnct6683.c922 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, in store_pwm() function
943 SENSOR_TEMPLATE(pwm, "pwm%d", S_IRUGO, show_pwm, store_pwm, 0);
H A Dw83627ehf.c836 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()
/kernel/linux/linux-5.10/drivers/video/backlight/
H A Dlm3533_bl.c196 static ssize_t store_pwm(struct device *dev, in store_pwm() function
/kernel/linux/linux-6.6/drivers/video/backlight/
H A Dlm3533_bl.c196 static ssize_t store_pwm(struct device *dev, in store_pwm() function
/kernel/linux/linux-5.10/drivers/leds/
H A Dleds-lm3533.c570 static ssize_t store_pwm(struct device *dev, in store_pwm() function
/kernel/linux/linux-6.6/drivers/leds/
H A Dleds-lm3533.c570 static ssize_t store_pwm(struct device *dev, in store_pwm() function

Completed in 61 milliseconds