Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/hwmon/
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);
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.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),
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.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)
Dnct6775-core.c2447 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);
Df71882fg.c350 static ssize_t store_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),
1808 static ssize_t store_pwm(struct device *dev, in store_pwm() function
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.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()
/linux-5.19.10/drivers/video/backlight/
Dlm3533_bl.c196 static ssize_t store_pwm(struct device *dev, in store_pwm() function
/linux-5.19.10/drivers/leds/
Dleds-lm3533.c570 static ssize_t store_pwm(struct device *dev, in store_pwm() function