Lines Matching refs:gpio_data
184 unsigned int gpio_data; member
328 spec->gpio_data |= spec->mic_mute_led_gpio; in stac_capture_led_update()
330 spec->gpio_data &= ~spec->mic_mute_led_gpio; in stac_capture_led_update()
331 stac_gpio_set(codec, spec->gpio_mask, spec->gpio_dir, spec->gpio_data); in stac_capture_led_update()
383 spec->gpio_data |= spec->gpio_led; in stac_update_led_status()
385 spec->gpio_data &= ~spec->gpio_led; in stac_update_led_status()
387 spec->gpio_dir, spec->gpio_data); in stac_update_led_status()
414 unsigned int val = spec->gpio_data; in stac_update_outputs()
419 if (spec->gpio_data != val) { in stac_update_outputs()
420 spec->gpio_data = val; in stac_update_outputs()
543 spec->eapd_mask = spec->gpio_dir = spec->gpio_data = in stac_store_hints()
548 if (get_int_hint(codec, "gpio_data", &spec->gpio_data)) in stac_store_hints()
549 spec->gpio_data &= spec->gpio_mask; in stac_store_hints()
1354 spec->gpio_data = 0x00; in stac9200_fixup_panasonic()
1784 spec->gpio_mask = spec->gpio_dir = spec->gpio_data = 0; in stac92hd73xx_fixup_ref()
2176 spec->gpio_data = 0x10; in stac92hd83xxx_fixup_gpio10_eapd()
2941 ucontrol->value.integer.value[0] = !!(spec->gpio_data & 0x20); in stac_hp_bass_gpio_get()
2950 unsigned int gpio_data; in stac_hp_bass_gpio_put() local
2952 gpio_data = (spec->gpio_data & ~0x20) | in stac_hp_bass_gpio_put()
2954 if (gpio_data == spec->gpio_data) in stac_hp_bass_gpio_put()
2956 spec->gpio_data = gpio_data; in stac_hp_bass_gpio_put()
2957 stac_gpio_set(codec, spec->gpio_mask, spec->gpio_dir, spec->gpio_data); in stac_hp_bass_gpio_put()
2978 spec->gpio_data |= 0x20; in stac_add_hp_bass_switch()
3051 spec->gpio_mask = spec->gpio_dir = spec->gpio_data = 0; in stac92hd71bxx_fixup_ref()
3526 spec->gpio_data = 0x03; in stac922x_fixup_intel_mac_gpio()
3826 spec->gpio_dir = spec->gpio_data = 0; in stac927x_fixup_ref()
3841 spec->gpio_dir = spec->gpio_data = 0x04; in stac927x_fixup_dell_dmic()
4120 spec->gpio_data = 0x01; in stac9205_fixup_dell_m43()
4352 spec->gpio_data |= spec->eapd_mask; in stac_init()
4353 stac_gpio_set(codec, spec->gpio_mask, spec->gpio_dir, spec->gpio_data); in stac_init()
4385 spec->gpio_dir, spec->gpio_data & in stac_shutup()
4583 spec->gpio_data = 0x01; in patch_stac92hd73xx()
4628 spec->gpio_data |= spec->gpio_led; in stac_setup_gpio()
4638 spec->gpio_data |= spec->mic_mute_led_gpio; in stac_setup_gpio()
4756 spec->gpio_data = 0x01; in patch_stac92hd71bxx()
4879 spec->gpio_dir = spec->gpio_data = 0x01; in patch_stac927x()
4942 spec->gpio_data = 0x01; in patch_stac9205()