Home
last modified time | relevance | path

Searched refs:show_pwm (Results 1 – 25 of 48) sorted by relevance

12

/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/hwmon/
H A Ddme1737.c1604 show_pwm, set_pwm, SYS_PWM, ix-1); \
1606 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
1608 show_pwm, set_pwm, SYS_PWM_ENABLE, ix-1); \
1610 show_pwm, set_pwm, SYS_PWM_RAMP_RATE, ix-1); \
1612 show_pwm, set_pwm, SYS_PWM_AUTO_CHANNELS_ZONE, ix-1); \
1614 show_pwm, set_pwm, SYS_PWM_AUTO_PWM_MIN, ix-1); \
1616 show_pwm, set_pwm, SYS_PWM_AUTO_POINT1_PWM, ix-1); \
1618 show_pwm, NULL, SYS_PWM_AUTO_POINT2_PWM, ix-1)
1628 show_pwm, set_pwm, SYS_PWM, ix-1); \
1630 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
[all …]
H A Dvt1211.c596 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
1018 show_pwm, NULL, SHOW_PWM, ix-1), \
1020 show_pwm, set_pwm, SHOW_SET_PWM_ENABLE, ix-1), \
1022 show_pwm, set_pwm, SHOW_SET_PWM_AUTO_CHANNELS_TEMP, ix-1)
1026 show_pwm, set_pwm, SHOW_SET_PWM_FREQ, ix-1)
1030 show_pwm, NULL, SHOW_SET_PWM_FREQ, ix-1)
H A Dw83792d.c583 show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
1048 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
1049 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
1050 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2);
1051 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3);
1052 static SENSOR_DEVICE_ATTR(pwm5, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 4);
1053 static SENSOR_DEVICE_ATTR(pwm6, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 5);
1054 static SENSOR_DEVICE_ATTR(pwm7, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 6);
H A Dw83791d.c711 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
741 show_pwm, store_pwm, 0),
743 show_pwm, store_pwm, 1),
745 show_pwm, store_pwm, 2),
747 show_pwm, store_pwm, 3),
749 show_pwm, store_pwm, 4),
H A Df75375s.c488 static ssize_t show_pwm(struct device *dev, struct device_attribute in show_pwm() function
700 show_pwm, set_pwm, 0);
706 show_pwm, set_pwm, 1);
H A Dw83795.c826 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function
1637 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
1644 show_pwm, store_pwm, PWM_FREQ, index - 1), \
1646 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
1648 show_pwm, store_pwm, PWM_START, index - 1), \
1650 show_pwm, store_pwm, PWM_STOP_TIME, index - 1), \
H A Dw83781d.c689 show_pwm(struct device *dev, struct device_attribute *da, char *buf) in show_pwm() function
762 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 0);
763 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 1);
764 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 2);
765 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 3);
H A Dw83793.c509 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function
1039 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
1042 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
1044 show_pwm, store_pwm, PWM_START, index - 1), \
1046 show_pwm, store_pwm, PWM_STOP_TIME, index - 1)
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/hwmon/
H A Ddme1737.c1604 show_pwm, set_pwm, SYS_PWM, ix-1); \
1606 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
1608 show_pwm, set_pwm, SYS_PWM_ENABLE, ix-1); \
1610 show_pwm, set_pwm, SYS_PWM_RAMP_RATE, ix-1); \
1612 show_pwm, set_pwm, SYS_PWM_AUTO_CHANNELS_ZONE, ix-1); \
1614 show_pwm, set_pwm, SYS_PWM_AUTO_PWM_MIN, ix-1); \
1616 show_pwm, set_pwm, SYS_PWM_AUTO_POINT1_PWM, ix-1); \
1618 show_pwm, NULL, SYS_PWM_AUTO_POINT2_PWM, ix-1)
1628 show_pwm, set_pwm, SYS_PWM, ix-1); \
1630 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
[all …]
H A Dvt1211.c596 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
1018 show_pwm, NULL, SHOW_PWM, ix-1), \
1020 show_pwm, set_pwm, SHOW_SET_PWM_ENABLE, ix-1), \
1022 show_pwm, set_pwm, SHOW_SET_PWM_AUTO_CHANNELS_TEMP, ix-1)
1026 show_pwm, set_pwm, SHOW_SET_PWM_FREQ, ix-1)
1030 show_pwm, NULL, SHOW_SET_PWM_FREQ, ix-1)
H A Dw83792d.c583 show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
1048 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
1049 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
1050 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2);
1051 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3);
1052 static SENSOR_DEVICE_ATTR(pwm5, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 4);
1053 static SENSOR_DEVICE_ATTR(pwm6, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 5);
1054 static SENSOR_DEVICE_ATTR(pwm7, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 6);
H A Dw83791d.c711 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
741 show_pwm, store_pwm, 0),
743 show_pwm, store_pwm, 1),
745 show_pwm, store_pwm, 2),
747 show_pwm, store_pwm, 3),
749 show_pwm, store_pwm, 4),
H A Df75375s.c488 static ssize_t show_pwm(struct device *dev, struct device_attribute in show_pwm() function
700 show_pwm, set_pwm, 0);
706 show_pwm, set_pwm, 1);
H A Dw83795.c826 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function
1637 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
1644 show_pwm, store_pwm, PWM_FREQ, index - 1), \
1646 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
1648 show_pwm, store_pwm, PWM_START, index - 1), \
1650 show_pwm, store_pwm, PWM_STOP_TIME, index - 1), \
H A Dw83781d.c689 show_pwm(struct device *dev, struct device_attribute *da, char *buf) in show_pwm() function
762 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 0);
763 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 1);
764 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 2);
765 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 3);
H A Dw83793.c509 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function
1039 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
1042 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
1044 show_pwm, store_pwm, PWM_START, index - 1), \
1046 show_pwm, store_pwm, PWM_STOP_TIME, index - 1)
H A Dw83l786ng.c555 SENSOR_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0),
556 SENSOR_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1),
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/hwmon/
H A Ddme1737.c1604 show_pwm, set_pwm, SYS_PWM, ix-1); \
1606 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
1608 show_pwm, set_pwm, SYS_PWM_ENABLE, ix-1); \
1610 show_pwm, set_pwm, SYS_PWM_RAMP_RATE, ix-1); \
1612 show_pwm, set_pwm, SYS_PWM_AUTO_CHANNELS_ZONE, ix-1); \
1614 show_pwm, set_pwm, SYS_PWM_AUTO_PWM_MIN, ix-1); \
1616 show_pwm, set_pwm, SYS_PWM_AUTO_POINT1_PWM, ix-1); \
1618 show_pwm, NULL, SYS_PWM_AUTO_POINT2_PWM, ix-1)
1628 show_pwm, set_pwm, SYS_PWM, ix-1); \
1630 show_pwm, set_pwm, SYS_PWM_FREQ, ix-1); \
[all …]
H A Dvt1211.c596 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
1018 show_pwm, NULL, SHOW_PWM, ix-1), \
1020 show_pwm, set_pwm, SHOW_SET_PWM_ENABLE, ix-1), \
1022 show_pwm, set_pwm, SHOW_SET_PWM_AUTO_CHANNELS_TEMP, ix-1)
1026 show_pwm, set_pwm, SHOW_SET_PWM_FREQ, ix-1)
1030 show_pwm, NULL, SHOW_SET_PWM_FREQ, ix-1)
H A Dw83792d.c583 show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
1048 static SENSOR_DEVICE_ATTR(pwm1, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 0);
1049 static SENSOR_DEVICE_ATTR(pwm2, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 1);
1050 static SENSOR_DEVICE_ATTR(pwm3, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 2);
1051 static SENSOR_DEVICE_ATTR(pwm4, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 3);
1052 static SENSOR_DEVICE_ATTR(pwm5, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 4);
1053 static SENSOR_DEVICE_ATTR(pwm6, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 5);
1054 static SENSOR_DEVICE_ATTR(pwm7, S_IWUSR | S_IRUGO, show_pwm, store_pwm, 6);
H A Dw83791d.c711 static ssize_t show_pwm(struct device *dev, struct device_attribute *attr, in show_pwm() function
741 show_pwm, store_pwm, 0),
743 show_pwm, store_pwm, 1),
745 show_pwm, store_pwm, 2),
747 show_pwm, store_pwm, 3),
749 show_pwm, store_pwm, 4),
H A Df75375s.c488 static ssize_t show_pwm(struct device *dev, struct device_attribute in show_pwm() function
700 show_pwm, set_pwm, 0);
706 show_pwm, set_pwm, 1);
H A Dw83795.c826 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function
1637 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
1644 show_pwm, store_pwm, PWM_FREQ, index - 1), \
1646 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
1648 show_pwm, store_pwm, PWM_START, index - 1), \
1650 show_pwm, store_pwm, PWM_STOP_TIME, index - 1), \
H A Dw83781d.c689 show_pwm(struct device *dev, struct device_attribute *da, char *buf) in show_pwm() function
762 static SENSOR_DEVICE_ATTR(pwm1, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 0);
763 static SENSOR_DEVICE_ATTR(pwm2, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 1);
764 static SENSOR_DEVICE_ATTR(pwm3, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 2);
765 static SENSOR_DEVICE_ATTR(pwm4, S_IRUGO | S_IWUSR, show_pwm, store_pwm, 3);
H A Dw83793.c509 show_pwm(struct device *dev, struct device_attribute *attr, char *buf) in show_pwm() function
1039 SENSOR_ATTR_2(pwm##index, S_IWUSR | S_IRUGO, show_pwm, \
1042 show_pwm, store_pwm, PWM_NONSTOP, index - 1), \
1044 show_pwm, store_pwm, PWM_START, index - 1), \
1046 show_pwm, store_pwm, PWM_STOP_TIME, index - 1)

12