/drivers/hwmon/ |
D | adt7475.c | 587 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 860 static SENSOR_DEVICE_ATTR_2(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT, 869 set_pwm, MIN, 0); 871 set_pwm, MAX, 0); 872 static SENSOR_DEVICE_ATTR_2(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT, 881 set_pwm, MIN, 1); 883 set_pwm, MAX, 1); 884 static SENSOR_DEVICE_ATTR_2(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT, 893 set_pwm, MIN, 2); 895 set_pwm, MAX, 2);
|
D | dme1737.c | 1182 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_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); \ 1527 show_pwm, set_pwm, SYS_PWM, ix-1); \ 1529 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
|
D | adm1031.c | 397 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_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);
|
D | max6650.c | 299 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function 428 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm);
|
D | adt7470.c | 709 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_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);
|
D | f75375s.c | 269 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 551 show_pwm, set_pwm, 0); 557 show_pwm, set_pwm, 1);
|
D | adt7473.c | 610 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_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);
|
D | vt1211.c | 603 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 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)
|
D | adt7462.c | 1144 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_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);
|
D | smsc47m1.c | 310 static ssize_t set_pwm(struct device *dev, struct device_attribute in set_pwm() function 362 get_pwm, set_pwm, offset - 1); \
|
D | f71805f.c | 659 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_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);
|
D | pc87360.c | 349 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, in set_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),
|
D | fscpos.c | 237 static ssize_t set_pwm(struct i2c_client *client, struct fscpos_data *data, in set_pwm() function
|
D | fscher.c | 469 static ssize_t set_pwm(struct i2c_client *client, struct fscher_data *data, in set_pwm() function
|
D | it87.c | 683 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 740 show_pwm, set_pwm, offset - 1); \
|
D | lm85.c | 489 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 590 show_pwm, set_pwm, offset - 1); \
|