Home
last modified time | relevance | path

Searched refs:set_pwm (Results 1 – 21 of 21) sorted by relevance

/drivers/pwm/
Dpwm-omap-dmtimer.c194 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/
Dg760a.c142 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);
Dadt7475.c662 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);
Dpwm-fan.c84 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);
Ddme1737.c1268 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); \
Dmax6639.c297 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);
Dadm1031.c491 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);
Dpc87427.c614 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);
Dadt7470.c700 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);
Dvt1211.c634 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)
Dgpio-fan.c200 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);
Dmax6650.c374 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);
Df75375s.c344 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);
Dadt7462.c1116 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);
Dsmsc47m1.c373 static ssize_t set_pwm(struct device *dev, struct device_attribute in set_pwm() function
435 get_pwm, set_pwm, offset - 1); \
Dg762.c918 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);
Df71805f.c695 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);
Dit87.c1345 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);
Dpc87360.c366 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),
Dlm85.c697 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/
Dcompal-laptop.c309 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()