Lines Matching refs:default_polarity
202 int default_polarity; member
751 static int find_mute_led_cfg(struct hda_codec *codec, int default_polarity) in find_mute_led_cfg() argument
784 if (default_polarity >= 0) in find_mute_led_cfg()
785 spec->gpio_led_polarity = default_polarity; in find_mute_led_cfg()
798 (default_polarity == 0 || default_polarity == 1)) { in find_mute_led_cfg()
800 spec->gpio_led_polarity = default_polarity; in find_mute_led_cfg()
2098 if (find_mute_led_cfg(codec, spec->default_polarity)) in stac92hd83xxx_fixup_hp()
2123 spec->default_polarity = 0; in stac92hd83xxx_fixup_hp_led()
2132 spec->default_polarity = 1; in stac92hd83xxx_fixup_hp_inv_led()
2156 spec->default_polarity = 0; in stac92hd83xxx_fixup_hp_led_gpio10()
4223 if (find_mute_led_cfg(codec, spec->default_polarity)) in stac92hd95_fixup_hp_led()
4667 spec->default_polarity = -1; /* no default cfg */ in patch_stac92hd83xxx()
4715 spec->default_polarity = 0; in patch_stac92hd95()