Home
last modified time | relevance | path

Searched defs:nid (Results 1 – 25 of 27) sorted by relevance

12

/sound/pci/hda/
Dhda_proc.c68 struct hda_codec *codec, hda_nid_t nid, in print_nid_array()
95 struct hda_codec *codec, hda_nid_t nid) in print_nid_pcms()
114 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps()
133 struct hda_codec *codec, hda_nid_t nid, in print_amp_vals()
196 struct hda_codec *codec, hda_nid_t nid) in print_pcm_caps()
240 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps()
334 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls()
372 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob()
385 struct hda_codec *codec, hda_nid_t nid, in print_audio_io()
403 struct hda_codec *codec, hda_nid_t nid) in print_digital_conv()
[all …]
Dhda_codec.c188 make_codec_cmd(struct hda_codec *codec, hda_nid_t nid, int direct, in make_codec_cmd()
266 unsigned int snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read()
290 int snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int direct, in snd_hda_codec_write()
324 int snd_hda_get_sub_nodes(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_sub_nodes()
341 hda_nid_t nid; member
347 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list()
357 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list()
383 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) in read_and_add_raw_conns()
420 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_conn_list()
459 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_connections()
[all …]
Dhda_jack.c23 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable()
40 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid) in read_pin_sense()
62 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get()
98 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_new()
185 u32 snd_hda_pin_sense(struct hda_codec *codec, hda_nid_t nid) in snd_hda_pin_sense()
203 int snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect()
213 int snd_hda_jack_detect_enable_callback(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback()
235 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable()
298 static int get_input_jack_type(struct hda_codec *codec, hda_nid_t nid) in get_input_jack_type()
331 static int __snd_hda_jack_add_kctl(struct hda_codec *codec, hda_nid_t nid, in __snd_hda_jack_add_kctl()
[all …]
Dhda_auto_parser.c26 static int is_in_nid_list(hda_nid_t nid, const hda_nid_t *list) in is_in_nid_list()
62 static void add_auto_cfg_input_pin(struct auto_pin_cfg *cfg, hda_nid_t nid, in add_auto_cfg_input_pin()
88 hda_nid_t nid; in reorder_outputs() local
170 hda_nid_t nid, end_nid; in snd_hda_parse_pin_defcfg() local
553 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list()
563 static const char *check_output_sfx(hda_nid_t nid, const hda_nid_t *pins, in check_output_sfx()
584 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx()
599 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index()
616 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name()
666 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_pin_label()
Dhda_local.h39 #define HDA_COMPOSE_AMP_VAL_OFS(nid,chs,idx,dir,ofs) \ argument
42 #define HDA_COMPOSE_AMP_VAL(nid,chs,idx,dir) \ argument
45 #define HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, channel, xindex, dir, flags) \ argument
57 #define HDA_CODEC_VOLUME_IDX(xname, xcidx, nid, xindex, direction) \ argument
60 #define HDA_CODEC_VOLUME_MONO(xname, nid, channel, xindex, direction) \ argument
63 #define HDA_CODEC_VOLUME(xname, nid, xindex, direction) \ argument
66 #define HDA_CODEC_VOLUME_MIN_MUTE(xname, nid, xindex, direction) \ argument
70 #define HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, channel, xindex, direction) \ argument
78 #define HDA_CODEC_MUTE_IDX(xname, xcidx, nid, xindex, direction) \ argument
81 #define HDA_CODEC_MUTE_MONO(xname, nid, channel, xindex, direction) \ argument
[all …]
Dhda_generic.c218 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list()
228 static bool is_nid_contained(struct nid_path *path, hda_nid_t nid) in is_nid_contained()
295 static bool is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) in is_dac_already_used()
336 static bool is_ctl_associated(struct hda_codec *codec, hda_nid_t nid, in is_ctl_associated()
480 hda_nid_t nid = spec->all_dacs[i]; in look_for_dac() local
501 static bool check_amp_caps(struct hda_codec *codec, hda_nid_t nid, in check_amp_caps()
521 #define nid_has_mute(codec, nid, dir) \ argument
523 #define nid_has_volume(codec, nid, dir) \ argument
562 hda_nid_t nid = path->path[idx]; in has_amp_in() local
576 hda_nid_t nid = path->path[idx]; in has_amp_out() local
[all …]
Dhda_beep.h36 hda_nid_t nid; member
49 static inline int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device()
Dpatch_ca0132.c143 hda_nid_t nid; member
275 hda_nid_t nid; member
387 hda_nid_t nid; member
762 unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command()
772 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format()
780 hda_nid_t nid, unsigned char stream, in codec_set_converter_stream_channel()
2667 static void ca0132_setup_stream(struct hda_codec *codec, hda_nid_t nid, in ca0132_setup_stream()
2701 static void ca0132_cleanup_stream(struct hda_codec *codec, hda_nid_t nid) in ca0132_cleanup_stream()
2870 #define CA0132_CODEC_VOL_MONO(xname, nid, channel, dir) \ argument
2883 #define CA0132_CODEC_MUTE_MONO(xname, nid, channel, dir) \ argument
[all …]
Dpatch_via.c245 static void update_power_state(struct hda_codec *codec, hda_nid_t nid, in update_power_state()
253 static void update_conv_power_state(struct hda_codec *codec, hda_nid_t nid, in update_conv_power_state()
292 static void set_pin_power_state(struct hda_codec *codec, hda_nid_t nid, in set_pin_power_state()
497 static int via_check_power_status(struct hda_codec *codec, hda_nid_t nid) in via_check_power_status()
530 static void vt1708_set_pinconfig_connect(struct hda_codec *codec, hda_nid_t nid) in vt1708_set_pinconfig_connect()
1124 hda_nid_t nid; in add_secret_dac_path() local
Dhda_eld.c147 static unsigned int hdmi_get_eld_data(struct hda_codec *codec, hda_nid_t nid, in hdmi_get_eld_data()
313 int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid) in snd_hdmi_get_eld_size()
319 int snd_hdmi_get_eld(struct hda_codec *codec, hda_nid_t nid, in snd_hdmi_get_eld()
Dpatch_realtek.c184 static void alc_fix_pll_init(struct hda_codec *codec, hda_nid_t nid, in alc_fix_pll_init()
253 static void set_eapd(struct hda_codec *codec, hda_nid_t nid, int on) in set_eapd()
366 unsigned nid = 0; in alc_auto_parse_customize_define() local
429 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list()
438 static bool found_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in found_in_nid_list()
457 unsigned nid; in alc_subsystem_id() local
542 hda_nid_t nid; in alc_subsystem_id() local
622 hda_nid_t nid; in alc_inv_dmic_sync_adc() local
730 static int alc_add_inv_dmic_mixer(struct hda_codec *codec, hda_nid_t nid) in alc_add_inv_dmic_mixer()
935 #define set_beep_amp(spec, nid, idx, dir) \ argument
[all …]
Dpatch_sigmatel.c347 hda_nid_t nid, unsigned int new_vref) in stac_vrefout_set()
426 static void stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, in stac_toggle_power_map()
475 hda_nid_t nid = spec->pwr_nids[i]; in jack_update_power() local
531 hda_nid_t nid = spec->pwr_nids[i]; in stac_init_power_map() local
846 hda_nid_t nid) in stac_auto_create_beep_ctls()
3567 hda_nid_t nid = spec->gen.beep_nid; in stac_parse_auto_config() local
3664 struct hda_codec *codec, hda_nid_t nid) in stac92hd_proc_hook()
3682 struct hda_codec *codec, hda_nid_t nid) in stac92hd7x_proc_hook()
3690 struct hda_codec *codec, hda_nid_t nid) in stac9205_proc_hook()
3697 struct hda_codec *codec, hda_nid_t nid) in stac927x_proc_hook()
Dhda_jack.h21 hda_nid_t nid; member
Dpatch_conexant.c143 static inline void set_beep_amp(struct conexant_spec *spec, hda_nid_t nid, in set_beep_amp()
178 #define set_beep_amp(spec, nid, idx, dir) /* NOP */ argument
578 hda_nid_t nid = kcontrol->private_value & 0xff; in cxt_eapd_put() local
597 #define CXT_EAPD_SWITCH(xname, nid, mask) \ argument
636 #define CXT_PIN_MODE(xname, nid, dir) \ argument
1790 static void cxt5051_init_mic_port(struct hda_codec *codec, hda_nid_t nid, in cxt5051_init_mic_port()
3122 hda_nid_t nid, end_nid; in cx_auto_parse_beep() local
3139 hda_nid_t nid, end_nid; in cx_auto_parse_eapd() local
Dhda_beep.c200 int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device()
Dhda_codec.h770 hda_nid_t nid; /* default NID to query rates/formats/bps, or set up */ member
952 #define snd_hda_param_read(codec, nid, param) \ argument
959 snd_hda_get_num_conns(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_num_conns()
976 hda_nid_t nid; member
1000 hda_nid_t nid; member
1015 hda_nid_t nid; /* Converter nid values relate to */ member
1050 #define snd_hda_codec_cleanup_stream(codec, nid) \ argument
1082 int hda_call_check_power_status(struct hda_codec *codec, hda_nid_t nid) in hda_call_check_power_status()
Dpatch_cirrus.c180 static bool is_active_pin(struct hda_codec *codec, hda_nid_t nid) in is_active_pin()
802 hda_nid_t nid = cfg->dig_out_pins[i]; in parse_cs421x_digital() local
Dhda_hwdep.c364 int nid, verb, param; in parse_init_verbs() local
548 int nid, cfg, err; in parse_user_pin_configs() local
/sound/pci/lola/
Dlola_proc.c30 struct lola *chip, int nid, const char *name) in print_audio_widget()
41 struct lola *chip, int nid, unsigned int ampcap, in print_pin_widget()
62 struct lola *chip, int nid) in print_clock_widget()
102 struct lola *chip, int nid) in print_mixer_widget()
115 int i, nid; in lola_proc_codec_read() local
Dlola.c87 static int corb_send_verb(struct lola *chip, unsigned int nid, in corb_send_verb()
195 int lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_write()
204 int lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_read()
451 int nid, err; in lola_parse_tree() local
Dlola_mixer.c32 int dir, int nid) in lola_init_pin()
96 int i, err, nid; in lola_init_pins() local
115 int lola_init_mixer_widget(struct lola *chip, int nid) in lola_init_mixer_widget()
Dlola_clock.c123 int lola_init_clock_widget(struct lola *chip, int nid) in lola_init_clock_widget()
Dlola.h231 unsigned int nid; member
257 unsigned int nid; member
276 unsigned int nid; member
292 unsigned int nid; /* audio widget NID */ member
491 #define lola_read_param(chip, nid, param, val) \ argument
Dlola_pcm.c642 int idx, int nid, int dir) in lola_init_stream()
696 int i, nid, err; in lola_init_pcm() local
/sound/core/
Dinit.c529 const char *nid) in copy_valid_id_string()
549 const char *nid) in snd_card_set_id_no_lock()
608 void snd_card_set_id(struct snd_card *card, const char *nid) in snd_card_set_id()

12