Home
last modified time | relevance | path

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

/drivers/hwmon/
Dadt7475.c587 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
860 static SENSOR_DEVICE_ATTR_2(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT,
869 set_pwm, MIN, 0);
871 set_pwm, MAX, 0);
872 static SENSOR_DEVICE_ATTR_2(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT,
881 set_pwm, MIN, 1);
883 set_pwm, MAX, 1);
884 static SENSOR_DEVICE_ATTR_2(pwm3, S_IRUGO | S_IWUSR, show_pwm, set_pwm, INPUT,
893 set_pwm, MIN, 2);
895 set_pwm, MAX, 2);
Ddme1737.c1182 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
1503 show_pwm, set_pwm, SYS_PWM, ix-1); \
1505 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
1507 show_pwm, set_pwm, SYS_PWM_ENABLE, ix-1); \
1509 show_pwm, set_pwm, SYS_PWM_RAMP_RATE, ix-1); \
1511 show_pwm, set_pwm, SYS_PWM_AUTO_CHANNELS_ZONE, ix-1); \
1513 show_pwm, set_pwm, SYS_PWM_AUTO_PWM_MIN, ix-1); \
1515 show_pwm, set_pwm, SYS_PWM_AUTO_POINT1_PWM, ix-1); \
1527 show_pwm, set_pwm, SYS_PWM, ix-1); \
1529 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
Dadm1031.c397 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
422 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 0);
423 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, set_pwm, 1);
425 show_pwm, set_pwm, 0);
427 show_pwm, set_pwm, 1);
Dmax6650.c299 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function
428 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);
Df75375s.c269 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
551 show_pwm, set_pwm, 0);
557 show_pwm, set_pwm, 1);
Dadt7473.c610 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function
977 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0);
978 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1);
979 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2);
Dvt1211.c603 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
989 show_pwm, set_pwm, SHOW_SET_PWM_ENABLE, ix-1), \
991 show_pwm, set_pwm, SHOW_SET_PWM_AUTO_CHANNELS_TEMP, ix-1)
995 show_pwm, set_pwm, SHOW_SET_PWM_FREQ, ix-1)
Dadt7462.c1144 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function
1655 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0);
1656 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1);
1657 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2);
1658 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 3);
Dsmsc47m1.c310 static ssize_t set_pwm(struct device *dev, struct device_attribute in set_pwm() function
362 get_pwm, set_pwm, offset - 1); \
Df71805f.c659 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, in set_pwm() function
1013 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO, show_pwm, set_pwm, 0);
1019 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO, show_pwm, set_pwm, 1);
1025 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO, show_pwm, set_pwm, 2);
Dpc87360.c349 static ssize_t set_pwm(struct device *dev, struct device_attribute *devattr, const char *buf, in set_pwm() function
366 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 0),
367 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 1),
368 SENSOR_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, set_pwm, 2),
Dfscpos.c237 static ssize_t set_pwm(struct i2c_client *client, struct fscpos_data *data, in set_pwm() function
Dfscher.c469 static ssize_t set_pwm(struct i2c_client *client, struct fscher_data *data, in set_pwm() function
Dit87.c683 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
740 show_pwm, set_pwm, offset - 1); \
Dlm85.c489 static ssize_t set_pwm(struct device *dev, struct device_attribute *attr, in set_pwm() function
590 show_pwm, set_pwm, offset - 1); \