Home
last modified time | relevance | path

Searched refs:headphone_notify (Results 1 – 3 of 3) sorted by relevance

/sound/aoa/core/
Dgpio-pmf.c88 INIT_DELAYED_WORK(&rt->headphone_notify.work, pmf_handle_notify); in pmf_gpio_init()
91 mutex_init(&rt->headphone_notify.mutex); in pmf_gpio_init()
101 if (rt->headphone_notify.gpio_private) in pmf_gpio_exit()
102 pmf_unregister_irq_client(rt->headphone_notify.gpio_private); in pmf_gpio_exit()
110 cancel_delayed_work_sync(&rt->headphone_notify.work); in pmf_gpio_exit()
114 mutex_destroy(&rt->headphone_notify.mutex); in pmf_gpio_exit()
118 kfree(rt->headphone_notify.gpio_private); in pmf_gpio_exit()
143 notif = &rt->headphone_notify; in pmf_set_notify()
Dgpio-feature.c273 INIT_DELAYED_WORK(&rt->headphone_notify.work, ftr_handle_notify); in ftr_gpio_init()
276 mutex_init(&rt->headphone_notify.mutex); in ftr_gpio_init()
285 if (rt->headphone_notify.notify) in ftr_gpio_exit()
286 free_irq(headphone_detect_irq, &rt->headphone_notify); in ftr_gpio_exit()
291 cancel_delayed_work_sync(&rt->headphone_notify.work); in ftr_gpio_exit()
294 mutex_destroy(&rt->headphone_notify.mutex); in ftr_gpio_exit()
321 notif = &rt->headphone_notify; in ftr_set_notify()
/sound/aoa/
Daoa-gpio.h78 struct gpio_notification headphone_notify; member