Lines Matching refs:hda_nid_t

103 	hda_nid_t nid;
104 hda_nid_t conns[0];
109 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list()
119 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list()
120 const hda_nid_t *list) in add_conn_list()
124 p = kmalloc(sizeof(*p) + len * sizeof(hda_nid_t), GFP_KERNEL); in add_conn_list()
129 memcpy(p->conns, list, len * sizeof(hda_nid_t)); in add_conn_list()
145 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) in read_and_add_raw_conns()
147 hda_nid_t list[32]; in read_and_add_raw_conns()
148 hda_nid_t *result = list; in read_and_add_raw_conns()
154 result = kmalloc_array(len, sizeof(hda_nid_t), GFP_KERNEL); in read_and_add_raw_conns()
181 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_conn_list()
182 const hda_nid_t **listp) in snd_hda_get_conn_list()
220 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_connections()
221 hda_nid_t *conn_list, int max_conns) in snd_hda_get_connections()
223 const hda_nid_t *list; in snd_hda_get_connections()
232 memcpy(conn_list, list, len * sizeof(hda_nid_t)); in snd_hda_get_connections()
251 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in snd_hda_override_conn_list()
252 const hda_nid_t *list) in snd_hda_override_conn_list()
277 int snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, in snd_hda_get_conn_index()
278 hda_nid_t nid, int recursive) in snd_hda_get_conn_index()
280 const hda_nid_t *conn; in snd_hda_get_conn_index()
313 unsigned int snd_hda_get_num_devices(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_num_devices()
339 int snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_devices()
378 int snd_hda_get_dev_select(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_dev_select()
396 int snd_hda_set_dev_select(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_set_dev_select()
429 static int read_widget_caps(struct hda_codec *codec, hda_nid_t fg_node) in read_widget_caps()
432 hda_nid_t nid; in read_widget_caps()
447 hda_nid_t nid; in read_pin_defaults()
475 hda_nid_t nid) in look_up_pincfg()
491 hda_nid_t nid, unsigned int cfg) in snd_hda_add_pincfg()
526 hda_nid_t nid, unsigned int cfg) in snd_hda_codec_set_pincfg()
541 unsigned int snd_hda_codec_get_pincfg(struct hda_codec *codec, hda_nid_t nid) in snd_hda_codec_get_pincfg()
577 int snd_hda_codec_set_pin_target(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_set_pin_target()
595 int snd_hda_codec_get_pin_target(struct hda_codec *codec, hda_nid_t nid) in snd_hda_codec_get_pin_target()
681 hda_nid_t nid;
691 get_hda_cvt_setup(struct hda_codec *codec, hda_nid_t nid) in get_hda_cvt_setup()
912 hda_nid_t fg; in snd_hda_codec_device_new()
1004 hda_nid_t fg; in snd_hda_codec_update_widgets()
1029 struct hda_cvt_setup *p, hda_nid_t nid, in update_pcm_stream_id()
1048 hda_nid_t nid, int format) in update_pcm_format()
1073 void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_setup_stream()
1124 void __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid, in __snd_hda_codec_cleanup_stream()
1153 hda_nid_t nid = q->nid; in really_cleanup_stream()
1210 u32 query_amp_caps(struct hda_codec *codec, hda_nid_t nid, int direction) in query_amp_caps()
1229 bool snd_hda_check_amp_caps(struct hda_codec *codec, hda_nid_t nid, in snd_hda_check_amp_caps()
1254 int snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, in snd_hda_override_amp_caps()
1278 int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_amp_update()
1303 int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_amp_stereo()
1331 int snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch, in snd_hda_codec_amp_init()
1358 int snd_hda_codec_amp_init_stereo(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_amp_init_stereo()
1372 static u32 get_amp_max_value(struct hda_codec *codec, hda_nid_t nid, int dir, in get_amp_max_value()
1416 read_amp_value(struct hda_codec *codec, hda_nid_t nid, in read_amp_value()
1430 update_amp_value(struct hda_codec *codec, hda_nid_t nid, in update_amp_value()
1458 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_volume_get()
1485 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_volume_put()
1507 hda_nid_t nid = get_amp_nid(kcontrol); in get_ctl_amp_tlv()
1562 void snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir, in snd_hda_set_vmaster_tlv()
1639 int snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid, in snd_hda_ctl_add()
1680 unsigned int index, hda_nid_t nid) in snd_hda_add_nid()
2113 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_switch_get()
2141 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_switch_put()
2270 static void set_dig_out(struct hda_codec *codec, hda_nid_t nid, in set_dig_out()
2273 const hda_nid_t *d; in set_dig_out()
2285 static inline void set_dig_out_convert(struct hda_codec *codec, hda_nid_t nid, in set_dig_out_convert()
2308 hda_nid_t nid; in snd_hda_spdif_default_put()
2349 static inline void set_spdif_ctls(struct hda_codec *codec, hda_nid_t nid, in set_spdif_ctls()
2366 hda_nid_t nid; in snd_hda_spdif_out_switch_put()
2430 hda_nid_t associated_nid, in snd_hda_create_dig_out_ctls()
2431 hda_nid_t cvt_nid, in snd_hda_create_dig_out_ctls()
2495 hda_nid_t nid) in snd_hda_spdif_out_of_nid()
2536 void snd_hda_spdif_ctls_assign(struct hda_codec *codec, int idx, hda_nid_t nid) in snd_hda_spdif_ctls_assign()
2621 hda_nid_t nid = kcontrol->private_value; in snd_hda_spdif_in_switch_put()
2640 hda_nid_t nid = kcontrol->private_value; in snd_hda_spdif_in_status_get()
2682 int snd_hda_create_spdif_in_ctls(struct hda_codec *codec, hda_nid_t nid) in snd_hda_create_spdif_in_ctls()
2721 void snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg, in snd_hda_codec_set_power_to_all()
2724 hda_nid_t nid; in snd_hda_codec_set_power_to_all()
2752 hda_nid_t nid, in snd_hda_codec_eapd_power_filter()
2775 hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in hda_set_power_state()
2817 hda_nid_t nid; in sync_power_up_states()
3363 hda_nid_t nid) in snd_hda_check_amp_list_power()
3437 hda_nid_t nid, in snd_hda_input_mux_put()
3489 static void setup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid, in setup_dig_out_stream()
3517 const hda_nid_t *d; in setup_dig_out_stream()
3528 static void cleanup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid) in cleanup_dig_out_stream()
3532 const hda_nid_t *d; in cleanup_dig_out_stream()
3678 const hda_nid_t *nids = mout->dac_nids; in snd_hda_multi_out_analog_prepare()
3751 const hda_nid_t *nids = mout->dac_nids; in snd_hda_multi_out_analog_cleanup()
3784 unsigned int snd_hda_get_default_vref(struct hda_codec *codec, hda_nid_t pin) in snd_hda_get_default_vref()
3812 hda_nid_t pin, unsigned int val) in snd_hda_correct_pin_ctl()
3874 int _snd_hda_set_pin_ctl(struct hda_codec *codec, hda_nid_t pin, in _snd_hda_set_pin_ctl()