Searched refs:pwm_duty (Results 1 – 2 of 2) sorted by relevance
60 unsigned int pwm_duty; member74 delta = (pargs.period + haptic->pwm_duty) / 2; in max77693_haptic_set_duty_cycle()250 haptic->pwm_duty = (unsigned int)(period_mag_multi >> in max77693_haptic_play_effect()
558 u8 pwm_duty[NUM_PWM]; /* Manual PWM value set by user */ member692 data->pwm_duty[nr] = it87_read_value(data, in it87_update_pwm_ctrl()698 data->pwm_duty[nr] = data->pwm_ctrl[nr] & 0x7f; in it87_update_pwm_ctrl()1103 data->pwm_duty[nr] == pwm_to_reg(data, 0xff)) in pwm_mode()1153 pwm_from_reg(data, data->pwm_duty[nr])); in show_pwm()1328 data->pwm_duty[nr] = pwm_to_reg(data, 0xff); in set_pwm_enable()1330 data->pwm_duty[nr]); in set_pwm_enable()1336 ctrl = data->pwm_duty[nr]; in set_pwm_enable()1350 ctrl = (val == 1 ? data->pwm_duty[nr] : 0x80); in set_pwm_enable()1389 data->pwm_duty[nr] = pwm_to_reg(data, val); in set_pwm()[all …]