Home
last modified time | relevance | path

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

/linux-4.1.27/sound/pci/hda/
Dpatch_ca0110.c45 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in ca0110_parse_auto_config()
48 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in ca0110_parse_auto_config()
Dhda_generic.c1139 struct auto_pin_cfg *cfg = &spec->autocfg; in get_line_out_pfx()
1310 struct auto_pin_cfg *cfg = &spec->autocfg; in get_primary_out()
1456 struct auto_pin_cfg *cfg = &spec->autocfg; in count_multiio_pins()
1487 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_multi_ios()
1643 struct auto_pin_cfg *cfg = &spec->autocfg; in indep_hp_possible()
1701 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_and_eval_dacs()
1943 struct auto_pin_cfg *cfg = &spec->autocfg; in parse_output_paths()
2161 return create_extra_outs(codec, spec->autocfg.hp_outs, in create_hp_out_ctls()
2169 return create_extra_outs(codec, spec->autocfg.speaker_outs, in create_speaker_out_ctls()
2215 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in indep_hp_put()
[all …]
Dpatch_cirrus.c365 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs_parse_auto_config()
369 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs_parse_auto_config()
699 hda_nid_t pin = spec->gen.autocfg.dig_out_pins[0]; in cs4208_spdif_sw_put()
714 if (!spec->gen.autocfg.dig_out_pins[0]) in cs4208_fixup_spdif_switch()
1023 hda_nid_t spdif_pin = spec->gen.autocfg.dig_out_pins[0]; in cs4210_spdif_automute()
1044 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in parse_cs421x_digital()
1094 if (spec->gen.autocfg.speaker_outs && in cs421x_build_controls()
1124 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs421x_parse_auto_config()
1128 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs421x_parse_auto_config()
Dpatch_cmedia.c60 cfg = &spec->gen.autocfg; in patch_cmi9880()
89 cfg = &spec->gen.autocfg; in patch_cmi8888()
Dpatch_analog.c190 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in ad198x_parse_auto_config()
808 if (!spec->gen.autocfg.dig_outs) in ad1988_auto_init()
856 if (!spec->gen.autocfg.dig_outs || in ad1988_add_spdif_mux_ctl()
1017 if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in ad1884_fixup_hp_eapd()
1018 spec->eapd_nid = spec->gen.autocfg.line_out_pins[0]; in ad1884_fixup_hp_eapd()
1020 spec->eapd_nid = spec->gen.autocfg.speaker_pins[0]; in ad1884_fixup_hp_eapd()
Dpatch_realtek.c662 if (!spec->gen.autocfg.hp_pins[0] && in alc_subsystem_id()
663 !(spec->gen.autocfg.line_out_pins[0] && in alc_subsystem_id()
664 spec->gen.autocfg.line_out_type == AUTO_PIN_HP_OUT)) { in alc_subsystem_id()
668 if (found_in_nid_list(nid, spec->gen.autocfg.line_out_pins, in alc_subsystem_id()
669 spec->gen.autocfg.line_outs)) in alc_subsystem_id()
671 spec->gen.autocfg.hp_pins[0] = nid; in alc_subsystem_id()
993 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in alc_parse_auto_config()
1541 spec->gen.autocfg.hp_pins[0] = 0x0f; /* copy it for automute */ in alc260_fixup_gpio1_toggle()
2607 spec->gen.autocfg.speaker_pins[0] != 0x1d) { in patch_alc268()
2777 hda_nid_t hp_pin = spec->gen.autocfg.hp_pins[0]; in alc282_init()
[all …]
Dpatch_conexant.c295 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in cxt_update_headset_mode()
310 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode()
929 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, in patch_conexant_auto()
934 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in patch_conexant_auto()
Dpatch_via.c205 if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) in vt1708_stop_hp_work()
218 if (spec->codec_type != VT1708 || !spec->gen.autocfg.hp_outs) in vt1708_update_hp_work()
583 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in via_parse_auto_config()
589 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in via_parse_auto_config()
Dhda_generic.h153 struct auto_pin_cfg autocfg; member
Dpatch_sigmatel.c830 if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) { in has_builtin_speaker()
831 nid_pin = spec->gen.autocfg.line_out_pins; in has_builtin_speaker()
832 nids = spec->gen.autocfg.line_outs; in has_builtin_speaker()
834 nid_pin = spec->gen.autocfg.speaker_pins; in has_builtin_speaker()
835 nids = spec->gen.autocfg.speaker_outs; in has_builtin_speaker()
959 spec->gen.autocfg.dig_out_pins[smux_idx], in stac_smux_enum_put()
979 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in stac_create_spdif_mux_ctls()
4253 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, flags); in stac_parse_auto_config()
4263 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in stac_parse_auto_config()
Dpatch_ca0132.c708 struct auto_pin_cfg autocfg; member
3969 err = snd_hda_jack_add_kctls(codec, &spec->autocfg); in ca0132_build_controls()
4545 struct auto_pin_cfg *cfg = &spec->autocfg; in ca0132_init()
4611 struct auto_pin_cfg *cfg = &spec->autocfg; in ca0132_config()
4676 err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL); in patch_ca0132()
/linux-4.1.27/drivers/dma/dw/
Dcore.c1502 bool autocfg; in dw_dma_probe() local
1519 autocfg = dw_params >> DW_PARAMS_EN & 0x1; in dw_dma_probe()
1523 if (!pdata && autocfg) { in dw_dma_probe()
1539 if (autocfg) in dw_dma_probe()
1552 if (autocfg) { in dw_dma_probe()
1619 if (autocfg) { in dw_dma_probe()