Home
last modified time | relevance | path

Searched refs:def_conf (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_auto_parser.c134 unsigned int def_conf; in can_be_headset_mic() local
141 def_conf = snd_hda_codec_get_pincfg(codec, item->pin); in can_be_headset_mic()
142 attr = snd_hda_get_input_pin_attr(def_conf); in can_be_headset_mic()
147 int seq = get_defcfg_sequence(def_conf); in can_be_headset_mic()
197 unsigned int def_conf; in snd_hda_parse_pin_defcfg() local
207 def_conf = snd_hda_codec_get_pincfg(codec, nid); in snd_hda_parse_pin_defcfg()
208 conn = get_defcfg_connect(def_conf); in snd_hda_parse_pin_defcfg()
211 loc = get_defcfg_location(def_conf); in snd_hda_parse_pin_defcfg()
212 dev = get_defcfg_device(def_conf); in snd_hda_parse_pin_defcfg()
226 seq = get_defcfg_sequence(def_conf); in snd_hda_parse_pin_defcfg()
452 snd_hda_get_input_pin_attr(unsigned int def_conf) snd_hda_get_input_pin_attr() argument
488 unsigned int def_conf; hda_get_input_pin_label() local
626 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid); check_output_pfx() local
661 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid); fill_audio_out_name() local
716 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid); snd_hda_get_pin_label() local
[all...]
H A Dhda_jack.c430 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid); in get_input_jack_type() local
431 switch (get_defcfg_device(def_conf)) { in get_input_jack_type()
516 unsigned int def_conf, conn; in add_jack_kctl() local
525 def_conf = snd_hda_codec_get_pincfg(codec, nid); in add_jack_kctl()
526 conn = get_defcfg_connect(def_conf); in add_jack_kctl()
H A Dpatch_via.c441 unsigned int def_conf; in vt1708_set_pinconfig_connect() local
444 def_conf = snd_hda_codec_get_pincfg(codec, nid); in vt1708_set_pinconfig_connect()
445 seqassoc = (unsigned char) get_defcfg_association(def_conf); in vt1708_set_pinconfig_connect()
446 seqassoc = (seqassoc << 4) | get_defcfg_sequence(def_conf); in vt1708_set_pinconfig_connect()
447 if (get_defcfg_connect(def_conf) == AC_JACK_PORT_NONE in vt1708_set_pinconfig_connect()
449 def_conf = def_conf & (~(AC_JACK_PORT_BOTH << 30)); in vt1708_set_pinconfig_connect()
450 snd_hda_codec_set_pincfg(codec, nid, def_conf); in vt1708_set_pinconfig_connect()
H A Dpatch_cirrus.c990 unsigned int def_conf, coef; in cs4210_pinmux_init() local
1013 def_conf = snd_hda_codec_get_pincfg(codec, CS421X_DMIC_PIN_NID); in cs4210_pinmux_init()
1014 def_conf &= ~AC_DEFCFG_PORT_CONN; in cs4210_pinmux_init()
1015 def_conf |= (AC_JACK_PORT_NONE << AC_DEFCFG_PORT_CONN_SHIFT); in cs4210_pinmux_init()
1016 snd_hda_codec_set_pincfg(codec, CS421X_DMIC_PIN_NID, def_conf); in cs4210_pinmux_init()
H A Dhda_auto_parser.h58 int snd_hda_get_input_pin_attr(unsigned int def_conf);
H A Dpatch_sigmatel.c518 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid); in stac_init_power_map() local
519 def_conf = get_defcfg_connect(def_conf); in stac_init_power_map()
520 if (def_conf == AC_JACK_PORT_COMPLEX && in stac_init_power_map()
526 if (def_conf == AC_JACK_PORT_NONE) in stac_init_power_map()
817 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid_pin[i]); in has_builtin_speaker() local
818 if (snd_hda_get_input_pin_attr(def_conf) == INPUT_PIN_ATTR_INT) in has_builtin_speaker()
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_auto_parser.c130 unsigned int def_conf; in can_be_headset_mic() local
137 def_conf = snd_hda_codec_get_pincfg(codec, item->pin); in can_be_headset_mic()
138 attr = snd_hda_get_input_pin_attr(def_conf); in can_be_headset_mic()
143 int seq = get_defcfg_sequence(def_conf); in can_be_headset_mic()
193 unsigned int def_conf; in snd_hda_parse_pin_defcfg() local
203 def_conf = snd_hda_codec_get_pincfg(codec, nid); in snd_hda_parse_pin_defcfg()
204 conn = get_defcfg_connect(def_conf); in snd_hda_parse_pin_defcfg()
207 loc = get_defcfg_location(def_conf); in snd_hda_parse_pin_defcfg()
208 dev = get_defcfg_device(def_conf); in snd_hda_parse_pin_defcfg()
222 seq = get_defcfg_sequence(def_conf); in snd_hda_parse_pin_defcfg()
448 snd_hda_get_input_pin_attr(unsigned int def_conf) snd_hda_get_input_pin_attr() argument
484 unsigned int def_conf; hda_get_input_pin_label() local
622 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid); check_output_pfx() local
657 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid); fill_audio_out_name() local
712 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid); snd_hda_get_pin_label() local
[all...]
H A Dhda_jack.c504 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid); in get_input_jack_type() local
505 switch (get_defcfg_device(def_conf)) { in get_input_jack_type()
590 unsigned int def_conf, conn; in add_jack_kctl() local
599 def_conf = snd_hda_codec_get_pincfg(codec, nid); in add_jack_kctl()
600 conn = get_defcfg_connect(def_conf); in add_jack_kctl()
H A Dpatch_via.c441 unsigned int def_conf; in vt1708_set_pinconfig_connect() local
444 def_conf = snd_hda_codec_get_pincfg(codec, nid); in vt1708_set_pinconfig_connect()
445 seqassoc = (unsigned char) get_defcfg_association(def_conf); in vt1708_set_pinconfig_connect()
446 seqassoc = (seqassoc << 4) | get_defcfg_sequence(def_conf); in vt1708_set_pinconfig_connect()
447 if (get_defcfg_connect(def_conf) == AC_JACK_PORT_NONE in vt1708_set_pinconfig_connect()
449 def_conf = def_conf & (~(AC_JACK_PORT_BOTH << 30)); in vt1708_set_pinconfig_connect()
450 snd_hda_codec_set_pincfg(codec, nid, def_conf); in vt1708_set_pinconfig_connect()
H A Dpatch_cirrus.c993 unsigned int def_conf, coef; in cs4210_pinmux_init() local
1016 def_conf = snd_hda_codec_get_pincfg(codec, CS421X_DMIC_PIN_NID); in cs4210_pinmux_init()
1017 def_conf &= ~AC_DEFCFG_PORT_CONN; in cs4210_pinmux_init()
1018 def_conf |= (AC_JACK_PORT_NONE << AC_DEFCFG_PORT_CONN_SHIFT); in cs4210_pinmux_init()
1019 snd_hda_codec_set_pincfg(codec, CS421X_DMIC_PIN_NID, def_conf); in cs4210_pinmux_init()
H A Dhda_auto_parser.h60 int snd_hda_get_input_pin_attr(unsigned int def_conf);
H A Dpatch_sigmatel.c518 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid); in stac_init_power_map() local
519 def_conf = get_defcfg_connect(def_conf); in stac_init_power_map()
520 if (def_conf == AC_JACK_PORT_COMPLEX && in stac_init_power_map()
526 if (def_conf == AC_JACK_PORT_NONE) in stac_init_power_map()
817 unsigned int def_conf = snd_hda_codec_get_pincfg(codec, nid_pin[i]); in has_builtin_speaker() local
818 if (snd_hda_get_input_pin_attr(def_conf) == INPUT_PIN_ATTR_INT) in has_builtin_speaker()
/kernel/linux/linux-5.10/arch/um/drivers/
H A Dssl.c68 static char *def_conf = CONFIG_SSL_CHAN; variable
170 s = def_conf; in ssl_init()
192 line_setup(conf, NR_PORTS, &def_conf, str, "serial line"); in ssl_chan_setup()
H A Dstdio_console.c74 static char *def_conf; variable
170 s = def_conf; in stdio_init()
197 line_setup(vt_conf, MAX_TTYS, &def_conf, str, "console"); in console_chan_setup()
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dstdio_console.c72 static char *def_conf; variable
167 s = def_conf; in stdio_init()
194 line_setup(vt_conf, MAX_TTYS, &def_conf, str, "console"); in console_chan_setup()
H A Dssl.c66 static char *def_conf = CONFIG_SSL_CHAN; variable
167 s = def_conf; in ssl_init()
189 line_setup(conf, NR_PORTS, &def_conf, str, "serial line"); in ssl_chan_setup()

Completed in 23 milliseconds