Lines Matching refs:hda_nid_t
175 unsigned int snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_read()
199 int snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int flags, in snd_hda_codec_write()
226 hda_nid_t nid;
227 hda_nid_t conns[0];
232 lookup_conn_list(struct hda_codec *codec, hda_nid_t nid) in lookup_conn_list()
242 static int add_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in add_conn_list()
243 const hda_nid_t *list) in add_conn_list()
247 p = kmalloc(sizeof(*p) + len * sizeof(hda_nid_t), GFP_KERNEL); in add_conn_list()
252 memcpy(p->conns, list, len * sizeof(hda_nid_t)); in add_conn_list()
268 static int read_and_add_raw_conns(struct hda_codec *codec, hda_nid_t nid) in read_and_add_raw_conns()
270 hda_nid_t list[32]; in read_and_add_raw_conns()
271 hda_nid_t *result = list; in read_and_add_raw_conns()
277 result = kmalloc(sizeof(hda_nid_t) * len, GFP_KERNEL); in read_and_add_raw_conns()
304 int snd_hda_get_conn_list(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_conn_list()
305 const hda_nid_t **listp) in snd_hda_get_conn_list()
343 int snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_connections()
344 hda_nid_t *conn_list, int max_conns) in snd_hda_get_connections()
346 const hda_nid_t *list; in snd_hda_get_connections()
355 memcpy(conn_list, list, len * sizeof(hda_nid_t)); in snd_hda_get_connections()
374 int snd_hda_override_conn_list(struct hda_codec *codec, hda_nid_t nid, int len, in snd_hda_override_conn_list()
375 const hda_nid_t *list) in snd_hda_override_conn_list()
400 int snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, in snd_hda_get_conn_index()
401 hda_nid_t nid, int recursive) in snd_hda_get_conn_index()
403 const hda_nid_t *conn; in snd_hda_get_conn_index()
430 static unsigned int get_num_devices(struct hda_codec *codec, hda_nid_t nid) in get_num_devices()
455 int snd_hda_get_devices(struct hda_codec *codec, hda_nid_t nid, in snd_hda_get_devices()
579 static int read_widget_caps(struct hda_codec *codec, hda_nid_t fg_node) in read_widget_caps()
582 hda_nid_t nid; in read_widget_caps()
597 hda_nid_t nid; in read_pin_defaults()
621 hda_nid_t nid) in look_up_pincfg()
636 hda_nid_t nid, unsigned int cfg) in snd_hda_add_pincfg()
671 hda_nid_t nid, unsigned int cfg) in snd_hda_codec_set_pincfg()
686 unsigned int snd_hda_codec_get_pincfg(struct hda_codec *codec, hda_nid_t nid) in snd_hda_codec_get_pincfg()
722 int snd_hda_codec_set_pin_target(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_set_pin_target()
740 int snd_hda_codec_get_pin_target(struct hda_codec *codec, hda_nid_t nid) in snd_hda_codec_get_pin_target()
824 hda_nid_t nid;
834 get_hda_cvt_setup(struct hda_codec *codec, hda_nid_t nid) in get_hda_cvt_setup()
1009 hda_nid_t fg; in snd_hda_codec_new()
1114 hda_nid_t fg; in snd_hda_codec_update_widgets()
1139 struct hda_cvt_setup *p, hda_nid_t nid, in update_pcm_stream_id()
1158 hda_nid_t nid, int format) in update_pcm_format()
1183 void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_setup_stream()
1235 void __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid, in __snd_hda_codec_cleanup_stream()
1264 hda_nid_t nid = q->nid; in really_cleanup_stream()
1322 u32 query_amp_caps(struct hda_codec *codec, hda_nid_t nid, int direction) in query_amp_caps()
1341 bool snd_hda_check_amp_caps(struct hda_codec *codec, hda_nid_t nid, in snd_hda_check_amp_caps()
1366 int snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, in snd_hda_override_amp_caps()
1390 int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_amp_update()
1415 int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_amp_stereo()
1443 int snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch, in snd_hda_codec_amp_init()
1470 int snd_hda_codec_amp_init_stereo(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_amp_init_stereo()
1484 static u32 get_amp_max_value(struct hda_codec *codec, hda_nid_t nid, int dir, in get_amp_max_value()
1528 read_amp_value(struct hda_codec *codec, hda_nid_t nid, in read_amp_value()
1542 update_amp_value(struct hda_codec *codec, hda_nid_t nid, in update_amp_value()
1570 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_volume_get()
1597 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_volume_put()
1629 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_tlv()
1668 void snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir, in snd_hda_set_vmaster_tlv()
1745 int snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid, in snd_hda_ctl_add()
1786 unsigned int index, hda_nid_t nid) in snd_hda_add_nid()
2205 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_switch_get()
2233 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_switch_put()
2550 static void set_dig_out(struct hda_codec *codec, hda_nid_t nid, in set_dig_out()
2553 const hda_nid_t *d; in set_dig_out()
2565 static inline void set_dig_out_convert(struct hda_codec *codec, hda_nid_t nid, in set_dig_out_convert()
2588 hda_nid_t nid; in snd_hda_spdif_default_put()
2625 static inline void set_spdif_ctls(struct hda_codec *codec, hda_nid_t nid, in set_spdif_ctls()
2642 hda_nid_t nid; in snd_hda_spdif_out_switch_put()
2704 hda_nid_t associated_nid, in snd_hda_create_dig_out_ctls()
2705 hda_nid_t cvt_nid, in snd_hda_create_dig_out_ctls()
2769 hda_nid_t nid) in snd_hda_spdif_out_of_nid()
2808 void snd_hda_spdif_ctls_assign(struct hda_codec *codec, int idx, hda_nid_t nid) in snd_hda_spdif_ctls_assign()
2891 hda_nid_t nid = kcontrol->private_value; in snd_hda_spdif_in_switch_put()
2910 hda_nid_t nid = kcontrol->private_value; in snd_hda_spdif_in_status_get()
2952 int snd_hda_create_spdif_in_ctls(struct hda_codec *codec, hda_nid_t nid) in snd_hda_create_spdif_in_ctls()
2991 void snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg, in snd_hda_codec_set_power_to_all()
2994 hda_nid_t nid; in snd_hda_codec_set_power_to_all()
3016 hda_nid_t fg, in hda_sync_power_state()
3048 hda_nid_t nid, in snd_hda_codec_eapd_power_filter()
3071 hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in hda_set_power_state()
3113 hda_nid_t nid; in sync_power_up_states()
3422 static unsigned int query_pcm_param(struct hda_codec *codec, hda_nid_t nid) in query_pcm_param()
3435 static unsigned int query_stream_param(struct hda_codec *codec, hda_nid_t nid) in query_stream_param()
3458 int snd_hda_query_supported_pcm(struct hda_codec *codec, hda_nid_t nid, in snd_hda_query_supported_pcm()
3563 int snd_hda_is_supported_format(struct hda_codec *codec, hda_nid_t nid, in snd_hda_is_supported_format()
3960 hda_nid_t nid) in snd_hda_check_amp_list_power()
4034 hda_nid_t nid, in snd_hda_input_mux_put()
4086 static void setup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid, in setup_dig_out_stream()
4108 const hda_nid_t *d; in setup_dig_out_stream()
4119 static void cleanup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid) in cleanup_dig_out_stream()
4123 const hda_nid_t *d; in cleanup_dig_out_stream()
4269 const hda_nid_t *nids = mout->dac_nids; in snd_hda_multi_out_analog_prepare()
4342 const hda_nid_t *nids = mout->dac_nids; in snd_hda_multi_out_analog_cleanup()
4375 unsigned int snd_hda_get_default_vref(struct hda_codec *codec, hda_nid_t pin) in snd_hda_get_default_vref()
4403 hda_nid_t pin, unsigned int val) in snd_hda_correct_pin_ctl()
4465 int _snd_hda_set_pin_ctl(struct hda_codec *codec, hda_nid_t pin, in _snd_hda_set_pin_ctl()