Home
last modified time | relevance | path

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

/Linux-v5.15/sound/pci/hda/
Dhda_generic.c1161 struct auto_pin_cfg *cfg = &spec->autocfg; in get_line_out_pfx()
1340 struct auto_pin_cfg *cfg = &spec->autocfg; in get_primary_out()
1490 struct auto_pin_cfg *cfg = &spec->autocfg; in count_multiio_pins()
1521 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_multi_ios()
1677 struct auto_pin_cfg *cfg = &spec->autocfg; in indep_hp_possible()
1735 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_and_eval_dacs()
1977 struct auto_pin_cfg *cfg = &spec->autocfg; in parse_output_paths()
2195 return create_extra_outs(codec, spec->autocfg.hp_outs, in create_hp_out_ctls()
2203 return create_extra_outs(codec, spec->autocfg.speaker_outs, in create_speaker_out_ctls()
2249 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in indep_hp_put()
[all …]
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()
Dpatch_cirrus.c350 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs_parse_auto_config()
354 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs_parse_auto_config()
703 hda_nid_t pin = spec->gen.autocfg.dig_out_pins[0]; in cs4208_spdif_sw_put()
718 if (!spec->gen.autocfg.dig_out_pins[0]) in cs4208_fixup_spdif_switch()
1027 hda_nid_t spdif_pin = spec->gen.autocfg.dig_out_pins[0]; in cs4210_spdif_automute()
1048 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in parse_cs421x_digital()
1110 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs421x_parse_auto_config()
1114 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs421x_parse_auto_config()
1120 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.c171 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in ad198x_parse_auto_config()
791 if (!spec->gen.autocfg.dig_outs) in ad1988_auto_init()
839 if (!spec->gen.autocfg.dig_outs || in ad1988_add_spdif_mux_ctl()
1001 if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in ad1884_fixup_hp_eapd()
1002 spec->eapd_nid = spec->gen.autocfg.line_out_pins[0]; in ad1884_fixup_hp_eapd()
1004 spec->eapd_nid = spec->gen.autocfg.speaker_pins[0]; in ad1884_fixup_hp_eapd()
Dpatch_conexant.c275 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in cxt_update_headset_mode()
290 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode()
1070 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, in patch_conexant_auto()
1075 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in patch_conexant_auto()
Dpatch_via.c187 if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) in vt1708_stop_hp_work()
200 if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) in vt1708_update_hp_work()
519 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in via_parse_auto_config()
523 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in via_parse_auto_config()
Dhda_generic.h151 struct auto_pin_cfg autocfg; member
Dpatch_sigmatel.c807 if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) { in has_builtin_speaker()
808 nid_pin = spec->gen.autocfg.line_out_pins; in has_builtin_speaker()
809 nids = spec->gen.autocfg.line_outs; in has_builtin_speaker()
811 nid_pin = spec->gen.autocfg.speaker_pins; in has_builtin_speaker()
812 nids = spec->gen.autocfg.speaker_outs; in has_builtin_speaker()
936 spec->gen.autocfg.dig_out_pins[smux_idx], in stac_smux_enum_put()
956 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in stac_create_spdif_mux_ctls()
4270 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, flags); in stac_parse_auto_config()
4283 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in stac_parse_auto_config()
Dpatch_cs8409.c28 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs8409_parse_auto_config()
32 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs8409_parse_auto_config()
Dpatch_realtek.c585 if (spec->gen.autocfg.hp_pins[0]) in alc_get_hp_pin()
586 return spec->gen.autocfg.hp_pins[0]; in alc_get_hp_pin()
587 if (spec->gen.autocfg.line_out_type == AC_JACK_HP_OUT) in alc_get_hp_pin()
588 return spec->gen.autocfg.line_out_pins[0]; in alc_get_hp_pin()
805 if (found_in_nid_list(nid, spec->gen.autocfg.line_out_pins, in alc_subsystem_id()
806 spec->gen.autocfg.line_outs)) in alc_subsystem_id()
808 spec->gen.autocfg.hp_pins[0] = nid; in alc_subsystem_id()
1116 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in alc_parse_auto_config()
1669 spec->gen.autocfg.hp_pins[0] = 0x0f; /* copy it for automute */ in alc260_fixup_gpio1_toggle()
2993 spec->gen.autocfg.speaker_pins[0] != 0x1d) { in patch_alc268()
[all …]
Dpatch_ca0132.c1070 struct auto_pin_cfg autocfg; member
7186 err = snd_hda_jack_add_kctls(codec, &spec->autocfg); in ca0132_build_controls()
9501 struct auto_pin_cfg *cfg = &spec->autocfg; in ca0132_init()
9622 struct auto_pin_cfg *cfg = &spec->autocfg; in dbpro_init()
10093 err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL); in patch_ca0132()
/Linux-v5.15/drivers/dma/dw/
Dcore.c1072 bool autocfg = false; in do_dma_probe() local
1089 autocfg = dw_params >> DW_PARAMS_EN & 1; in do_dma_probe()
1090 if (!autocfg) { in do_dma_probe()
1182 if (autocfg) { in do_dma_probe()