Home
last modified time | relevance | path

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

12

/sound/hda/
Dhdac_sysfs.c99 int nid; in get_codec_nid() local
115 int nid; in widget_attr_show() local
131 int nid; in widget_attr_store() local
161 static ssize_t caps_show(struct hdac_device *codec, hda_nid_t nid, in caps_show()
167 static ssize_t pin_caps_show(struct hdac_device *codec, hda_nid_t nid, in pin_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()
201 static ssize_t pcm_caps_show(struct hdac_device *codec, hda_nid_t nid, in pcm_caps_show()
210 static ssize_t pcm_formats_show(struct hdac_device *codec, hda_nid_t nid, in pcm_formats_show()
219 static ssize_t amp_in_caps_show(struct hdac_device *codec, hda_nid_t nid, in amp_in_caps_show()
[all …]
Dhdac_device.c224 static unsigned int snd_hdac_make_cmd(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_make_cmd()
275 int snd_hdac_read(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read()
293 int _snd_hdac_read_parm(struct hdac_device *codec, hda_nid_t nid, int parm, in _snd_hdac_read_parm()
312 int snd_hdac_read_parm_uncached(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_read_parm_uncached()
331 int snd_hdac_override_parm(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_override_parm()
356 int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_sub_nodes()
377 hda_nid_t nid; in setup_fg_nodes() local
436 static unsigned int get_num_conns(struct hdac_device *codec, hda_nid_t nid) in get_num_conns()
464 int snd_hdac_get_connections(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_get_connections()
788 static unsigned int query_pcm_param(struct hdac_device *codec, hda_nid_t nid) in query_pcm_param()
[all …]
Dhdac_component.c121 int snd_hdac_sync_audio_rate(struct hdac_device *codec, hda_nid_t nid, in snd_hdac_sync_audio_rate()
162 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, in snd_hdac_acomp_get_eld()
Dlocal.h9 #define get_wcaps(codec, nid) \ argument
/sound/pci/hda/
Dhda_proc.c22 #define param_read(codec, nid, parm) \ argument
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()
94 struct hda_codec *codec, hda_nid_t nid, int dir) in print_amp_caps()
112 static bool is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, 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()
305 struct hda_codec *codec, hda_nid_t nid, in print_pin_caps()
401 struct hda_codec *codec, hda_nid_t nid, in print_pin_ctls()
439 struct hda_codec *codec, hda_nid_t nid) in print_vol_knob()
[all …]
Dhda_codec.c90 hda_nid_t nid; member
96 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list()
106 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list()
132 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) in read_and_add_raw_conns()
168 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_conn_list()
207 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_connections()
238 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in snd_hda_override_conn_list()
265 hda_nid_t nid, int recursive) in snd_hda_get_conn_index()
300 unsigned int snd_hda_get_num_devices(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_num_devices()
326 int snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_devices()
[all …]
Dhda_jack.h21 hda_nid_t nid; member
31 hda_nid_t nid; member
63 snd_hda_jack_tbl_get(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_tbl_get()
95 snd_hda_jack_detect_enable_callback(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback()
130 snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect_state()
142 snd_hda_jack_detect_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_detect_mst()
154 snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) in snd_hda_jack_detect()
178 snd_hda_jack_add_kctl(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_add_kctl()
Dhda_jack.c29 bool is_jack_detectable(struct hda_codec *codec, hda_nid_t nid) in is_jack_detectable()
46 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in read_pin_sense()
71 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_get_mst()
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()
253 u32 snd_hda_jack_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_pin_sense()
275 hda_nid_t nid, int dev_id) in snd_hda_jack_detect_state_mst()
318 snd_hda_jack_detect_enable_callback_mst(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable_callback_mst()
365 int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid, in snd_hda_jack_detect_enable()
502 static int get_input_jack_type(struct hda_codec *codec, hda_nid_t nid) in get_input_jack_type()
[all …]
Dhda_local.h26 #define HDA_COMPOSE_AMP_VAL_OFS(nid,chs,idx,dir,ofs) \ argument
29 #define HDA_COMPOSE_AMP_VAL(nid,chs,idx,dir) \ argument
32 #define HDA_CODEC_VOLUME_MONO_IDX(xname, xcidx, nid, channel, xindex, dir, flags) \ argument
44 #define HDA_CODEC_VOLUME_IDX(xname, xcidx, nid, xindex, direction) \ argument
47 #define HDA_CODEC_VOLUME_MONO(xname, nid, channel, xindex, direction) \ argument
50 #define HDA_CODEC_VOLUME(xname, nid, xindex, direction) \ argument
53 #define HDA_CODEC_VOLUME_MIN_MUTE(xname, nid, xindex, direction) \ argument
57 #define HDA_CODEC_MUTE_MONO_IDX(xname, xcidx, nid, channel, xindex, direction) \ argument
65 #define HDA_CODEC_MUTE_IDX(xname, xcidx, nid, xindex, direction) \ argument
68 #define HDA_CODEC_MUTE_MONO(xname, nid, channel, xindex, direction) \ argument
[all …]
Dhda_auto_parser.c20 static int is_in_nid_list(hda_nid_t nid, const hda_nid_t *list) in is_in_nid_list()
57 hda_nid_t nid, int type) in add_auto_cfg_input_pin()
95 hda_nid_t nid; in reorder_outputs() local
177 hda_nid_t nid; in snd_hda_parse_pin_defcfg() local
593 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list()
603 static const char *check_output_sfx(hda_nid_t nid, const hda_nid_t *pins, in check_output_sfx()
624 static const char *check_output_pfx(struct hda_codec *codec, hda_nid_t nid) in check_output_pfx()
639 static int get_hp_label_index(struct hda_codec *codec, hda_nid_t nid, in get_hp_label_index()
656 static int fill_audio_out_name(struct hda_codec *codec, hda_nid_t nid, in fill_audio_out_name()
712 int snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_pin_label()
[all …]
Dhda_generic.c241 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list()
251 static bool is_nid_contained(struct nid_path *path, hda_nid_t nid) in is_nid_contained()
319 static bool is_dac_already_used(struct hda_codec *codec, hda_nid_t nid) in is_dac_already_used()
360 static bool is_ctl_associated(struct hda_codec *codec, hda_nid_t nid, in is_ctl_associated()
535 hda_nid_t nid = spec->all_dacs[i]; in look_for_dac() local
588 hda_nid_t nid = path->path[i]; in look_for_out_vol_nid() local
604 hda_nid_t nid = path->path[idx]; in has_amp_in() local
618 hda_nid_t nid = path->path[idx]; in has_amp_out() local
630 static bool is_active_nid(struct hda_codec *codec, hda_nid_t nid, in is_active_nid()
665 #define is_active_nid_for_any(codec, nid) \ argument
[all …]
Dhda_beep.h23 hda_nid_t nid; member
39 static inline int snd_hda_attach_beep_device(struct hda_codec *codec, int nid) in snd_hda_attach_beep_device()
Dhda_eld.c122 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()
632 int snd_hdmi_get_eld_ati(struct hda_codec *codec, hda_nid_t nid, in snd_hdmi_get_eld_ati()
Dpatch_ca0132.c178 hda_nid_t nid; member
310 hda_nid_t nid; member
422 hda_nid_t nid; member
518 hda_nid_t nid; member
1515 static unsigned int codec_send_command(struct hda_codec *codec, hda_nid_t nid, in codec_send_command()
1525 static int codec_set_converter_format(struct hda_codec *codec, hda_nid_t nid, in codec_set_converter_format()
1533 hda_nid_t nid, unsigned char stream, in codec_set_converter_stream_channel()
4038 #define CA0132_CODEC_VOL_MONO(xname, nid, channel, dir) \ argument
4056 #define CA0132_ALT_CODEC_VOL_MONO(xname, nid, channel, dir) \ argument
4069 #define CA0132_CODEC_MUTE_MONO(xname, nid, channel, dir) \ argument
[all …]
Dpatch_via.c259 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() local
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()
818 hda_nid_t nid; in add_secret_dac_path() local
Dpatch_sigmatel.c339 hda_nid_t nid, unsigned int new_vref) in stac_vrefout_set()
364 hda_nid_t nid, in stac_vref_led_power_filter()
434 static void stac_toggle_power_map(struct hda_codec *codec, hda_nid_t nid, in stac_toggle_power_map()
483 hda_nid_t nid = spec->pwr_nids[i]; in jack_update_power() local
517 hda_nid_t nid = spec->pwr_nids[i]; in stac_init_power_map() local
830 hda_nid_t nid) in stac_auto_create_beep_ctls()
4315 hda_nid_t nid = spec->gen.beep_nid; in stac_parse_auto_config() local
4400 struct hda_codec *codec, hda_nid_t nid) in stac92hd_proc_hook()
4418 struct hda_codec *codec, hda_nid_t nid) in stac92hd7x_proc_hook()
4426 struct hda_codec *codec, hda_nid_t nid) in stac9205_proc_hook()
[all …]
/sound/pci/lola/
Dlola_proc.c17 struct lola *chip, int nid, const char *name) in print_audio_widget()
28 struct lola *chip, int nid, unsigned int ampcap, in print_pin_widget()
49 struct lola *chip, int nid) in print_clock_widget()
89 struct lola *chip, int nid) in print_mixer_widget()
102 int i, nid; in lola_proc_codec_read() local
Dlola.c73 static int corb_send_verb(struct lola *chip, unsigned int nid, in corb_send_verb()
181 int lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_write()
190 int lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_read()
435 int nid, err; in lola_parse_tree() local
Dlola_mixer.c19 int dir, int nid) in lola_init_pin()
83 int i, err, nid; in lola_init_pins() local
101 int lola_init_mixer_widget(struct lola *chip, int nid) in lola_init_mixer_widget()
/sound/soc/codecs/
Drt715-sdw.c152 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; in rt715_sdw_read() local
274 unsigned int reg2 = 0, reg3, reg4, nid, mask, val2; in rt715_sdw_write() local
374 int hda_to_sdw(unsigned int nid, unsigned int verb, unsigned int payload, in hda_to_sdw()
Drt711.c32 unsigned int nid, unsigned int reg, unsigned int value) in rt711_index_write()
46 unsigned int nid, unsigned int reg, unsigned int *value) in rt711_index_read()
60 static int rt711_index_update_bits(struct regmap *regmap, unsigned int nid, in rt711_index_update_bits()
677 unsigned int reg, val = 0, nid; in rt711_mux_get() local
711 unsigned int val, val2 = 0, change, reg, nid; in rt711_mux_put() local
Drt700-sdw.c90 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; in rt700_sdw_read() local
212 unsigned int reg2 = 0, reg3, reg4, nid, mask, val2; in rt700_sdw_write() local
Drt711-sdw.c94 unsigned int reg2 = 0, reg3 = 0, reg4 = 0, mask, nid, val2; in rt711_sdw_read() local
216 unsigned int reg2 = 0, reg3, reg4, nid, mask, val2; in rt711_sdw_write() local
/sound/virtio/
Dvirtio_pcm.h44 u32 nid; member
88 u32 nid; member
Dvirtio_pcm.c216 struct virtio_pcm *virtsnd_pcm_find(struct virtio_snd *snd, u32 nid) in virtsnd_pcm_find()
236 struct virtio_pcm *virtsnd_pcm_find_or_create(struct virtio_snd *snd, u32 nid) in virtsnd_pcm_find_or_create()

12