Searched refs:def_conf (Results 1 – 7 of 7) sorted by relevance
/sound/pci/hda/ |
D | hda_auto_parser.c | 127 unsigned int def_conf; in can_be_headset_mic() local 134 def_conf = snd_hda_codec_get_pincfg(codec, item->pin); in can_be_headset_mic() 135 attr = snd_hda_get_input_pin_attr(def_conf); in can_be_headset_mic() 140 int seq = get_defcfg_sequence(def_conf); in can_be_headset_mic() 191 unsigned int def_conf; in snd_hda_parse_pin_defcfg() local 201 def_conf = snd_hda_codec_get_pincfg(codec, nid); in snd_hda_parse_pin_defcfg() 202 conn = get_defcfg_connect(def_conf); in snd_hda_parse_pin_defcfg() 205 loc = get_defcfg_location(def_conf); in snd_hda_parse_pin_defcfg() 206 dev = get_defcfg_device(def_conf); in snd_hda_parse_pin_defcfg() 220 seq = get_defcfg_sequence(def_conf); in snd_hda_parse_pin_defcfg() [all …]
|
D | hda_jack.c | 300 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid); in get_input_jack_type() local 301 switch (get_defcfg_device(def_conf)) { in get_input_jack_type() 400 unsigned int def_conf, conn; in add_jack_kctl() local 407 def_conf = snd_hda_codec_get_pincfg(codec, nid); in add_jack_kctl() 408 conn = get_defcfg_connect(def_conf); in add_jack_kctl()
|
D | patch_cirrus.c | 740 unsigned int def_conf, coef; in cs4210_pinmux_init() local 763 def_conf = snd_hda_codec_get_pincfg(codec, CS421X_DMIC_PIN_NID); in cs4210_pinmux_init() 764 def_conf &= ~AC_DEFCFG_PORT_CONN; in cs4210_pinmux_init() 765 def_conf |= (AC_JACK_PORT_NONE << AC_DEFCFG_PORT_CONN_SHIFT); in cs4210_pinmux_init() 766 snd_hda_codec_set_pincfg(codec, CS421X_DMIC_PIN_NID, def_conf); in cs4210_pinmux_init()
|
D | patch_via.c | 296 unsigned def_conf = snd_hda_codec_get_pincfg(codec, nid); in set_pin_power_state() local 297 unsigned no_presence = (def_conf & AC_DEFCFG_MISC) in set_pin_power_state() 308 && get_defcfg_connect(def_conf) != AC_JACK_PORT_NONE)) { in set_pin_power_state() 532 unsigned int def_conf; in vt1708_set_pinconfig_connect() local 535 def_conf = snd_hda_codec_get_pincfg(codec, nid); in vt1708_set_pinconfig_connect() 536 seqassoc = (unsigned char) get_defcfg_association(def_conf); in vt1708_set_pinconfig_connect() 537 seqassoc = (seqassoc << 4) | get_defcfg_sequence(def_conf); in vt1708_set_pinconfig_connect() 538 if (get_defcfg_connect(def_conf) == AC_JACK_PORT_NONE in vt1708_set_pinconfig_connect() 540 def_conf = def_conf & (~(AC_JACK_PORT_BOTH << 30)); in vt1708_set_pinconfig_connect() 541 snd_hda_codec_set_pincfg(codec, nid, def_conf); in vt1708_set_pinconfig_connect()
|
D | hda_auto_parser.h | 61 int snd_hda_get_input_pin_attr(unsigned int def_conf);
|
D | patch_sigmatel.c | 532 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid); in stac_init_power_map() local 533 def_conf = get_defcfg_connect(def_conf); in stac_init_power_map() 536 if (def_conf == AC_JACK_PORT_COMPLEX && in stac_init_power_map() 543 if (def_conf == AC_JACK_PORT_NONE) in stac_init_power_map() 833 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid_pin[i]); in has_builtin_speaker() local 834 if (snd_hda_get_input_pin_attr(def_conf) == INPUT_PIN_ATTR_INT) in has_builtin_speaker()
|
D | patch_cmedia.c | 79 unsigned int def_conf[NUM_PINS]; member
|