Searched refs:period_mag_multi (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/input/misc/
H A Dmax77693-haptic.c237 u64 period_mag_multi; local
249 period_mag_multi = (u64)pargs.period * haptic->magnitude;
250 haptic->pwm_duty = (unsigned int)(period_mag_multi >>
H A Dda7280.c328 u64 period_mag_multi; local
339 period_mag_multi = (u64)state.period * haptics->gain;
340 period_mag_multi >>= DA7280_MAX_MAGNITUDE_SHIFT;
348 period_mag_multi += state.period;
349 period_mag_multi /= 2;
352 state.duty_cycle = period_mag_multi;

Completed in 151 milliseconds