Home
last modified time | relevance | path

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

/openbmc/linux/sound/pci/hda/
H A Dpatch_ca0132.c3851 unsigned int cur_gpio; in r3di_gpio_mic_set() local
3854 cur_gpio = snd_hda_codec_read(codec, 0x01, 0, AC_VERB_GET_GPIO_DATA, 0); in r3di_gpio_mic_set()
3858 cur_gpio &= ~(1 << R3DI_MIC_SELECT_BIT); in r3di_gpio_mic_set()
3861 cur_gpio |= (1 << R3DI_MIC_SELECT_BIT); in r3di_gpio_mic_set()
3865 AC_VERB_SET_GPIO_DATA, cur_gpio); in r3di_gpio_mic_set()
3871 unsigned int cur_gpio; in r3di_gpio_dsp_status_set() local
3874 cur_gpio = snd_hda_codec_read(codec, 0x01, 0, AC_VERB_GET_GPIO_DATA, 0); in r3di_gpio_dsp_status_set()
3878 cur_gpio |= (1 << R3DI_GPIO_DSP_DOWNLOADING); in r3di_gpio_dsp_status_set()
3880 AC_VERB_SET_GPIO_DATA, cur_gpio); in r3di_gpio_dsp_status_set()
3884 cur_gpio &= ~(1 << R3DI_GPIO_DSP_DOWNLOADING); in r3di_gpio_dsp_status_set()
[all …]