Home
last modified time | relevance | path

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

/drivers/hwmon/
Dw83791d.c737 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
758 show_pwm, store_pwm, 0),
760 show_pwm, store_pwm, 1),
762 show_pwm, store_pwm, 2),
764 show_pwm, store_pwm, 3),
766 show_pwm, store_pwm, 4),
Dw83l786ng.c471 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
521 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
522 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
Dw83795.c869 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1653 store_pwm, PWM_OUTPUT, index - 1), \
1659 show_pwm, store_pwm, PWM_FREQ, index - 1), \
1661 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
1663 show_pwm, store_pwm, PWM_START, index - 1), \
1665 show_pwm, store_pwm, PWM_STOP_TIME, index - 1), \
Dw83781d.c719 store_pwm(struct device *dev, struct device_attribute *da, const char *buf, in store_pwm() function
777 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 0);
778 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 1);
779 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 2);
780 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 3);
Dw83793.c558 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1071 store_pwm, PWM_DUTY, index - 1), \
1073 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
1075 show_pwm, store_pwm, PWM_START, index - 1), \
1077 show_pwm, store_pwm, PWM_STOP_TIME, index - 1)
Df71882fg.c333 static ssize_t store_pwm(struct device *dev, struct device_attribute *devattr,
553 SENSOR_ATTR_2(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 0),
564 SENSOR_ATTR_2(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 1),
575 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2),
586 SENSOR_ATTR_2(pwm4, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 3),
1745 static ssize_t store_pwm(struct device *dev, in store_pwm() function
Dw83792d.c635 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1124 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
1125 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
1126 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2);
Dw83627hf.c991 store_pwm(struct device *dev, struct device_attribute *devattr, in store_pwm() function
1024 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0);
1025 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 1);
1026 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 2);
Dw83627ehf.c1415 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1557 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
1558 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
1559 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2),
1560 SENSOR_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3),
Dlm93.c1874 static ssize_t store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1902 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
1903 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);