Lines Matching refs:pwmchan
213 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()
1880 data->pwmchan[index] = 2; in adt7475_read_pwm()
1883 data->pwmchan[index] = 4; in adt7475_read_pwm()
1886 data->pwmchan[index] = 6; in adt7475_read_pwm()
1889 data->pwmchan[index] = 7; in adt7475_read_pwm()