Lines Matching refs:stop_effect
305 if (effect != &haptic->stop_effect) in haptic_work_handler()
306 play_effect(hdev, haptic, &haptic->stop_effect); in haptic_work_handler()
320 queue_work(haptic->wq, &haptic->stop_effect.work); in hid_haptic_playback()
381 kfree(haptic->stop_effect.report_buf); in hid_haptic_destroy()
382 haptic->stop_effect.report_buf = NULL; in hid_haptic_destroy()
411 struct ff_haptic_effect stop_effect = { in hid_haptic_init() local
495 haptic->stop_effect.report_buf = in hid_haptic_init()
498 if (!haptic->stop_effect.report_buf) { in hid_haptic_init()
504 haptic->stop_effect.input_dev = dev; in hid_haptic_init()
505 INIT_WORK(&haptic->stop_effect.work, haptic_work_handler); in hid_haptic_init()
506 fill_effect_buf(haptic, &stop_effect, &haptic->stop_effect, in hid_haptic_init()
547 kfree(haptic->stop_effect.report_buf); in hid_haptic_init()
548 haptic->stop_effect.report_buf = NULL; in hid_haptic_init()