Home
last modified time | relevance | path

Searched refs:default_polarity (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/sound/pci/hda/
Dpatch_sigmatel.c190 int default_polarity; member
739 static int find_mute_led_cfg(struct hda_codec *codec, int default_polarity) in find_mute_led_cfg() argument
772 if (default_polarity >= 0) in find_mute_led_cfg()
773 spec->gpio_led_polarity = default_polarity; in find_mute_led_cfg()
786 (default_polarity == 0 || default_polarity == 1)) { in find_mute_led_cfg()
788 spec->gpio_led_polarity = default_polarity; in find_mute_led_cfg()
2096 if (find_mute_led_cfg(codec, spec->default_polarity)) in stac92hd83xxx_fixup_hp()
2121 spec->default_polarity = 0; in stac92hd83xxx_fixup_hp_led()
2130 spec->default_polarity = 1; in stac92hd83xxx_fixup_hp_inv_led()
2154 spec->default_polarity = 0; in stac92hd83xxx_fixup_hp_led_gpio10()
[all …]