/drivers/hwmon/ |
D | g760a.c | 163 static ssize_t set_pwm(struct device *dev, struct device_attribute *da, in set_pwm() function 181 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 | dme1737.c | 1268 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 1610 show_pwm, set_pwm, SYS_PWM, ix-1); \ 1612 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \ 1614 show_pwm, set_pwm, SYS_PWM_ENABLE, ix-1); \ 1616 show_pwm, set_pwm, SYS_PWM_RAMP_RATE, ix-1); \ 1618 show_pwm, set_pwm, SYS_PWM_AUTO_CHANNELS_ZONE, ix-1); \ 1620 show_pwm, set_pwm, SYS_PWM_AUTO_PWM_MIN, ix-1); \ 1622 show_pwm, set_pwm, SYS_PWM_AUTO_POINT1_PWM, ix-1); \ 1634 show_pwm, set_pwm, SYS_PWM, ix-1); \ 1636 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
|
D | max6639.c | 301 static ssize_t set_pwm(struct device *dev, in set_pwm() function 367 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 368 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1);
|
D | adm1031.c | 426 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 455 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0); 456 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1); 458 show_pwm, set_pwm, 0); 460 show_pwm, set_pwm, 1);
|
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 | max6650.c | 304 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function 471 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 | vt1211.c | 634 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 1024 show_pwm, set_pwm, SHOW_SET_PWM_ENABLE, ix-1), \ 1026 show_pwm, set_pwm, SHOW_SET_PWM_AUTO_CHANNELS_TEMP, ix-1) 1030 show_pwm, set_pwm, SHOW_SET_PWM_FREQ, ix-1)
|
D | gpio-fan.c | 196 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 318 static DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm);
|
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 | 1141 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function 1652 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 1653 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1); 1654 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2); 1655 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 3);
|
D | smsc47m1.c | 337 static ssize_t set_pwm(struct device *dev, struct device_attribute in set_pwm() function 399 get_pwm, set_pwm, offset - 1); \
|
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 | 367 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function 389 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0), 390 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1), 391 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2),
|
D | it87.c | 960 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 1184 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0); 1209 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1); 1234 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 2);
|
D | lm85.c | 517 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 655 show_pwm, set_pwm, offset - 1); \
|
/drivers/platform/x86/ |
D | compal-laptop.c | 308 static void set_pwm(int pwm) in set_pwm() function 439 set_pwm(255); in pwm_enable_store() 443 set_pwm(data->curr_pwm); in pwm_enable_store() 476 set_pwm(val); in pwm_store()
|