Searched refs:pwm_ctl (Results 1 – 1 of 1) sorted by relevance
134 u8 pwm_ctl[2]; member297 data->pwm_ctl[0] = val & 0xf; in vt1211_update_device()298 data->pwm_ctl[1] = (val >> 4) & 0xf; in vt1211_update_device()587 res = ((data->pwm_ctl[ix] >> 3) & 1) ? 2 : 0; in show_pwm()593 res = (data->pwm_ctl[ix] & 7) + 1; in show_pwm()624 data->pwm_ctl[0] = reg & 0xf; in set_pwm()625 data->pwm_ctl[1] = (reg >> 4) & 0xf; in set_pwm()628 data->pwm_ctl[ix] &= 7; in set_pwm()631 if ((data->pwm_ctl[ix ^ 1] & 1) == 0) { in set_pwm()636 data->pwm_ctl[ix] |= 8; in set_pwm()[all …]