Home
last modified time | relevance | path

Searched refs:show_pwm (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/hwmon/
H A Dw83792d.c580 show_pwm(struct device *dev, struct device_attribute *attr, in show_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 Dw83791d.c708 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_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 Df75375s.c463 static ssize_t show_pwm(struct device *dev, struct device_attribute in show_pwm() function
675 show_pwm, set_pwm, 0);
681 show_pwm, set_pwm, 1);
H A Dw83795.c826 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function
1637 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
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 Dw83793.c508 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function
1038 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
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 Dw83l786ng.c554 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 Dit87.c1353 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
1916 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
1946 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1);
1975 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 2);
2004 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 3);
2023 static SENSOR_DEVICE_ATTR(pwm5, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 4);
2042 static SENSOR_DEVICE_ATTR(pwm6, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 5);
H A Dnct6775-core.c2514 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function
3047 SENSOR_TEMPLATE_2(pwm, "pwm%d", 0644, show_pwm, store_pwm, 0, 0);
3104 SENSOR_TEMPLATE_2(pwm_weight_duty_step, "pwm%d_weight_duty_step", 0644, show_pwm, store_pwm, 0, 5);
3105 SENSOR_TEMPLATE_2(pwm_weight_duty_base, "pwm%d_weight_duty_base", 0644, show_pwm, store_pwm, 0, 6);
3315 SENSOR_TEMPLATE_2(pwm_start, "pwm%d_start", 0644, show_pwm, store_pwm, 0, 1);
3316 SENSOR_TEMPLATE_2(pwm_floor, "pwm%d_floor", 0644, show_pwm, store_pwm, 0, 2);
3322 SENSOR_TEMPLATE_2(pwm_max, "pwm%d_max", 0644, show_pwm, store_pwm, 0, 3);
3324 SENSOR_TEMPLATE_2(pwm_step, "pwm%d_step", 0644, show_pwm, store_pwm, 0, 4);
H A Dnct6683.c914 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function
945 SENSOR_TEMPLATE(pwm, "pwm%d", S_IRUGO, show_pwm, store_pwm, 0);
/linux/drivers/video/backlight/
H A Dlm3533_bl.c180 static ssize_t show_pwm(struct device *dev, in show_pwm() function
/linux/drivers/leds/
H A Dleds-lm3533.c554 static ssize_t show_pwm(struct device *dev, in show_pwm() function