Lines Matching refs:default_polarity
190 int default_polarity; member
746 static int find_mute_led_cfg(struct hda_codec *codec, int default_polarity) in find_mute_led_cfg() argument
779 if (default_polarity >= 0) in find_mute_led_cfg()
780 spec->gpio_led_polarity = default_polarity; in find_mute_led_cfg()
793 (default_polarity == 0 || default_polarity == 1)) { in find_mute_led_cfg()
795 spec->gpio_led_polarity = default_polarity; in find_mute_led_cfg()
2113 if (find_mute_led_cfg(codec, spec->default_polarity)) in stac92hd83xxx_fixup_hp()
2138 spec->default_polarity = 0; in stac92hd83xxx_fixup_hp_led()
2147 spec->default_polarity = 1; in stac92hd83xxx_fixup_hp_inv_led()
2171 spec->default_polarity = 0; in stac92hd83xxx_fixup_hp_led_gpio10()
4238 if (find_mute_led_cfg(codec, spec->default_polarity)) in stac92hd95_fixup_hp_led()
4679 spec->default_polarity = -1; /* no default cfg */ in patch_stac92hd83xxx()
4727 spec->default_polarity = 0; in patch_stac92hd95()