Searched refs:pwmctl (Results 1 – 1 of 1) sorted by relevance
212 u8 pwmctl[3]; member768 return sprintf(buf, "%d\n", data->pwmctl[sattr->index]); in pwmctrl_show()862 unsigned int pwmctl, unsigned int pwmchan) in hw_set_pwm() argument867 switch (pwmctl) { in hw_set_pwm()904 data->pwmctl[index] = pwmctl; in hw_set_pwm()932 r = hw_set_pwm(client, sattr->index, data->pwmctl[sattr->index], val); in pwmchan_store()1852 data->pwmctl[index] = 0; in adt7475_read_pwm()1854 data->pwmctl[index] = 1; in adt7475_read_pwm()1871 data->pwmctl[index] = 1; in adt7475_read_pwm()1873 data->pwmctl[index] = 2; in adt7475_read_pwm()