Home
last modified time | relevance | path

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

/sound/aoa/fabrics/
A Dlayout.c645 if (gpio->methods && gpio->methods->get_##n) \
647 gpio->methods->get_##n(gpio); \
654 if (gpio->methods && gpio->methods->set_##n) \
655 gpio->methods->set_##n(gpio, \
932 !ldev->gpio.methods in layout_attached_codec()
957 !ldev->gpio.methods in layout_attached_codec()
1070 ldev->gpio.methods->init(&ldev->gpio); in aoa_fabric_layout_probe()
1085 ldev->gpio.methods->exit(&ldev->gpio); in aoa_fabric_layout_probe()
1122 ldev->gpio.methods->exit(&ldev->gpio); in aoa_fabric_layout_remove()
1133 if (ldev->gpio.methods && ldev->gpio.methods->all_amps_off) in aoa_fabric_layout_suspend()
[all …]
/sound/aoa/core/
A 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;
A Dgpio-pmf.c235 static struct gpio_methods methods = { variable
251 struct gpio_methods *pmf_gpio_methods = &methods;
/sound/aoa/codecs/
A Donyx.c779 onyx->codec.gpio->methods->all_amps_off(onyx->codec.gpio); in onyx_switch_clock()
782 onyx->codec.gpio->methods->all_amps_restore(onyx->codec.gpio); in onyx_switch_clock()
821 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_resume()
823 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 1); in onyx_resume()
825 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_resume()
869 if (!onyx->codec.gpio || !onyx->codec.gpio->methods) { in onyx_init_codec()
874 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_init_codec()
876 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 1); in onyx_init_codec()
878 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_init_codec()
A 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/
A Daoa-gpio.h73 struct gpio_methods *methods; member

Completed in 21 milliseconds