Lines Matching refs:hda_nid_t

90 	hda_nid_t nid;
91 hda_nid_t conns[];
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()
107 const hda_nid_t *list) in add_conn_list()
116 memcpy(p->conns, list, len * sizeof(hda_nid_t)); 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()
134 hda_nid_t list[32]; in read_and_add_raw_conns()
135 hda_nid_t *result = list; in read_and_add_raw_conns()
141 result = kmalloc_array(len, sizeof(hda_nid_t), GFP_KERNEL); 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()
169 const hda_nid_t **listp) 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()
208 hda_nid_t *conn_list, int max_conns) in snd_hda_get_connections()
210 const hda_nid_t *list; in snd_hda_get_connections()
219 memcpy(conn_list, list, len * sizeof(hda_nid_t)); 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()
239 const hda_nid_t *list) in snd_hda_override_conn_list()
264 int snd_hda_get_conn_index(struct hda_codec *codec, hda_nid_t mux, in snd_hda_get_conn_index()
265 hda_nid_t nid, int recursive) in snd_hda_get_conn_index()
267 const hda_nid_t *conn; 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()
365 int snd_hda_get_dev_select(struct hda_codec *codec, hda_nid_t nid) in snd_hda_get_dev_select()
383 int snd_hda_set_dev_select(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_set_dev_select()
416 static int read_widget_caps(struct hda_codec *codec, hda_nid_t fg_node) in read_widget_caps()
419 hda_nid_t nid; in read_widget_caps()
434 hda_nid_t nid; in read_pin_defaults()
462 hda_nid_t nid) in look_up_pincfg()
478 hda_nid_t nid, unsigned int cfg) in snd_hda_add_pincfg()
513 hda_nid_t nid, unsigned int cfg) in snd_hda_codec_set_pincfg()
528 unsigned int snd_hda_codec_get_pincfg(struct hda_codec *codec, hda_nid_t nid) in snd_hda_codec_get_pincfg()
564 int snd_hda_codec_set_pin_target(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_set_pin_target()
582 int snd_hda_codec_get_pin_target(struct hda_codec *codec, hda_nid_t nid) in snd_hda_codec_get_pin_target()
678 hda_nid_t nid;
688 get_hda_cvt_setup(struct hda_codec *codec, hda_nid_t nid) in get_hda_cvt_setup()
986 hda_nid_t fg; in snd_hda_codec_device_new()
1065 hda_nid_t fg; in snd_hda_codec_update_widgets()
1090 struct hda_cvt_setup *p, hda_nid_t nid, in update_pcm_stream_id()
1109 hda_nid_t nid, int format) in update_pcm_format()
1134 void snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_setup_stream()
1185 void __snd_hda_codec_cleanup_stream(struct hda_codec *codec, hda_nid_t nid, in __snd_hda_codec_cleanup_stream()
1214 hda_nid_t nid = q->nid; in really_cleanup_stream()
1271 u32 query_amp_caps(struct hda_codec *codec, hda_nid_t nid, int direction) in query_amp_caps()
1290 bool snd_hda_check_amp_caps(struct hda_codec *codec, hda_nid_t nid, in snd_hda_check_amp_caps()
1315 int snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, in snd_hda_override_amp_caps()
1327 static unsigned int encode_amp(struct hda_codec *codec, hda_nid_t nid, in encode_amp()
1351 int snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_amp_update()
1372 int snd_hda_codec_amp_stereo(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_amp_stereo()
1400 int snd_hda_codec_amp_init(struct hda_codec *codec, hda_nid_t nid, int ch, in snd_hda_codec_amp_init()
1422 int snd_hda_codec_amp_init_stereo(struct hda_codec *codec, hda_nid_t nid, in snd_hda_codec_amp_init_stereo()
1436 static u32 get_amp_max_value(struct hda_codec *codec, hda_nid_t nid, int dir, in get_amp_max_value()
1480 read_amp_value(struct hda_codec *codec, hda_nid_t nid, in read_amp_value()
1494 update_amp_value(struct hda_codec *codec, hda_nid_t nid, in update_amp_value()
1522 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_volume_get()
1549 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_volume_put()
1571 hda_nid_t nid = get_amp_nid(kcontrol); in get_ctl_amp_tlv()
1626 void snd_hda_set_vmaster_tlv(struct hda_codec *codec, hda_nid_t nid, int dir, in snd_hda_set_vmaster_tlv()
1703 int snd_hda_ctl_add(struct hda_codec *codec, hda_nid_t nid, in snd_hda_ctl_add()
1744 unsigned int index, hda_nid_t nid) in snd_hda_add_nid()
2124 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_switch_get()
2152 hda_nid_t nid = get_amp_nid(kcontrol); in snd_hda_mixer_amp_switch_put()
2281 static void set_dig_out(struct hda_codec *codec, hda_nid_t nid, in set_dig_out()
2284 const hda_nid_t *d; in set_dig_out()
2296 static inline void set_dig_out_convert(struct hda_codec *codec, hda_nid_t nid, in set_dig_out_convert()
2319 hda_nid_t nid; in snd_hda_spdif_default_put()
2360 static inline void set_spdif_ctls(struct hda_codec *codec, hda_nid_t nid, in set_spdif_ctls()
2377 hda_nid_t nid; in snd_hda_spdif_out_switch_put()
2441 hda_nid_t associated_nid, in snd_hda_create_dig_out_ctls()
2442 hda_nid_t cvt_nid, in snd_hda_create_dig_out_ctls()
2506 hda_nid_t nid) in snd_hda_spdif_out_of_nid()
2547 void snd_hda_spdif_ctls_assign(struct hda_codec *codec, int idx, hda_nid_t nid) in snd_hda_spdif_ctls_assign()
2632 hda_nid_t nid = kcontrol->private_value; in snd_hda_spdif_in_switch_put()
2651 hda_nid_t nid = kcontrol->private_value; in snd_hda_spdif_in_status_get()
2693 int snd_hda_create_spdif_in_ctls(struct hda_codec *codec, hda_nid_t nid) in snd_hda_create_spdif_in_ctls()
2732 void snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg, in snd_hda_codec_set_power_to_all()
2735 hda_nid_t nid; in snd_hda_codec_set_power_to_all()
2763 hda_nid_t nid, in snd_hda_codec_eapd_power_filter()
2786 hda_nid_t fg = codec->core.afg ? codec->core.afg : codec->core.mfg; in hda_set_power_state()
2828 hda_nid_t nid; in sync_power_up_states()
3482 hda_nid_t nid) in snd_hda_check_amp_list_power()
3556 hda_nid_t nid, in snd_hda_input_mux_put()
3608 static void setup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid, in setup_dig_out_stream()
3636 const hda_nid_t *d; in setup_dig_out_stream()
3647 static void cleanup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid) in cleanup_dig_out_stream()
3651 const hda_nid_t *d; in cleanup_dig_out_stream()
3797 const hda_nid_t *nids = mout->dac_nids; in snd_hda_multi_out_analog_prepare()
3870 const hda_nid_t *nids = mout->dac_nids; in snd_hda_multi_out_analog_cleanup()
3903 unsigned int snd_hda_get_default_vref(struct hda_codec *codec, hda_nid_t pin) in snd_hda_get_default_vref()
3931 hda_nid_t pin, unsigned int val) in snd_hda_correct_pin_ctl()
3993 int _snd_hda_set_pin_ctl(struct hda_codec *codec, hda_nid_t pin, in _snd_hda_set_pin_ctl()