Lines Matching refs:gpio_data
428 ucontrol->value.integer.value[0] = !!(spec->gpio_data & spec->speaker_pdn_gpio); in cs8409_spk_sw_gpio_get()
437 unsigned int gpio_data; in cs8409_spk_sw_gpio_put() local
439 gpio_data = (spec->gpio_data & ~spec->speaker_pdn_gpio) | in cs8409_spk_sw_gpio_put()
441 if (gpio_data == spec->gpio_data) in cs8409_spk_sw_gpio_put()
443 spec->gpio_data = gpio_data; in cs8409_spk_sw_gpio_put()
444 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_DATA, spec->gpio_data); in cs8409_spk_sw_gpio_put()
882 spec->gpio_data = snd_hda_codec_read(codec, CS8409_PIN_AFG, 0, AC_VERB_GET_GPIO_DATA, 0); in cs42l42_resume()
883 spec->gpio_data |= cs42l42->reset_gpio; in cs42l42_resume()
884 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_DATA, spec->gpio_data); in cs42l42_resume()
946 spec->gpio_data = snd_hda_codec_read(codec, CS8409_PIN_AFG, 0, AC_VERB_GET_GPIO_DATA, 0); in cs42l42_suspend()
947 spec->gpio_data &= ~cs42l42->reset_gpio; in cs42l42_suspend()
948 snd_hda_codec_write(codec, CS8409_PIN_AFG, 0, AC_VERB_SET_GPIO_DATA, spec->gpio_data); in cs42l42_suspend()
1042 spec->gpio_data); in cs8409_cs42l42_hw_init()
1141 spec->gpio_data = 0; in cs8409_cs42l42_fixups()
1176 spec->gpio_data |= spec->speaker_pdn_gpio; in cs8409_cs42l42_fixups()
1286 spec->gpio_data); in dolphin_hw_init()
1373 spec->gpio_data = 0; in dolphin_fixups()