Home
last modified time | relevance | path

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

/drivers/hwmon/
Dg760a.c163 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);
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);
Ddme1737.c1268 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); \
Dmax6639.c301 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);
Dadm1031.c426 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);
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);
Dmax6650.c304 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);
Dadt7470.c709 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);
Dvt1211.c634 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)
Dgpio-fan.c196 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);
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.c1141 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);
Dsmsc47m1.c337 static ssize_t set_pwm(struct device *dev, struct device_attribute in set_pwm() function
399 get_pwm, set_pwm, offset - 1); \
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);
Dpc87360.c367 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),
Dit87.c960 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);
Dlm85.c517 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/
Dcompal-laptop.c308 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()