/linux-4.1.27/drivers/hwmon/ |
D | g760a.c | 142 static ssize_t set_pwm(struct device *dev, struct device_attribute *da, in set_pwm() function 160 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm);
|
D | adt7475.c | 662 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 1022 static SENSOR_DEVICE_ATTR_2(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT, 1031 set_pwm, MIN, 0); 1033 set_pwm, MAX, 0); 1034 static SENSOR_DEVICE_ATTR_2(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT, 1043 set_pwm, MIN, 1); 1045 set_pwm, MAX, 1); 1046 static SENSOR_DEVICE_ATTR_2(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT, 1055 set_pwm, MIN, 2); 1057 set_pwm, MAX, 2);
|
D | pwm-fan.c | 81 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 108 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
|
D | max6639.c | 297 static ssize_t set_pwm(struct device *dev, in set_pwm() function 363 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 364 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1);
|
D | dme1737.c | 1268 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 1613 show_pwm, set_pwm, SYS_PWM, ix-1); \ 1615 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \ 1617 show_pwm, set_pwm, SYS_PWM_ENABLE, ix-1); \ 1619 show_pwm, set_pwm, SYS_PWM_RAMP_RATE, ix-1); \ 1621 show_pwm, set_pwm, SYS_PWM_AUTO_CHANNELS_ZONE, ix-1); \ 1623 show_pwm, set_pwm, SYS_PWM_AUTO_PWM_MIN, ix-1); \ 1625 show_pwm, set_pwm, SYS_PWM_AUTO_POINT1_PWM, ix-1); \ 1637 show_pwm, set_pwm, SYS_PWM, ix-1); \ 1639 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
|
D | adm1031.c | 491 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 520 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0); 521 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1); 523 show_pwm, set_pwm, 0); 525 show_pwm, set_pwm, 1);
|
D | max6650.c | 324 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function 491 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm);
|
D | pc87427.c | 614 static ssize_t set_pwm(struct device *dev, struct device_attribute in set_pwm() function 669 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 670 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1); 671 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2); 672 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 3);
|
D | adt7470.c | 670 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function 1036 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 1037 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1); 1038 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2); 1039 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 3);
|
D | gpio-fan.c | 200 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 316 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm);
|
D | vt1211.c | 634 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 1027 show_pwm, set_pwm, SHOW_SET_PWM_ENABLE, ix-1), \ 1029 show_pwm, set_pwm, SHOW_SET_PWM_AUTO_CHANNELS_TEMP, ix-1) 1033 show_pwm, set_pwm, SHOW_SET_PWM_FREQ, ix-1)
|
D | f75375s.c | 344 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 715 show_pwm, set_pwm, 0); 721 show_pwm, set_pwm, 1);
|
D | adt7462.c | 1116 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function 1626 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 1627 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1); 1628 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2); 1629 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 3);
|
D | smsc47m1.c | 373 static ssize_t set_pwm(struct device *dev, struct device_attribute in set_pwm() function 435 get_pwm, set_pwm, offset - 1); \
|
D | g762.c | 914 static ssize_t set_pwm(struct device *dev, struct device_attribute *da, in set_pwm() function 1003 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_pwm, set_pwm);
|
D | f71805f.c | 695 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function 1086 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO, show_pwm, set_pwm, 0); 1092 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO, show_pwm, set_pwm, 1); 1098 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO, show_pwm, set_pwm, 2);
|
D | pc87360.c | 366 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function 388 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0), 389 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1), 390 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2),
|
D | it87.c | 1058 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 1289 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0); 1314 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1); 1339 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 2);
|
D | lm85.c | 697 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 836 show_pwm, set_pwm, offset - 1); \
|
/linux-4.1.27/drivers/platform/x86/ |
D | compal-laptop.c | 307 static void set_pwm(int pwm) in set_pwm() function 430 set_pwm(255); in pwm_enable_store() 434 set_pwm(data->curr_pwm); in pwm_enable_store() 468 set_pwm(val); in pwm_store()
|