Lines Matching refs:gpio_data

195 	unsigned int gpio_data;  member
355 spec->gpio_data |= spec->mic_mute_led_gpio; in stac_capture_led_hook()
357 spec->gpio_data &= ~spec->mic_mute_led_gpio; in stac_capture_led_hook()
359 spec->gpio_dir, spec->gpio_data); in stac_capture_led_hook()
412 spec->gpio_data |= spec->gpio_led; in stac_update_led_status()
414 spec->gpio_data &= ~spec->gpio_led; in stac_update_led_status()
416 spec->gpio_dir, spec->gpio_data); in stac_update_led_status()
443 unsigned int val = spec->gpio_data; in stac_update_outputs()
448 if (spec->gpio_data != val) { in stac_update_outputs()
449 spec->gpio_data = val; in stac_update_outputs()
572 spec->eapd_mask = spec->gpio_dir = spec->gpio_data = in stac_store_hints()
577 if (get_int_hint(codec, "gpio_data", &spec->gpio_data)) in stac_store_hints()
578 spec->gpio_data &= spec->gpio_mask; in stac_store_hints()
1371 spec->gpio_data = 0x00; in stac9200_fixup_panasonic()
1799 spec->gpio_mask = spec->gpio_dir = spec->gpio_data = 0; in stac92hd73xx_fixup_ref()
2172 spec->gpio_data = 0x10; in stac92hd83xxx_fixup_gpio10_eapd()
2937 ucontrol->value.integer.value[0] = !!(spec->gpio_data & 0x20); in stac_hp_bass_gpio_get()
2946 unsigned int gpio_data; in stac_hp_bass_gpio_put() local
2948 gpio_data = (spec->gpio_data & ~0x20) | in stac_hp_bass_gpio_put()
2950 if (gpio_data == spec->gpio_data) in stac_hp_bass_gpio_put()
2952 spec->gpio_data = gpio_data; in stac_hp_bass_gpio_put()
2953 stac_gpio_set(codec, spec->gpio_mask, spec->gpio_dir, spec->gpio_data); in stac_hp_bass_gpio_put()
2974 spec->gpio_data |= 0x20; in stac_add_hp_bass_switch()
3047 spec->gpio_mask = spec->gpio_dir = spec->gpio_data = 0; in stac92hd71bxx_fixup_ref()
3522 spec->gpio_data = 0x03; in stac922x_fixup_intel_mac_gpio()
3822 spec->gpio_dir = spec->gpio_data = 0; in stac927x_fixup_ref()
3837 spec->gpio_dir = spec->gpio_data = 0x04; in stac927x_fixup_dell_dmic()
4109 spec->gpio_data = 0x01; in stac9205_fixup_dell_m43()
4341 spec->gpio_data |= spec->eapd_mask; in stac_init()
4342 stac_gpio_set(codec, spec->gpio_mask, spec->gpio_dir, spec->gpio_data); in stac_init()
4374 spec->gpio_dir, spec->gpio_data & in stac_shutup()
4572 spec->gpio_data = 0x01; in patch_stac92hd73xx()
4617 spec->gpio_data |= spec->gpio_led; in stac_setup_gpio()
4627 spec->gpio_data |= spec->mic_mute_led_gpio; in stac_setup_gpio()
4746 spec->gpio_data = 0x01; in patch_stac92hd71bxx()
4869 spec->gpio_dir = spec->gpio_data = 0x01; in patch_stac927x()
4932 spec->gpio_data = 0x01; in patch_stac9205()