Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/hwmon/
Dnct7904.c383 static ssize_t store_pwm(struct device *dev, struct device_attribute *devattr, in store_pwm() function
452 show_pwm, store_pwm, 0);
456 show_pwm, store_pwm, 1);
460 show_pwm, store_pwm, 2);
464 show_pwm, store_pwm, 3);
Dw83l786ng.c516 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
568 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
569 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
Dw83791d.c734 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
755 show_pwm, store_pwm, 0),
757 show_pwm, store_pwm, 1),
759 show_pwm, store_pwm, 2),
761 show_pwm, store_pwm, 3),
763 show_pwm, store_pwm, 4),
Dw83795.c867 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1651 store_pwm, PWM_OUTPUT, index - 1), \
1657 show_pwm, store_pwm, PWM_FREQ, index - 1), \
1659 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
1661 show_pwm, store_pwm, PWM_START, index - 1), \
1663 show_pwm, store_pwm, PWM_STOP_TIME, index - 1), \
Dw83781d.c718 store_pwm(struct device *dev, struct device_attribute *da, const char *buf, in store_pwm() function
776 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 0);
777 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 1);
778 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 2);
779 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 3);
Dw83793.c541 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1054 store_pwm, PWM_DUTY, index - 1), \
1056 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
1058 show_pwm, store_pwm, PWM_START, index - 1), \
1060 show_pwm, store_pwm, PWM_STOP_TIME, index - 1)
Df71882fg.c333 static ssize_t store_pwm(struct device *dev, struct device_attribute *devattr,
552 SENSOR_ATTR_2(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 0),
563 SENSOR_ATTR_2(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 1),
574 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2),
585 SENSOR_ATTR_2(pwm4, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 3),
1743 static ssize_t store_pwm(struct device *dev, in store_pwm() function
Dw83792d.c634 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1075 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
1076 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
1077 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2);
Dnct6775.c2238 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, in store_pwm() function
2670 SENSOR_TEMPLATE_2(pwm, "pwm%d", S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 0);
2730 S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 5);
2732 S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 6);
2930 store_pwm, 0, 1);
2932 store_pwm, 0, 2);
2939 SENSOR_TEMPLATE_2(pwm_max, "pwm%d_max", S_IWUSR | S_IRUGO, show_pwm, store_pwm,
2943 store_pwm, 0, 4);
Dw83627hf.c1063 store_pwm(struct device *dev, struct device_attribute *devattr, in store_pwm() function
1096 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0);
1097 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 1);
1098 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 2);
Dw83627ehf.c1424 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1566 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
1567 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
1568 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2),
1569 SENSOR_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3),
Dlm93.c1879 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1907 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
1908 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
/linux-4.1.27/drivers/video/backlight/
Dlm3533_bl.c206 static ssize_t store_pwm(struct device *dev, in store_pwm() function
/linux-4.1.27/drivers/leds/
Dleds-lm3533.c588 static ssize_t store_pwm(struct device *dev, in store_pwm() function