Home
last modified time | relevance | path

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

/Linux-v5.4/sound/pci/hda/
Dpatch_ca0110.c32 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in ca0110_parse_auto_config()
35 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in ca0110_parse_auto_config()
Dhda_generic.c1159 struct auto_pin_cfg *cfg = &spec->autocfg; in get_line_out_pfx()
1332 struct auto_pin_cfg *cfg = &spec->autocfg; in get_primary_out()
1478 struct auto_pin_cfg *cfg = &spec->autocfg; in count_multiio_pins()
1509 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_multi_ios()
1665 struct auto_pin_cfg *cfg = &spec->autocfg; in indep_hp_possible()
1723 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_and_eval_dacs()
1965 struct auto_pin_cfg *cfg = &spec->autocfg; in parse_output_paths()
2183 return create_extra_outs(codec, spec->autocfg.hp_outs, in create_hp_out_ctls()
2191 return create_extra_outs(codec, spec->autocfg.speaker_outs, in create_speaker_out_ctls()
2237 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in indep_hp_put()
[all …]
Dpatch_cirrus.c353 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs_parse_auto_config()
357 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs_parse_auto_config()
701 hda_nid_t pin = spec->gen.autocfg.dig_out_pins[0]; in cs4208_spdif_sw_put()
716 if (!spec->gen.autocfg.dig_out_pins[0]) in cs4208_fixup_spdif_switch()
1024 hda_nid_t spdif_pin = spec->gen.autocfg.dig_out_pins[0]; in cs4210_spdif_automute()
1045 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in parse_cs421x_digital()
1106 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs421x_parse_auto_config()
1110 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs421x_parse_auto_config()
1116 if (spec->gen.autocfg.speaker_outs && in cs421x_parse_auto_config()
Dpatch_cmedia.c47 cfg = &spec->gen.autocfg; in patch_cmi9880()
76 cfg = &spec->gen.autocfg; in patch_cmi8888()
Dpatch_analog.c177 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in ad198x_parse_auto_config()
795 if (!spec->gen.autocfg.dig_outs) in ad1988_auto_init()
843 if (!spec->gen.autocfg.dig_outs || in ad1988_add_spdif_mux_ctl()
1004 if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in ad1884_fixup_hp_eapd()
1005 spec->eapd_nid = spec->gen.autocfg.line_out_pins[0]; in ad1884_fixup_hp_eapd()
1007 spec->eapd_nid = spec->gen.autocfg.speaker_pins[0]; in ad1884_fixup_hp_eapd()
Dpatch_conexant.c249 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in cxt_update_headset_mode()
264 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode()
1037 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, in patch_conexant_auto()
1042 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in patch_conexant_auto()
Dpatch_via.c186 if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) in vt1708_stop_hp_work()
199 if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) in vt1708_update_hp_work()
518 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in via_parse_auto_config()
522 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in via_parse_auto_config()
Dhda_generic.h159 struct auto_pin_cfg autocfg; member
Dpatch_sigmatel.c801 if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) { in has_builtin_speaker()
802 nid_pin = spec->gen.autocfg.line_out_pins; in has_builtin_speaker()
803 nids = spec->gen.autocfg.line_outs; in has_builtin_speaker()
805 nid_pin = spec->gen.autocfg.speaker_pins; in has_builtin_speaker()
806 nids = spec->gen.autocfg.speaker_outs; in has_builtin_speaker()
930 spec->gen.autocfg.dig_out_pins[smux_idx], in stac_smux_enum_put()
950 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in stac_create_spdif_mux_ctls()
4264 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, flags); in stac_parse_auto_config()
4274 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in stac_parse_auto_config()
Dpatch_realtek.c554 if (spec->gen.autocfg.hp_pins[0]) in alc_get_hp_pin()
555 return spec->gen.autocfg.hp_pins[0]; in alc_get_hp_pin()
556 if (spec->gen.autocfg.line_out_type == AC_JACK_HP_OUT) in alc_get_hp_pin()
557 return spec->gen.autocfg.line_out_pins[0]; in alc_get_hp_pin()
774 if (found_in_nid_list(nid, spec->gen.autocfg.line_out_pins, in alc_subsystem_id()
775 spec->gen.autocfg.line_outs)) in alc_subsystem_id()
777 spec->gen.autocfg.hp_pins[0] = nid; in alc_subsystem_id()
1094 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in alc_parse_auto_config()
1646 spec->gen.autocfg.hp_pins[0] = 0x0f; /* copy it for automute */ in alc260_fixup_gpio1_toggle()
2867 spec->gen.autocfg.speaker_pins[0] != 0x1d) { in patch_alc268()
[all …]
Dpatch_ca0132.c964 struct auto_pin_cfg autocfg; member
6504 err = snd_hda_jack_add_kctls(codec, &spec->autocfg); in ca0132_build_controls()
8273 struct auto_pin_cfg *cfg = &spec->autocfg; in ca0132_init()
8392 struct auto_pin_cfg *cfg = &spec->autocfg; in dbpro_init()
8843 err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL); in patch_ca0132()
/Linux-v5.4/drivers/dma/dw/
Dcore.c1056 bool autocfg = false; in do_dma_probe() local
1073 autocfg = dw_params >> DW_PARAMS_EN & 1; in do_dma_probe()
1074 if (!autocfg) { in do_dma_probe()
1166 if (autocfg) { in do_dma_probe()