Lines Matching refs:default_polarity
201 int default_polarity; member
768 static int find_mute_led_cfg(struct hda_codec *codec, int default_polarity) in find_mute_led_cfg() argument
801 if (default_polarity >= 0) in find_mute_led_cfg()
802 spec->gpio_led_polarity = default_polarity; in find_mute_led_cfg()
815 (default_polarity == 0 || default_polarity == 1)) { in find_mute_led_cfg()
817 spec->gpio_led_polarity = default_polarity; in find_mute_led_cfg()
2092 if (find_mute_led_cfg(codec, spec->default_polarity)) in stac92hd83xxx_fixup_hp()
2117 spec->default_polarity = 0; in stac92hd83xxx_fixup_hp_led()
2126 spec->default_polarity = 1; in stac92hd83xxx_fixup_hp_inv_led()
2150 spec->default_polarity = 0; in stac92hd83xxx_fixup_hp_led_gpio10()
4210 if (find_mute_led_cfg(codec, spec->default_polarity)) in stac92hd95_fixup_hp_led()
4659 spec->default_polarity = -1; /* no default cfg */ in patch_stac92hd83xxx()
4709 spec->default_polarity = 0; in patch_stac92hd95()