Searched refs:pwmctl (Results 1 – 1 of 1) sorted by relevance
211 u8 pwmctl[3]; member767 return sprintf(buf, "%d\n", data->pwmctl[sattr->index]); in pwmctrl_show()861 unsigned int pwmctl, unsigned int pwmchan) in hw_set_pwm() argument866 switch (pwmctl) { in hw_set_pwm()903 data->pwmctl[index] = pwmctl; in hw_set_pwm()931 r = hw_set_pwm(client, sattr->index, data->pwmctl[sattr->index], val); in pwmchan_store()1760 data->pwmctl[index] = 0; in adt7475_read_pwm()1762 data->pwmctl[index] = 1; in adt7475_read_pwm()1779 data->pwmctl[index] = 1; in adt7475_read_pwm()1781 data->pwmctl[index] = 2; in adt7475_read_pwm()