Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/hwmon/
Dadt7475.c213 u8 pwmchan[3]; member
756 return sprintf(buf, "%d\n", data->pwmchan[sattr->index]); in pwmchan_show()
862 unsigned int pwmctl, unsigned int pwmchan) in hw_set_pwm() argument
875 switch (pwmchan) { in hw_set_pwm()
905 data->pwmchan[index] = pwmchan; in hw_set_pwm()
956 r = hw_set_pwm(client, sattr->index, val, data->pwmchan[sattr->index]); in pwmctrl_store()
1154 static SENSOR_DEVICE_ATTR_2_RW(pwm1_auto_channels_temp, pwmchan, INPUT, 0);
1161 static SENSOR_DEVICE_ATTR_2_RW(pwm2_auto_channels_temp, pwmchan, INPUT, 1);
1168 static SENSOR_DEVICE_ATTR_2_RW(pwm3_auto_channels_temp, pwmchan, INPUT, 2);
1877 data->pwmchan[index] = 1; in adt7475_read_pwm()
[all …]