Searched refs:headphone_notify (Results 1 – 3 of 3) sorted by relevance
86 INIT_DELAYED_WORK(&rt->headphone_notify.work, pmf_handle_notify); in pmf_gpio_init()89 mutex_init(&rt->headphone_notify.mutex); in pmf_gpio_init()99 if (rt->headphone_notify.gpio_private) in pmf_gpio_exit()100 pmf_unregister_irq_client(rt->headphone_notify.gpio_private); in pmf_gpio_exit()108 cancel_delayed_work_sync(&rt->headphone_notify.work); in pmf_gpio_exit()112 mutex_destroy(&rt->headphone_notify.mutex); in pmf_gpio_exit()116 kfree(rt->headphone_notify.gpio_private); in pmf_gpio_exit()141 notif = &rt->headphone_notify; in pmf_set_notify()
274 INIT_DELAYED_WORK(&rt->headphone_notify.work, ftr_handle_notify); in ftr_gpio_init()277 mutex_init(&rt->headphone_notify.mutex); in ftr_gpio_init()286 if (rt->headphone_notify.notify) in ftr_gpio_exit()287 free_irq(headphone_detect_irq, &rt->headphone_notify); in ftr_gpio_exit()292 cancel_delayed_work_sync(&rt->headphone_notify.work); in ftr_gpio_exit()295 mutex_destroy(&rt->headphone_notify.mutex); in ftr_gpio_exit()322 notif = &rt->headphone_notify; in ftr_set_notify()
76 struct gpio_notification headphone_notify; member