/drivers/pwm/ |
D | pwm-omap-dmtimer.c | 194 omap->pdata->set_pwm(omap->dm_timer, in pwm_omap_dmtimer_config() 224 omap->pdata->set_pwm(omap->dm_timer, in pwm_omap_dmtimer_set_polarity() 266 !pdata->set_pwm || in pwm_omap_dmtimer_probe()
|
/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 | 84 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 111 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
|
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 | 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 | 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 | 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 | 700 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function 1131 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0); 1132 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1); 1133 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2); 1134 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 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 | 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 | max6650.c | 374 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function 540 static DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, get_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 | 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 | 918 static ssize_t set_pwm(struct device *dev, struct device_attribute *da, in set_pwm() function 1007 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 | it87.c | 1345 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function 1634 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0); 1664 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1); 1693 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 2); 1722 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 3); 1741 static SENSOR_DEVICE_ATTR(pwm5, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 4); 1760 static SENSOR_DEVICE_ATTR(pwm6, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 5);
|
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 | 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); \
|
/drivers/platform/x86/ |
D | compal-laptop.c | 309 static void set_pwm(int pwm) in set_pwm() function 432 set_pwm(255); in pwm_enable_store() 436 set_pwm(data->curr_pwm); in pwm_enable_store() 470 set_pwm(val); in pwm_store()
|