Lines Matching full:periodic
239 if (old->u.periodic.envelope.attack_length != effect->u.periodic.envelope.attack_length in need_envelope_modifier()
240 || old->u.periodic.envelope.attack_level != effect->u.periodic.envelope.attack_level in need_envelope_modifier()
241 || old->u.periodic.envelope.fade_length != effect->u.periodic.envelope.fade_length in need_envelope_modifier()
242 || old->u.periodic.envelope.fade_level != effect->u.periodic.envelope.fade_level) in need_envelope_modifier()
255 * Analyse the changes in an effect, and tell if we need to send a periodic
266 return (old->u.periodic.period != new->u.periodic.period in need_period_modifier()
267 || old->u.periodic.magnitude != new->u.periodic.magnitude in need_period_modifier()
268 || old->u.periodic.offset != new->u.periodic.offset in need_period_modifier()
269 || old->u.periodic.phase != new->u.periodic.phase); in need_period_modifier()
335 * Upload a periodic effect to the device
352 effect->u.periodic.magnitude, effect->u.periodic.offset, in iforce_upload_periodic()
353 effect->u.periodic.period, effect->u.periodic.phase); in iforce_upload_periodic()
362 effect->u.periodic.envelope.attack_length, in iforce_upload_periodic()
363 effect->u.periodic.envelope.attack_level, in iforce_upload_periodic()
364 effect->u.periodic.envelope.fade_length, in iforce_upload_periodic()
365 effect->u.periodic.envelope.fade_level); in iforce_upload_periodic()
371 switch (effect->u.periodic.waveform) { in iforce_upload_periodic()