Lines Matching full:periodic
334 * Send periodic effect report to the device
342 effect->u.periodic.magnitude); in pidff_set_periodic_report()
344 effect->u.periodic.offset); in pidff_set_periodic_report()
345 pidff_set(&pidff->set_periodic[PID_PHASE], effect->u.periodic.phase); in pidff_set_periodic_report()
346 pidff->set_periodic[PID_PERIOD].value[0] = effect->u.periodic.period; in pidff_set_periodic_report()
354 * Test if periodic effect parameters have changed
359 return effect->u.periodic.magnitude != old->u.periodic.magnitude || in pidff_needs_set_periodic()
360 effect->u.periodic.offset != old->u.periodic.offset || in pidff_needs_set_periodic()
361 effect->u.periodic.phase != old->u.periodic.phase || in pidff_needs_set_periodic()
362 effect->u.periodic.period != old->u.periodic.period; in pidff_needs_set_periodic()
586 switch (effect->u.periodic.waveform) { in pidff_upload_effect()
617 pidff_needs_set_envelope(&effect->u.periodic.envelope, in pidff_upload_effect()
618 &old->u.periodic.envelope)) in pidff_upload_effect()
620 &effect->u.periodic.envelope); in pidff_upload_effect()
1104 "has periodic effect but no envelope\n"); in pidff_init_fields()
1133 hid_warn(pidff->hid, "unknown periodic effect layout\n"); in pidff_init_fields()