/linux-6.3-rc2/sound/pci/hda/ |
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 …]
|
A D | hda_generic.h | 43 hda_nid_t path[MAX_NID_PATH_DEPTH]; 58 hda_nid_t pin; /* pin */ 109 hda_nid_t alt_dac_nid; 123 hda_nid_t cur_adc; 157 hda_nid_t shared_mic_vref_pin; 158 hda_nid_t hp_mic_pin; 163 hda_nid_t all_dacs[16]; 253 const hda_nid_t *preferred_dacs; 259 hda_nid_t beep_nid; 262 hda_nid_t vmaster_nid; [all …]
|
A D | hda_local.h | 165 hda_nid_t associated_nid, 166 hda_nid_t cvt_nid, int type); 210 const hda_nid_t *follower_dig_outs; 272 hda_nid_t nid; 480 hda_nid_t nid, u32 val) in snd_hda_override_wcaps() 540 hda_nid_t nid; 595 hda_nid_t nid; 607 hda_nid_t nid); 618 hda_nid_t nid, in snd_hda_sync_power_state() 624 hda_nid_t nid, [all …]
|
A D | hda_auto_parser.h | 33 hda_nid_t pin; 44 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, 63 hda_nid_t line_out_pins[AUTO_CFG_MAX_OUTS]; 65 hda_nid_t speaker_pins[AUTO_CFG_MAX_OUTS]; 68 hda_nid_t hp_pins[AUTO_CFG_MAX_OUTS]; 72 hda_nid_t dig_out_pins[2]; 73 hda_nid_t dig_in_pin; 74 hda_nid_t mono_out_pin; 87 const hda_nid_t *ignore_nids, 99 static inline const hda_nid_t *auto_cfg_hp_pins(const struct auto_pin_cfg *cfg) in auto_cfg_hp_pins() [all …]
|
A D | hda_codec.c | 90 hda_nid_t nid; 91 hda_nid_t conns[]; 419 hda_nid_t nid; in read_widget_caps() 434 hda_nid_t nid; in read_pin_defaults() 678 hda_nid_t nid; 986 hda_nid_t fg; in snd_hda_codec_device_new() 1065 hda_nid_t fg; in snd_hda_codec_update_widgets() 2319 hda_nid_t nid; in snd_hda_spdif_default_put() 2377 hda_nid_t nid; in snd_hda_spdif_out_switch_put() 2735 hda_nid_t nid; in snd_hda_codec_set_power_to_all() [all …]
|
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() 1283 hda_nid_t nid; in assign_out_path_ctls() 1358 hda_nid_t dac, hda_nid_t pin) in try_dac() 1365 const hda_nid_t *pins, hda_nid_t *dacs, in try_assign_dacs() 1372 hda_nid_t dac; in try_assign_dacs() 1609 const hda_nid_t *pins, hda_nid_t *dacs, int *path_idx) in map_singles() 1965 hda_nid_t nid; in fill_all_dac_nids() [all …]
|
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 …]
|
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 …]
|
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() 170 const hda_nid_t *ignore_nids, in snd_hda_parse_pin_defcfg() 173 hda_nid_t nid; in snd_hda_parse_pin_defcfg() 482 hda_nid_t pin, bool check_location) in hda_get_input_pin_label() 589 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() 599 static const char *check_output_sfx(hda_nid_t nid, const hda_nid_t *pins, in check_output_sfx() 636 const hda_nid_t *pins, int num_pins) in get_hp_label_index() 738 hda_nid_t pin = cfg->dig_out_pins[i]; in snd_hda_get_pin_label() [all …]
|
A D | patch_hdmi.c | 55 hda_nid_t cvt_nid; 69 hda_nid_t pin_nid; 76 hda_nid_t cvt_nid; 189 hda_nid_t vendor_nid; 883 hda_nid_t cvt_nid, hda_nid_t nid) in haswell_verify_D0() 1068 hda_nid_t cvt_nid) in intel_cvt_id_to_mux_idx() 1092 hda_nid_t nid; in intel_not_share_assigned_cvt() 1164 hda_nid_t pin_nid, int dev_id, hda_nid_t cvt_nid) in intel_not_share_assigned_cvt_nid() 1182 hda_nid_t cvt_nid) in pin_cvt_fixup() 1993 hda_nid_t start_nid; in hdmi_parse_codec() [all …]
|
A D | patch_realtek.c | 95 hda_nid_t mute_led_nid; 96 hda_nid_t cap_mute_led_nid; 104 hda_nid_t headset_mic_pin; 127 hda_nid_t pll_nid; 549 const hda_nid_t *p; in alc_auto_setup_eapd() 754 static bool found_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in found_in_nid_list() 857 hda_nid_t nid; in alc_subsystem_id() 3294 hda_nid_t hp_pin; in alc_fixup_headset_jack() 4305 hda_nid_t nid, in led_power_filter() 6080 hda_nid_t nid; in find_ext_mic_pin() [all …]
|
A D | patch_analog.c | 28 hda_nid_t eapd_nid; 76 static void ad198x_power_eapd_write(struct hda_codec *codec, hda_nid_t front, in ad198x_power_eapd_write() 77 hda_nid_t hp) in ad198x_power_eapd_write() 386 static const hda_nid_t preferred_pairs[] = { in patch_ad1986a() 476 hda_nid_t dig_out = spec->gen.multiout.dig_out_nid; in ad1983_auto_smux_enum_put() 500 hda_nid_t dig_out = spec->gen.multiout.dig_out_nid; in ad1983_add_spdif_mux_ctl() 516 static const hda_nid_t conn_0c[] = { 0x08 }; in patch_ad1983() 517 static const hda_nid_t conn_0d[] = { 0x09 }; in patch_ad1983()
|
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()
|
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() 406 static int via_check_power_status(struct hda_codec *codec, hda_nid_t nid) in via_check_power_status() 439 static void vt1708_set_pinconfig_connect(struct hda_codec *codec, hda_nid_t nid) in vt1708_set_pinconfig_connect() 703 static void override_mic_boost(struct hda_codec *codec, hda_nid_t pin, in override_mic_boost() 815 hda_nid_t conn[8]; in add_secret_dac_path() 816 hda_nid_t nid; in add_secret_dac_path() 1057 static const hda_nid_t conn_24[] = { 0x14, 0x1c }; in fix_vt1802_connections() 1058 static const hda_nid_t conn_33[] = { 0x1c }; in fix_vt1802_connections()
|
A D | patch_conexant.c | 29 hda_nid_t eapds[4]; 31 hda_nid_t mute_led_eapd; 56 static int set_beep_amp(struct conexant_spec *spec, hda_nid_t nid, in set_beep_amp() 77 hda_nid_t nid; in cx_auto_parse_beep() 96 hda_nid_t nid; in cx_auto_parse_eapd() 119 const hda_nid_t *pins, bool on) in cx_auto_turn_eapd() 278 hda_nid_t mux_pin = spec->gen.imux_pins[spec->gen.cur_mux[0]]; in cxt_update_headset_mode() 1015 static const hda_nid_t out_nids[] = { in add_cx5051_fake_mutes() 1018 const hda_nid_t *p; in add_cx5051_fake_mutes()
|
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; 4364 hda_nid_t pnid, hda_nid_t nid, in add_tuning_control() 5271 hda_nid_t nid; in ca0132_is_vnode_effective() 5410 hda_nid_t nid; in ca0132_pe_switch_set() [all …]
|
A D | hda_eld.c | 122 static unsigned int hdmi_get_eld_data(struct hda_codec *codec, hda_nid_t nid, in hdmi_get_eld_data() 288 int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid) in snd_hdmi_get_eld_size() 294 int snd_hdmi_get_eld(struct hda_codec *codec, hda_nid_t nid, in snd_hdmi_get_eld() 444 hda_nid_t pin_nid, int dev_id, hda_nid_t cvt_nid) in snd_hdmi_print_eld_info() 636 int snd_hdmi_get_eld_ati(struct hda_codec *codec, hda_nid_t nid, in snd_hdmi_get_eld_ati()
|
/linux-6.3-rc2/include/sound/ |
A D | hda_codec.h | 276 struct hda_codec *codec, hda_nid_t nid); 328 snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read() 347 hda_nid_t *conn_list, int max_conns); 360 const hda_nid_t **listp); 362 const hda_nid_t *list); 364 hda_nid_t nid, int recursive); 372 hda_nid_t nid; 390 hda_nid_t nid; 400 hda_nid_t nid, unsigned int cfg); /* for hwdep */ 405 hda_nid_t nid; /* Converter nid values relate to */ [all …]
|
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()
|
A D | hdaudio.h | 23 typedef u16 hda_nid_t; typedef 58 hda_nid_t afg; /* AFG node id */ 59 hda_nid_t mfg; /* MFG node id */ 81 hda_nid_t start_nid, end_nid; 130 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, 139 hda_nid_t *conn_list, int max_conns); 141 hda_nid_t *start_id); 152 int snd_hdac_codec_read(struct hdac_device *hdac, hda_nid_t nid, 154 int snd_hdac_codec_write(struct hdac_device *hdac, hda_nid_t nid, 157 hda_nid_t nid, unsigned int target_state); [all …]
|
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()
|
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.3-rc2/sound/hda/ |
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 …]
|
A D | hdac_device.c | 44 hda_nid_t fg; in snd_hdac_device_init() 275 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read() 357 hda_nid_t *start_id) in snd_hdac_get_sub_nodes() 377 hda_nid_t nid; in setup_fg_nodes() 406 hda_nid_t start_nid; in snd_hdac_refresh_widgets() 465 hda_nid_t *conn_list, int max_conns) in snd_hdac_get_connections() 470 hda_nid_t prev_nid; in snd_hdac_get_connections() 508 hda_nid_t val, n; in snd_hdac_get_connections() 1000 static int codec_write(struct hdac_device *hdac, hda_nid_t nid, in codec_write() 1057 hda_nid_t nid, unsigned int target_state) in snd_hdac_check_power_state() [all …]
|
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()
|