Home
last modified time | relevance | path

Searched refs:hp_pins (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_auto_parser.c163 * assisnged to hp_pins[] and speaker_pins[], respectively. If no line-out jack
181 struct auto_out_pin hp_out[ARRAY_SIZE(cfg->hp_pins)]; in snd_hda_parse_pin_defcfg()
268 if (cfg->hp_outs >= ARRAY_SIZE(cfg->hp_pins)) { in snd_hda_parse_pin_defcfg()
377 sort_pins_by_sequence(cfg->hp_pins, hp_out, cfg->hp_outs); in snd_hda_parse_pin_defcfg()
394 memcpy(cfg->line_out_pins, cfg->hp_pins, in snd_hda_parse_pin_defcfg()
395 sizeof(cfg->hp_pins)); in snd_hda_parse_pin_defcfg()
397 memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins)); in snd_hda_parse_pin_defcfg()
403 reorder_outputs(cfg->hp_outs, cfg->hp_pins); in snd_hda_parse_pin_defcfg()
425 cfg->hp_outs, cfg->hp_pins[ in snd_hda_parse_pin_defcfg()
[all...]
H A Dhda_auto_parser.h68 hda_nid_t hp_pins[AUTO_CFG_MAX_OUTS]; member
102 cfg->line_out_pins : cfg->hp_pins; in auto_cfg_hp_pins()
H A Dhda_generic.c1773 cfg->hp_pins, in fill_and_eval_dacs()
1804 err = try_assign_dacs(codec, cfg->hp_outs, cfg->hp_pins, in fill_and_eval_dacs()
1843 if (count_multiio_pins(codec, cfg->hp_pins[0]) >= 2) in fill_and_eval_dacs()
1935 cfg->hp_pins[0], cfg->hp_pins[1], in debug_show_configs()
1936 cfg->hp_pins[2], cfg->hp_pins[3], in debug_show_configs()
2027 memcpy(cfg->hp_pins, cfg->line_out_pins, in parse_output_paths()
2028 sizeof(cfg->hp_pins)); in parse_output_paths()
2044 memcpy(cfg->line_out_pins, cfg->hp_pins, in parse_output_paths()
[all...]
H A Dhda_jack.c581 for (i = 0, p = cfg->hp_pins; i < cfg->hp_outs; i++, p++) { in snd_hda_jack_add_kctls()
H A Dpatch_conexant.c285 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode()
H A Dpatch_realtek.c644 if (spec->gen.autocfg.hp_pins[0]) in alc_get_hp_pin()
645 return spec->gen.autocfg.hp_pins[0]; in alc_get_hp_pin()
867 spec->gen.autocfg.hp_pins[0] = nid; in alc_subsystem_id()
1740 spec->gen.autocfg.hp_pins[0] = 0x0f; /* copy it for automute */ in alc260_fixup_gpio1_toggle()
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_auto_parser.c159 * assisnged to hp_pins[] and speaker_pins[], respectively. If no line-out jack
177 struct auto_out_pin hp_out[ARRAY_SIZE(cfg->hp_pins)]; in snd_hda_parse_pin_defcfg()
264 if (cfg->hp_outs >= ARRAY_SIZE(cfg->hp_pins)) { in snd_hda_parse_pin_defcfg()
373 sort_pins_by_sequence(cfg->hp_pins, hp_out, cfg->hp_outs); in snd_hda_parse_pin_defcfg()
390 memcpy(cfg->line_out_pins, cfg->hp_pins, in snd_hda_parse_pin_defcfg()
391 sizeof(cfg->hp_pins)); in snd_hda_parse_pin_defcfg()
393 memset(cfg->hp_pins, 0, sizeof(cfg->hp_pins)); in snd_hda_parse_pin_defcfg()
399 reorder_outputs(cfg->hp_outs, cfg->hp_pins); in snd_hda_parse_pin_defcfg()
421 cfg->hp_outs, cfg->hp_pins[ in snd_hda_parse_pin_defcfg()
[all...]
H A Dhda_auto_parser.h70 hda_nid_t hp_pins[AUTO_CFG_MAX_OUTS]; member
104 cfg->line_out_pins : cfg->hp_pins; in auto_cfg_hp_pins()
H A Dhda_generic.c1779 cfg->hp_pins, in fill_and_eval_dacs()
1810 err = try_assign_dacs(codec, cfg->hp_outs, cfg->hp_pins, in fill_and_eval_dacs()
1849 if (count_multiio_pins(codec, cfg->hp_pins[0]) >= 2) in fill_and_eval_dacs()
1941 cfg->hp_pins[0], cfg->hp_pins[1], in debug_show_configs()
1942 cfg->hp_pins[2], cfg->hp_pins[3], in debug_show_configs()
2033 memcpy(cfg->hp_pins, cfg->line_out_pins, in parse_output_paths()
2034 sizeof(cfg->hp_pins)); in parse_output_paths()
2050 memcpy(cfg->line_out_pins, cfg->hp_pins, in parse_output_paths()
[all...]
H A Dhda_jack.c655 for (i = 0, p = cfg->hp_pins; i < cfg->hp_outs; i++, p++) { in snd_hda_jack_add_kctls()
H A Dpatch_conexant.c394 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode()
H A Dpatch_realtek.c643 if (spec->gen.autocfg.hp_pins[0]) in alc_get_hp_pin()
644 return spec->gen.autocfg.hp_pins[0]; in alc_get_hp_pin()
866 spec->gen.autocfg.hp_pins[0] = nid; in alc_subsystem_id()
1726 spec->gen.autocfg.hp_pins[0] = 0x0f; /* copy it for automute */ in alc260_fixup_gpio1_toggle()

Completed in 46 milliseconds