Home
last modified time | relevance | path

Searched refs:methods (Results 1 – 6 of 6) sorted by relevance

/sound/aoa/fabrics/
Dlayout.c644 if (gpio->methods && gpio->methods->get_##n) \
646 gpio->methods->get_##n(gpio); \
653 if (gpio->methods && gpio->methods->set_##n) \
654 gpio->methods->set_##n(gpio, \
736 v = ldev->gpio.methods->get_detect(&ldev->gpio, in detected_get()
740 v = ldev->gpio.methods->get_detect(&ldev->gpio, in detected_get()
860 v = ldev->gpio.methods->get_detect(&ldev->gpio, AOA_NOTIFY_HEADPHONE); in layout_notify()
864 ldev->gpio.methods->set_speakers(&ldev->gpio, !v); in layout_notify()
865 ldev->gpio.methods->set_headphone(&ldev->gpio, v); in layout_notify()
866 ldev->gpio.methods->set_lineout(&ldev->gpio, 0); in layout_notify()
[all …]
/sound/aoa/core/
Dgpio-feature.c181 static struct gpio_methods methods; variable
192 if (methods.set_master) in ftr_gpio_all_amps_off()
206 if (methods.set_master) in ftr_gpio_all_amps_restore()
249 methods.set_master = ftr_gpio_set_master; in ftr_gpio_init()
250 methods.get_master = ftr_gpio_get_master; in ftr_gpio_init()
408 static struct gpio_methods methods = { variable
424 struct gpio_methods *ftr_gpio_methods = &methods;
Dgpio-pmf.c235 static struct gpio_methods methods = { variable
251 struct gpio_methods *pmf_gpio_methods = &methods;
/sound/aoa/codecs/
Donyx.c778 onyx->codec.gpio->methods->all_amps_off(onyx->codec.gpio); in onyx_switch_clock()
781 onyx->codec.gpio->methods->all_amps_restore(onyx->codec.gpio); in onyx_switch_clock()
820 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_resume()
822 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 1); in onyx_resume()
824 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_resume()
868 if (!onyx->codec.gpio || !onyx->codec.gpio->methods) { in onyx_init_codec()
873 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_init_codec()
875 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 1); in onyx_init_codec()
877 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_init_codec()
Dtas.c674 tas->codec.gpio->methods->all_amps_off(tas->codec.gpio); in tas_reset_init()
676 tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 0); in tas_reset_init()
678 tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 1); in tas_reset_init()
680 tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 0); in tas_reset_init()
682 tas->codec.gpio->methods->all_amps_restore(tas->codec.gpio); in tas_reset_init()
720 tas->codec.gpio->methods->all_amps_off(tas->codec.gpio); in tas_switch_clock()
730 tas->codec.gpio->methods->all_amps_restore(tas->codec.gpio); in tas_switch_clock()
800 if (!tas->codec.gpio || !tas->codec.gpio->methods) { in tas_init_codec()
/sound/aoa/
Daoa-gpio.h74 struct gpio_methods *methods; member