Lines Matching refs:hda_nid_t
112 hda_nid_t nid;
113 hda_nid_t conns[0];
118 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list()
128 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list()
129 const hda_nid_t *list) in add_conn_list()
133 p = kmalloc(sizeof(*p) + len * sizeof(hda_nid_t), GFP_KERNEL); in add_conn_list()
138 memcpy(p->conns, list, len * sizeof(hda_nid_t)); in add_conn_list()
154 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) in read_and_add_raw_conns()
156 hda_nid_t list[32]; in read_and_add_raw_conns()
157 hda_nid_t *result = list; in read_and_add_raw_conns()
163 result = kmalloc(sizeof(hda_nid_t) * len, GFP_KERNEL); in read_and_add_raw_conns()
190 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_conn_list()
191 const hda_nid_t **listp) in snd_hda_get_conn_list()
229 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_connections()
230 hda_nid_t *conn_list, int max_conns) in snd_hda_get_connections()
232 const hda_nid_t *list; in snd_hda_get_connections()
241 memcpy(conn_list, list, len * sizeof(hda_nid_t)); in snd_hda_get_connections()
260 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in snd_hda_override_conn_list()
261 const hda_nid_t *list) in snd_hda_override_conn_list()
286 int snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, in snd_hda_get_conn_index()
287 hda_nid_t nid, int recursive) in snd_hda_get_conn_index()
289 const hda_nid_t *conn; in snd_hda_get_conn_index()
316 static unsigned int get_num_devices(struct hda_codec *codec, hda_nid_t nid) in get_num_devices()
341 int snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_devices()
374 static int read_widget_caps(struct hda_codec *codec, hda_nid_t fg_node) in read_widget_caps()
377 hda_nid_t nid; in read_widget_caps()
392 hda_nid_t nid; in read_pin_defaults()
416 hda_nid_t nid) in look_up_pincfg()
431 hda_nid_t nid, unsigned int cfg) in snd_hda_add_pincfg()
466 hda_nid_t nid, unsigned int cfg) in snd_hda_codec_set_pincfg()
481 unsigned int snd_hda_codec_get_pincfg(struct hda_codec *codec, hda_nid_t nid) in snd_hda_codec_get_pincfg()
517 int snd_hda_codec_set_pin_target(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_set_pin_target()
535 int snd_hda_codec_get_pin_target(struct hda_codec *codec, hda_nid_t nid) in snd_hda_codec_get_pin_target()
619 hda_nid_t nid;
629 get_hda_cvt_setup(struct hda_codec *codec, hda_nid_t nid) in get_hda_cvt_setup()
806 hda_nid_t fg; in snd_hda_codec_new()
911 hda_nid_t fg; in snd_hda_codec_update_widgets()
936 struct hda_cvt_setup *p, hda_nid_t nid, in update_pcm_stream_id()
955 hda_nid_t nid, int format) in update_pcm_format()
980 void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_setup_stream()
1032 void __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid, in __snd_hda_codec_cleanup_stream()
1061 hda_nid_t nid = q->nid; in really_cleanup_stream()
1119 u32 query_amp_caps(struct hda_codec *codec, hda_nid_t nid, int direction) in query_amp_caps()
1138 bool snd_hda_check_amp_caps(struct hda_codec *codec, hda_nid_t nid, in snd_hda_check_amp_caps()
1163 int snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, in snd_hda_override_amp_caps()
1187 int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_amp_update()
1212 int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_amp_stereo()
1240 int snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch, in snd_hda_codec_amp_init()
1267 int snd_hda_codec_amp_init_stereo(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_amp_init_stereo()
1281 static u32 get_amp_max_value(struct hda_codec *codec, hda_nid_t nid, int dir, in get_amp_max_value()
1325 read_amp_value(struct hda_codec *codec, hda_nid_t nid, in read_amp_value()
1339 update_amp_value(struct hda_codec *codec, hda_nid_t nid, in update_amp_value()
1367 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_volume_get()
1394 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_volume_put()
1426 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_tlv()
1465 void snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir, in snd_hda_set_vmaster_tlv()
1542 int snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid, in snd_hda_ctl_add()
1583 unsigned int index, hda_nid_t nid) in snd_hda_add_nid()
2002 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_switch_get()
2030 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_switch_put()
2347 static void set_dig_out(struct hda_codec *codec, hda_nid_t nid, in set_dig_out()
2350 const hda_nid_t *d; in set_dig_out()
2362 static inline void set_dig_out_convert(struct hda_codec *codec, hda_nid_t nid, in set_dig_out_convert()
2385 hda_nid_t nid; in snd_hda_spdif_default_put()
2422 static inline void set_spdif_ctls(struct hda_codec *codec, hda_nid_t nid, in set_spdif_ctls()
2439 hda_nid_t nid; in snd_hda_spdif_out_switch_put()
2501 hda_nid_t associated_nid, in snd_hda_create_dig_out_ctls()
2502 hda_nid_t cvt_nid, in snd_hda_create_dig_out_ctls()
2566 hda_nid_t nid) in snd_hda_spdif_out_of_nid()
2605 void snd_hda_spdif_ctls_assign(struct hda_codec *codec, int idx, hda_nid_t nid) in snd_hda_spdif_ctls_assign()
2688 hda_nid_t nid = kcontrol->private_value; in snd_hda_spdif_in_switch_put()
2707 hda_nid_t nid = kcontrol->private_value; in snd_hda_spdif_in_status_get()
2749 int snd_hda_create_spdif_in_ctls(struct hda_codec *codec, hda_nid_t nid) in snd_hda_create_spdif_in_ctls()
2788 void snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg, in snd_hda_codec_set_power_to_all()
2791 hda_nid_t nid; in snd_hda_codec_set_power_to_all()
2813 hda_nid_t fg, in hda_sync_power_state()
2845 hda_nid_t nid, in snd_hda_codec_eapd_power_filter()
2868 hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in hda_set_power_state()
2910 hda_nid_t nid; in sync_power_up_states()
3453 hda_nid_t nid) in snd_hda_check_amp_list_power()
3527 hda_nid_t nid, in snd_hda_input_mux_put()
3579 static void setup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid, in setup_dig_out_stream()
3601 const hda_nid_t *d; in setup_dig_out_stream()
3612 static void cleanup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid) in cleanup_dig_out_stream()
3616 const hda_nid_t *d; in cleanup_dig_out_stream()
3762 const hda_nid_t *nids = mout->dac_nids; in snd_hda_multi_out_analog_prepare()
3835 const hda_nid_t *nids = mout->dac_nids; in snd_hda_multi_out_analog_cleanup()
3868 unsigned int snd_hda_get_default_vref(struct hda_codec *codec, hda_nid_t pin) in snd_hda_get_default_vref()
3896 hda_nid_t pin, unsigned int val) in snd_hda_correct_pin_ctl()
3958 int _snd_hda_set_pin_ctl(struct hda_codec *codec, hda_nid_t pin, in _snd_hda_set_pin_ctl()