Home
last modified time | relevance | path

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

/drivers/hwmon/
Dnct7802.c144 static ssize_t store_pwm(struct device *dev, struct device_attribute *devattr, in store_pwm() function
835 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm,
837 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, store_pwm,
839 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, store_pwm,
919 show_pwm, store_pwm, 0x85);
921 show_pwm, store_pwm, 0x86);
923 show_pwm, store_pwm, 0x87);
925 show_pwm, store_pwm, 0x88);
942 show_pwm, store_pwm, 0x95);
944 show_pwm, store_pwm, 0x96);
[all …]
Dw83792d.c631 store_pwm(struct device *dev, struct device_attribute *attr, in store_pwm() function
1072 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
1073 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
1074 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2);
1075 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3);
1076 static SENSOR_DEVICE_ATTR(pwm5, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 4);
1077 static SENSOR_DEVICE_ATTR(pwm6, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 5);
1078 static SENSOR_DEVICE_ATTR(pwm7, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 6);
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),
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),
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.c362 static ssize_t store_pwm(struct device *dev, struct device_attribute *devattr,
600 SENSOR_ATTR_2(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 0),
611 SENSOR_ATTR_2(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 1),
622 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2),
633 SENSOR_ATTR_2(pwm4, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 3),
1819 static ssize_t store_pwm(struct device *dev, in store_pwm() function
Dnct6775.c2334 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, in store_pwm() function
2766 SENSOR_TEMPLATE_2(pwm, "pwm%d", S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 0);
2826 S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 5);
2828 S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0, 6);
3027 store_pwm, 0, 1);
3029 store_pwm, 0, 2);
3036 SENSOR_TEMPLATE_2(pwm_max, "pwm%d_max", S_IWUSR | S_IRUGO, show_pwm, store_pwm,
3040 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),
Dnct6683.c930 store_pwm(struct device *dev, struct device_attribute *attr, const char *buf, in store_pwm() function
951 SENSOR_TEMPLATE(pwm, "pwm%d", S_IRUGO, show_pwm, store_pwm, 0);
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);
/drivers/video/backlight/
Dlm3533_bl.c206 static ssize_t store_pwm(struct device *dev, in store_pwm() function
/drivers/leds/
Dleds-lm3533.c574 static ssize_t store_pwm(struct device *dev, in store_pwm() function