Lines Matching refs:default_polarity
190 int default_polarity; member
745 static int find_mute_led_cfg(struct hda_codec *codec, int default_polarity) in find_mute_led_cfg() argument
778 if (default_polarity >= 0) in find_mute_led_cfg()
779 spec->gpio_led_polarity = default_polarity; in find_mute_led_cfg()
792 (default_polarity == 0 || default_polarity == 1)) { in find_mute_led_cfg()
794 spec->gpio_led_polarity = default_polarity; in find_mute_led_cfg()
2102 if (find_mute_led_cfg(codec, spec->default_polarity)) in stac92hd83xxx_fixup_hp()
2127 spec->default_polarity = 0; in stac92hd83xxx_fixup_hp_led()
2136 spec->default_polarity = 1; in stac92hd83xxx_fixup_hp_inv_led()
2160 spec->default_polarity = 0; in stac92hd83xxx_fixup_hp_led_gpio10()
4227 if (find_mute_led_cfg(codec, spec->default_polarity)) in stac92hd95_fixup_hp_led()
4666 spec->default_polarity = -1; /* no default cfg */ in patch_stac92hd83xxx()
4714 spec->default_polarity = 0; in patch_stac92hd95()