Home
last modified time | relevance | path

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

/drivers/hwmon/
Dadt7475.c560 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
860 static SENSOR_DEVICE_ATTR_2(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT,
868 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm,
870 static SENSOR_DEVICE_ATTR_2(pwm1_auto_point2_pwm, S_IRUGO | S_IWUSR, show_pwm,
872 static SENSOR_DEVICE_ATTR_2(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT,
880 static SENSOR_DEVICE_ATTR_2(pwm2_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm,
882 static SENSOR_DEVICE_ATTR_2(pwm2_auto_point2_pwm, S_IRUGO | S_IWUSR, show_pwm,
884 static SENSOR_DEVICE_ATTR_2(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT,
892 static SENSOR_DEVICE_ATTR_2(pwm3_auto_point1_pwm, S_IRUGO | S_IWUSR, show_pwm,
894 static SENSOR_DEVICE_ATTR_2(pwm3_auto_point2_pwm, S_IRUGO | S_IWUSR, show_pwm,
Ddme1737.c1115 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
1503 show_pwm, set_pwm, SYS_PWM, ix-1); \
1505 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
1507 show_pwm, set_pwm, SYS_PWM_ENABLE, ix-1); \
1509 show_pwm, set_pwm, SYS_PWM_RAMP_RATE, ix-1); \
1511 show_pwm, set_pwm, SYS_PWM_AUTO_CHANNELS_ZONE, ix-1); \
1513 show_pwm, set_pwm, SYS_PWM_AUTO_PWM_MIN, ix-1); \
1515 show_pwm, set_pwm, SYS_PWM_AUTO_POINT1_PWM, ix-1); \
1517 show_pwm, NULL, SYS_PWM_AUTO_POINT2_PWM, ix-1)
1527 show_pwm, set_pwm, SYS_PWM, ix-1); \
[all …]
Dvt1211.c572 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
987 show_pwm, NULL, SHOW_PWM, ix-1), \
989 show_pwm, set_pwm, SHOW_SET_PWM_ENABLE, ix-1), \
991 show_pwm, set_pwm, SHOW_SET_PWM_AUTO_CHANNELS_TEMP, ix-1)
995 show_pwm, set_pwm, SHOW_SET_PWM_FREQ, ix-1)
999 show_pwm, NULL, SHOW_SET_PWM_FREQ, ix-1)
Dadm1031.c390 static ssize_t show_pwm(struct device *dev, in show_pwm() function
422 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
423 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1);
425 show_pwm, set_pwm, 0);
427 show_pwm, set_pwm, 1);
Df71882fg.c209 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr,
380 SENSOR_ATTR_2(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 0),
389 SENSOR_ATTR_2(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 1),
453 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2),
568 SENSOR_ATTR_2(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 2),
609 SENSOR_ATTR_2(pwm4, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0, 3),
662 SENSOR_ATTR_2(pwm3, S_IRUGO, show_pwm, NULL, 0, 2),
1356 static ssize_t show_pwm(struct device *dev, in show_pwm() function
Dw83791d.c697 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
727 show_pwm, store_pwm, 0),
729 show_pwm, store_pwm, 1),
731 show_pwm, store_pwm, 2),
733 show_pwm, store_pwm, 3),
735 show_pwm, store_pwm, 4),
Dadt7470.c701 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, in show_pwm() function
1075 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0);
1076 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1);
1077 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2);
1078 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 3);
Df75375s.c364 static ssize_t show_pwm(struct device *dev, struct device_attribute in show_pwm() function
551 show_pwm, set_pwm, 0);
557 show_pwm, set_pwm, 1);
Dadt7473.c602 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, in show_pwm() function
977 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0);
978 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1);
979 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2);
Dw83793.c423 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function
922 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
925 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
927 show_pwm, store_pwm, PWM_START, index - 1), \
929 show_pwm, store_pwm, PWM_STOP_TIME, index - 1)
Dw83781d.c672 show_pwm(struct device *dev, struct device_attribute *da, char *buf) in show_pwm() function
738 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 0);
739 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 1);
740 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 2);
741 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 3);
Dadt7462.c1136 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, in show_pwm() function
1655 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0);
1656 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1);
1657 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2);
1658 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 3);
Dw83l786ng.c483 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
484 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
Dw83627ehf.c1022 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
1023 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
1024 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2),
1025 SENSOR_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3),
Df71805f.c607 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, in show_pwm() function
1013 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO, show_pwm, set_pwm, 0);
1019 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO, show_pwm, set_pwm, 1);
1025 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO, show_pwm, set_pwm, 2);
Dw83792d.c567 show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
1017 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
1018 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
1019 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2);
Dw83627hf.c926 show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) in show_pwm() function
962 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 0);
963 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 1);
964 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO|S_IWUSR, show_pwm, store_pwm, 2);
Dpc87360.c340 static ssize_t show_pwm(struct device *dev, struct device_attribute *devattr, char *buf) in show_pwm() function
366 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0),
367 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1),
368 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2),
Dfscpos.c232 static ssize_t show_pwm(struct fscpos_data *data, char *buf, int nr) in show_pwm() function
Dfscher.c481 static ssize_t show_pwm(struct fscher_data *data, char *buf, int nr) in show_pwm() function
Dit87.c568 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
740 show_pwm, set_pwm, offset - 1); \
Dlm85.c481 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
590 show_pwm, set_pwm, offset - 1); \
Dlm93.c1750 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
1791 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
1792 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);