Searched refs:headphone_notify (Results 1 – 3 of 3) sorted by relevance
87 INIT_DELAYED_WORK(&rt->headphone_notify.work, pmf_handle_notify); in pmf_gpio_init()90 mutex_init(&rt->headphone_notify.mutex); in pmf_gpio_init()100 if (rt->headphone_notify.gpio_private) in pmf_gpio_exit()101 pmf_unregister_irq_client(rt->headphone_notify.gpio_private); in pmf_gpio_exit()109 cancel_delayed_work_sync(&rt->headphone_notify.work); in pmf_gpio_exit()113 mutex_destroy(&rt->headphone_notify.mutex); in pmf_gpio_exit()117 kfree(rt->headphone_notify.gpio_private); in pmf_gpio_exit()142 notif = &rt->headphone_notify; in pmf_set_notify()
275 INIT_DELAYED_WORK(&rt->headphone_notify.work, ftr_handle_notify); in ftr_gpio_init()278 mutex_init(&rt->headphone_notify.mutex); in ftr_gpio_init()287 if (rt->headphone_notify.notify) in ftr_gpio_exit()288 free_irq(headphone_detect_irq, &rt->headphone_notify); in ftr_gpio_exit()293 cancel_delayed_work_sync(&rt->headphone_notify.work); in ftr_gpio_exit()296 mutex_destroy(&rt->headphone_notify.mutex); in ftr_gpio_exit()323 notif = &rt->headphone_notify; in ftr_set_notify()
77 struct gpio_notification headphone_notify; member
Completed in 8 milliseconds