| /linux-6.15/sound/pci/hda/ |
| H A D | hda_jack.h | 21 hda_nid_t nid; 31 hda_nid_t nid; 41 hda_nid_t gating_jack; /* valid when gating jack plugged */ 42 hda_nid_t gated_jack; /* gated is dependent on this jack */ 43 hda_nid_t key_report_jack; /* key reports to this jack */ 63 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get() 102 hda_nid_t gating_nid); 106 hda_nid_t jack_nid); 154 snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect() 159 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid); [all …]
|
| H A D | hda_generic.h | 46 hda_nid_t path[MAX_NID_PATH_DEPTH]; 61 hda_nid_t pin; /* pin */ 112 hda_nid_t alt_dac_nid; 126 hda_nid_t cur_adc; 160 hda_nid_t shared_mic_vref_pin; 161 hda_nid_t hp_mic_pin; 166 hda_nid_t all_dacs[16]; 255 const hda_nid_t *preferred_dacs; 261 hda_nid_t beep_nid; 264 hda_nid_t vmaster_nid; [all …]
|
| H A D | hda_local.h | 167 hda_nid_t associated_nid, 168 hda_nid_t cvt_nid, int type); 212 const hda_nid_t *follower_dig_outs; 274 hda_nid_t nid; 508 hda_nid_t nid, u32 val) in snd_hda_override_wcaps() 568 hda_nid_t nid; 623 hda_nid_t nid; 635 hda_nid_t nid); 646 hda_nid_t nid, in snd_hda_sync_power_state() 652 hda_nid_t nid, [all …]
|
| H A D | hda_auto_parser.h | 35 hda_nid_t pin; 47 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, 66 hda_nid_t line_out_pins[AUTO_CFG_MAX_OUTS]; 68 hda_nid_t speaker_pins[AUTO_CFG_MAX_OUTS]; 71 hda_nid_t hp_pins[AUTO_CFG_MAX_OUTS]; 75 hda_nid_t dig_out_pins[2]; 76 hda_nid_t dig_in_pin; 77 hda_nid_t mono_out_pin; 90 const hda_nid_t *ignore_nids, 102 static inline const hda_nid_t *auto_cfg_hp_pins(const struct auto_pin_cfg *cfg) in auto_cfg_hp_pins() [all …]
|
| H A D | hda_codec.c | 90 hda_nid_t nid; 134 hda_nid_t list[32]; in read_and_add_raw_conns() 419 hda_nid_t nid; in read_widget_caps() 434 hda_nid_t nid; in read_pin_defaults() 676 hda_nid_t nid; 984 hda_nid_t fg; in snd_hda_codec_device_new() 1061 hda_nid_t fg; in snd_hda_codec_update_widgets() 2324 hda_nid_t nid; in snd_hda_spdif_default_put() 2382 hda_nid_t nid; in snd_hda_spdif_out_switch_put() 2746 hda_nid_t nid; in snd_hda_codec_set_power_to_all() [all …]
|
| H A D | hda_generic.c | 257 hda_nid_t from_nid, hda_nid_t to_nid, in get_nid_path() 334 hda_nid_t from_nid, hda_nid_t to_nid) in is_reachable_path() 385 hda_nid_t from_nid, hda_nid_t to_nid, in __parse_nid_path() 690 hda_nid_t conn; in is_stereo_amps() 1288 hda_nid_t nid; in assign_out_path_ctls() 1363 hda_nid_t dac, hda_nid_t pin) in try_dac() 1370 const hda_nid_t *pins, hda_nid_t *dacs, in try_assign_dacs() 1377 hda_nid_t dac; in try_assign_dacs() 1614 const hda_nid_t *pins, hda_nid_t *dacs, int *path_idx) in map_singles() 1970 hda_nid_t nid; in fill_all_dac_nids() [all …]
|
| H A D | hda_proc.c | 48 struct hda_codec *codec, hda_nid_t nid, in print_nid_array() 75 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms() 115 hda_nid_t conn; in is_stereo_amps() 134 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals() 200 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps() 604 const hda_nid_t *list; in print_conn_list() 683 hda_nid_t nid, int dev_num) in print_dpmst_connections() 686 hda_nid_t *conn; in print_dpmst_connections() 778 hda_nid_t nid, fg; in print_codec_info() 810 hda_nid_t *conn = NULL; in print_codec_info() [all …]
|
| H A D | hda_jack.c | 29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable() 108 any_jack_tbl_get_from_nid(struct hda_codec *codec, hda_nid_t nid) in any_jack_tbl_get_from_nid() 128 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_new() 275 hda_nid_t nid, int dev_id) in snd_hda_jack_detect_state_mst() 365 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable() 384 hda_nid_t gating_nid) in snd_hda_jack_set_gating_jack() 414 hda_nid_t jack_nid) in snd_hda_jack_bind_keymap() 502 static int get_input_jack_type(struct hda_codec *codec, hda_nid_t nid) in get_input_jack_type() 541 int snd_hda_jack_add_kctl_mst(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_add_kctl_mst() 586 static int add_jack_kctl(struct hda_codec *codec, hda_nid_t nid, in add_jack_kctl() [all …]
|
| H A D | hda_auto_parser.c | 20 static int is_in_nid_list(hda_nid_t nid, const hda_nid_t *list) in is_in_nid_list() 30 hda_nid_t pin; 57 hda_nid_t nid, int type) in add_auto_cfg_input_pin() 174 const hda_nid_t *ignore_nids, in snd_hda_parse_pin_defcfg() 177 hda_nid_t nid; in snd_hda_parse_pin_defcfg() 488 hda_nid_t pin, bool check_location) in hda_get_input_pin_label() 595 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() 605 static const char *check_output_sfx(hda_nid_t nid, const hda_nid_t *pins, in check_output_sfx() 642 const hda_nid_t *pins, int num_pins) in get_hp_label_index() 744 hda_nid_t pin = cfg->dig_out_pins[i]; in snd_hda_get_pin_label() [all …]
|
| H A D | patch_senarytech.c | 27 hda_nid_t eapds[4]; 28 hda_nid_t mute_led_eapd; 45 static int set_beep_amp(struct senary_spec *spec, hda_nid_t nid, in set_beep_amp() 66 hda_nid_t nid; in senary_auto_parse_beep() 82 hda_nid_t nid; in senary_auto_parse_eapd() 96 const hda_nid_t *pins, bool on) in senary_auto_turn_eapd()
|
| H A D | patch_hdmi.c | 55 hda_nid_t cvt_nid; 69 hda_nid_t pin_nid; 76 hda_nid_t cvt_nid; 190 hda_nid_t vendor_nid; 884 hda_nid_t cvt_nid, hda_nid_t nid) in haswell_verify_D0() 1069 hda_nid_t cvt_nid) in intel_cvt_id_to_mux_idx() 1093 hda_nid_t nid; in intel_not_share_assigned_cvt() 1165 hda_nid_t pin_nid, int dev_id, hda_nid_t cvt_nid) in intel_not_share_assigned_cvt_nid() 1183 hda_nid_t cvt_nid) in pin_cvt_fixup() 2009 hda_nid_t start_nid; in hdmi_parse_codec() [all …]
|
| H A D | hda_eld.c | 34 static unsigned int hdmi_get_eld_data(struct hda_codec *codec, hda_nid_t nid, in hdmi_get_eld_data() 47 int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid) in snd_hdmi_get_eld_size() 53 int snd_hdmi_get_eld(struct hda_codec *codec, hda_nid_t nid, in snd_hdmi_get_eld() 111 hda_nid_t pin_nid, int dev_id, hda_nid_t cvt_nid) in snd_hdmi_print_eld_info() 267 int snd_hdmi_get_eld_ati(struct hda_codec *codec, hda_nid_t nid, in snd_hdmi_get_eld_ati()
|
| H A D | patch_realtek.c | 100 hda_nid_t mute_led_nid; 101 hda_nid_t cap_mute_led_nid; 109 hda_nid_t headset_mic_pin; 132 hda_nid_t pll_nid; 557 const hda_nid_t *p; in alc_auto_setup_eapd() 768 static bool found_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in found_in_nid_list() 871 hda_nid_t nid; in alc_subsystem_id() 3330 hda_nid_t hp_pin; in alc_fixup_headset_jack() 4397 hda_nid_t nid, in led_power_filter() 6393 hda_nid_t nid; in find_ext_mic_pin() [all …]
|
| H A D | patch_analog.c | 28 hda_nid_t eapd_nid; 75 static void ad198x_power_eapd_write(struct hda_codec *codec, hda_nid_t front, in ad198x_power_eapd_write() 76 hda_nid_t hp) in ad198x_power_eapd_write() 382 static const hda_nid_t preferred_pairs[] = { in patch_ad1986a() 472 hda_nid_t dig_out = spec->gen.multiout.dig_out_nid; in ad1983_auto_smux_enum_put() 496 hda_nid_t dig_out = spec->gen.multiout.dig_out_nid; in ad1983_add_spdif_mux_ctl() 512 static const hda_nid_t conn_0c[] = { 0x08 }; in patch_ad1983() 513 static const hda_nid_t conn_0d[] = { 0x09 }; in patch_ad1983()
|
| H A D | patch_cirrus.c | 36 hda_nid_t vendor_nid; 178 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin() 704 hda_nid_t pin = spec->gen.autocfg.dig_out_pins[0]; in cs4208_spdif_sw_put() 759 static void cs4208_fix_amp_caps(struct hda_codec *codec, hda_nid_t adc) in cs4208_fix_amp_caps() 1028 hda_nid_t spdif_pin = spec->gen.autocfg.dig_out_pins[0]; in cs4210_spdif_automute() 1053 hda_nid_t nid = cfg->dig_out_pins[i]; in parse_cs421x_digital() 1091 static void fix_volume_caps(struct hda_codec *codec, hda_nid_t dac) in fix_volume_caps() 1106 hda_nid_t dac = CS4210_DAC_NID; in cs421x_parse_auto_config()
|
| H A D | patch_via.c | 259 static int set_beep_amp(struct via_spec *spec, hda_nid_t nid, in set_beep_amp() 280 hda_nid_t nid; in auto_parse_beep() 403 static int via_check_power_status(struct hda_codec *codec, hda_nid_t nid) in via_check_power_status() 433 static void vt1708_set_pinconfig_connect(struct hda_codec *codec, hda_nid_t nid) in vt1708_set_pinconfig_connect() 697 static void override_mic_boost(struct hda_codec *codec, hda_nid_t pin, in override_mic_boost() 809 hda_nid_t conn[8]; in add_secret_dac_path() 810 hda_nid_t nid; in add_secret_dac_path() 1051 static const hda_nid_t conn_24[] = { 0x14, 0x1c }; in fix_vt1802_connections() 1052 static const hda_nid_t conn_33[] = { 0x1c }; in fix_vt1802_connections()
|
| H A D | patch_ca0132.c | 178 hda_nid_t nid; 310 hda_nid_t nid; 422 hda_nid_t nid; 518 hda_nid_t nid; 713 hda_nid_t vnid; 1079 hda_nid_t dig_out; 1080 hda_nid_t dig_in; 4378 hda_nid_t pnid, hda_nid_t nid, in add_tuning_control() 5285 hda_nid_t nid; in ca0132_is_vnode_effective() 5424 hda_nid_t nid; in ca0132_pe_switch_set() [all …]
|
| /linux-6.15/include/sound/ |
| H A D | hda_codec.h | 271 struct hda_codec *codec, hda_nid_t nid); 323 snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read() 342 hda_nid_t *conn_list, int max_conns); 355 const hda_nid_t **listp); 357 const hda_nid_t *list); 359 hda_nid_t nid, int recursive); 367 hda_nid_t nid; 385 hda_nid_t nid; 395 hda_nid_t nid, unsigned int cfg); /* for hwdep */ 400 hda_nid_t nid; /* Converter nid values relate to */ [all …]
|
| H A D | hda_regmap.h | 79 snd_hdac_regmap_write(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_write() 97 snd_hdac_regmap_update(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update() 115 snd_hdac_regmap_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_read() 136 snd_hdac_regmap_get_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp() 160 snd_hdac_regmap_update_amp(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp() 181 snd_hdac_regmap_get_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_get_amp_stereo() 205 snd_hdac_regmap_update_amp_stereo(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_regmap_update_amp_stereo() 219 snd_hdac_regmap_sync_node(struct hdac_device *codec, hda_nid_t nid) in snd_hdac_regmap_sync_node()
|
| H A D | hdaudio.h | 24 typedef u16 hda_nid_t; typedef 59 hda_nid_t afg; /* AFG node id */ 60 hda_nid_t mfg; /* MFG node id */ 82 hda_nid_t start_nid, end_nid; 131 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, 140 hda_nid_t *conn_list, int max_conns); 142 hda_nid_t *start_id); 154 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, 156 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, 159 hda_nid_t nid, unsigned int target_state); [all …]
|
| H A D | hda_component.h | 17 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, 19 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, 38 hda_nid_t nid, int dev_id, int rate) in snd_hdac_sync_audio_rate() 42 static inline int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_acomp_get_eld()
|
| H A D | hda_chmap.h | 50 hda_nid_t pin_nid, int asp_slot); 52 hda_nid_t pin_nid, int asp_slot, int channel); 54 hda_nid_t cvt_nid, int chs); 70 hda_nid_t pin_nid, bool non_pcm, int ca,
|
| /linux-6.15/sound/hda/ |
| H A D | hdac_sysfs.c | 89 ssize_t (*show)(struct hdac_device *codec, hda_nid_t nid, 91 ssize_t (*store)(struct hdac_device *codec, hda_nid_t nid, 161 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show() 176 static ssize_t pin_cfg_show(struct hdac_device *codec, hda_nid_t nid, in pin_cfg_show() 188 static bool has_pcm_cap(struct hdac_device *codec, hda_nid_t nid) in has_pcm_cap() 256 hda_nid_t list[32]; in connections_show() 338 static int add_widget_node(struct kobject *parent, hda_nid_t nid, in add_widget_node() 367 hda_nid_t nid; in widget_tree_create() 425 hda_nid_t start_nid, int num_nodes) in hda_widget_sysfs_reinit() 428 hda_nid_t end_nid = start_nid + num_nodes; in hda_widget_sysfs_reinit() [all …]
|
| H A D | hdac_device.c | 45 hda_nid_t fg; in snd_hdac_device_init() 276 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() 358 hda_nid_t *start_id) in snd_hdac_get_sub_nodes() 378 hda_nid_t nid; in setup_fg_nodes() 407 hda_nid_t start_nid; in snd_hdac_refresh_widgets() 466 hda_nid_t *conn_list, int max_conns) in snd_hdac_get_connections() 471 hda_nid_t prev_nid; in snd_hdac_get_connections() 509 hda_nid_t val, n; in snd_hdac_get_connections() 1070 static int codec_write(struct hdac_device *hdac, hda_nid_t nid, in codec_write() 1127 hda_nid_t nid, unsigned int target_state) in snd_hdac_check_power_state() [all …]
|
| H A D | hdmi_chmap.c | 183 hda_nid_t pin_nid, int asp_slot, int channel) in hdmi_pin_set_slot_channel() 191 hda_nid_t pin_nid, int asp_slot) in hdmi_pin_get_slot_channel() 198 static int hdmi_get_channel_count(struct hdac_device *codec, hda_nid_t cvt_nid) in hdmi_get_channel_count() 205 hda_nid_t cvt_nid, int chs) in hdmi_set_channel_count() 324 hda_nid_t pin_nid) in hdmi_debug_channel_mapping() 340 hda_nid_t pin_nid, in hdmi_std_setup_channel_mapping() 506 hda_nid_t pin_nid, in hdmi_manual_setup_channel_mapping() 551 hda_nid_t pin_nid, bool non_pcm, int ca, in snd_hdac_setup_channel_mapping()
|