Searched refs:methods (Results 1 – 6 of 6) sorted by relevance
/sound/aoa/fabrics/ |
D | layout.c | 638 if (gpio->methods && gpio->methods->get_##n) \ 640 gpio->methods->get_##n(gpio); \ 647 if (gpio->methods && gpio->methods->set_##n) \ 648 gpio->methods->set_##n(gpio, \ 730 v = ldev->gpio.methods->get_detect(&ldev->gpio, in detected_get() 734 v = ldev->gpio.methods->get_detect(&ldev->gpio, in detected_get() 854 v = ldev->gpio.methods->get_detect(&ldev->gpio, AOA_NOTIFY_HEADPHONE); in layout_notify() 858 ldev->gpio.methods->set_speakers(&ldev->gpio, !v); in layout_notify() 859 ldev->gpio.methods->set_headphone(&ldev->gpio, v); in layout_notify() 860 ldev->gpio.methods->set_lineout(&ldev->gpio, 0); in layout_notify() [all …]
|
/sound/aoa/core/ |
D | gpio-feature.c | 179 static struct gpio_methods methods; variable 190 if (methods.set_master) in ftr_gpio_all_amps_off() 204 if (methods.set_master) in ftr_gpio_all_amps_restore() 247 methods.set_master = ftr_gpio_set_master; in ftr_gpio_init() 248 methods.get_master = ftr_gpio_get_master; in ftr_gpio_init() 406 static struct gpio_methods methods = { variable 422 struct gpio_methods *ftr_gpio_methods = &methods;
|
D | gpio-pmf.c | 236 static struct gpio_methods methods = { variable 252 struct gpio_methods *pmf_gpio_methods = &methods;
|
/sound/aoa/codecs/ |
D | tas.c | 682 tas->codec.gpio->methods->all_amps_off(tas->codec.gpio); in tas_reset_init() 684 tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 0); in tas_reset_init() 686 tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 1); in tas_reset_init() 688 tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 0); in tas_reset_init() 690 tas->codec.gpio->methods->all_amps_restore(tas->codec.gpio); in tas_reset_init() 728 tas->codec.gpio->methods->all_amps_off(tas->codec.gpio); in tas_switch_clock() 738 tas->codec.gpio->methods->all_amps_restore(tas->codec.gpio); in tas_switch_clock() 808 if (!tas->codec.gpio || !tas->codec.gpio->methods) { in tas_init_codec()
|
D | onyx.c | 785 onyx->codec.gpio->methods->all_amps_off(onyx->codec.gpio); in onyx_switch_clock() 788 onyx->codec.gpio->methods->all_amps_restore(onyx->codec.gpio); in onyx_switch_clock() 827 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_resume() 829 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 1); in onyx_resume() 831 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_resume() 875 if (!onyx->codec.gpio || !onyx->codec.gpio->methods) { in onyx_init_codec() 880 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_init_codec() 882 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 1); in onyx_init_codec() 884 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_init_codec()
|
/sound/aoa/ |
D | aoa-gpio.h | 75 struct gpio_methods *methods; member
|