/sound/firewire/fireworks/ |
D | fireworks_stream.c | 13 struct cmp_connection *conn; in init_stream() local 19 conn = &efw->out_conn; in init_stream() 23 conn = &efw->in_conn; in init_stream() 28 err = cmp_connection_init(conn, efw->unit, c_dir, 0); in init_stream() 35 cmp_connection_destroy(conn); in init_stream() 67 struct cmp_connection *conn; in start_stream() local 71 conn = &efw->out_conn; in start_stream() 73 conn = &efw->in_conn; in start_stream() 76 err = cmp_connection_establish(conn); in start_stream() 82 conn->resources.channel, conn->speed); in start_stream() [all …]
|
/sound/firewire/oxfw/ |
D | oxfw-stream.c | 105 struct cmp_connection *conn; in start_stream() local 109 conn = &oxfw->in_conn; in start_stream() 111 conn = &oxfw->out_conn; in start_stream() 113 err = cmp_connection_establish(conn); in start_stream() 118 conn->resources.channel, conn->speed); in start_stream() 120 cmp_connection_break(conn); in start_stream() 130 struct cmp_connection *conn; in check_connection_used_by_others() local 135 conn = &oxfw->out_conn; in check_connection_used_by_others() 137 conn = &oxfw->in_conn; in check_connection_used_by_others() 139 err = cmp_connection_check_used(conn, &used); in check_connection_used_by_others() [all …]
|
/sound/firewire/bebob/ |
D | bebob_stream.c | 379 struct cmp_connection *conn; in check_connection_used_by_others() local 384 conn = &bebob->out_conn; in check_connection_used_by_others() 386 conn = &bebob->in_conn; in check_connection_used_by_others() 388 err = cmp_connection_check_used(conn, &used); in check_connection_used_by_others() 392 (conn->direction == CMP_OUTPUT) ? 'o' : 'i', in check_connection_used_by_others() 393 conn->pcr_index); in check_connection_used_by_others() 408 struct cmp_connection *conn; in start_stream() local 412 conn = &bebob->in_conn; in start_stream() 414 conn = &bebob->out_conn; in start_stream() 423 err = cmp_connection_establish(conn); in start_stream() [all …]
|
/sound/pci/hda/ |
D | hda_proc.c | 115 hda_nid_t conn; in is_stereo_amps() local 126 if (snd_hda_get_raw_connections(codec, nid, &conn, 1) < 0) in is_stereo_amps() 129 wcaps = snd_hda_param_read(codec, conn, AC_PAR_AUDIO_WIDGET_CAP); in is_stereo_amps() 600 unsigned int wid_type, hda_nid_t *conn, in print_conn_list() argument 617 snd_iprintf(buffer, " 0x%02x", conn[c]); in print_conn_list() 627 memcmp(list, conn, conn_len) != 0)) { in print_conn_list() 686 hda_nid_t *conn; in print_dpmst_connections() local 692 conn = kmalloc_array(conn_len, sizeof(hda_nid_t), GFP_KERNEL); in print_dpmst_connections() 693 if (!conn) in print_dpmst_connections() 700 if (snd_hda_get_raw_connections(codec, nid, conn, conn_len) < 0) in print_dpmst_connections() [all …]
|
D | hda_auto_parser.c | 198 short assoc, loc, conn, dev; in snd_hda_parse_pin_defcfg() local 208 conn = get_defcfg_connect(def_conf); in snd_hda_parse_pin_defcfg() 209 if (conn == AC_JACK_PORT_NONE) in snd_hda_parse_pin_defcfg() 216 if (conn == AC_JACK_PORT_FIXED || in snd_hda_parse_pin_defcfg() 217 conn == AC_JACK_PORT_BOTH) in snd_hda_parse_pin_defcfg() 455 unsigned int conn = get_defcfg_connect(def_conf); in snd_hda_get_input_pin_attr() local 456 if (conn == AC_JACK_PORT_NONE) in snd_hda_get_input_pin_attr() 459 if (conn == AC_JACK_PORT_FIXED || conn == AC_JACK_PORT_BOTH) in snd_hda_get_input_pin_attr()
|
D | patch_via.c | 817 hda_nid_t conn[8]; in add_secret_dac_path() local 822 nums = snd_hda_get_connections(codec, spec->gen.mixer_nid, conn, in add_secret_dac_path() 823 ARRAY_SIZE(conn) - 1); in add_secret_dac_path() 828 if (get_wcaps_type(get_wcaps(codec, conn[i])) == AC_WID_AUD_OUT) in add_secret_dac_path() 837 conn[nums++] = nid; in add_secret_dac_path() 840 nums, conn); in add_secret_dac_path()
|
D | hda_jack.c | 590 unsigned int def_conf, conn; in add_jack_kctl() local 600 conn = get_defcfg_connect(def_conf); in add_jack_kctl() 601 if (conn == AC_JACK_PORT_NONE) in add_jack_kctl() 603 phantom_jack = (conn != AC_JACK_PORT_COMPLEX) || in add_jack_kctl()
|
D | patch_realtek.c | 2021 static const hda_nid_t conn[] = { 0x0c, 0x0d, 0x0e, 0x0f, 0x26 }; in alc889_fixup_dac_route() local 2022 snd_hda_override_conn_list(codec, 0x14, ARRAY_SIZE(conn), conn); in alc889_fixup_dac_route() 2023 snd_hda_override_conn_list(codec, 0x15, ARRAY_SIZE(conn), conn); in alc889_fixup_dac_route() 2024 snd_hda_override_conn_list(codec, 0x18, ARRAY_SIZE(conn), conn); in alc889_fixup_dac_route() 2025 snd_hda_override_conn_list(codec, 0x1a, ARRAY_SIZE(conn), conn); in alc889_fixup_dac_route() 6300 static const hda_nid_t conn[] = { 0x02, 0x03 }; in alc295_fixup_disable_dac3() local 6301 snd_hda_override_conn_list(codec, 0x17, ARRAY_SIZE(conn), conn); in alc295_fixup_disable_dac3() 6310 static const hda_nid_t conn[] = { 0x02 }; in alc285_fixup_speaker2_to_dac1() local 6311 snd_hda_override_conn_list(codec, 0x17, ARRAY_SIZE(conn), conn); in alc285_fixup_speaker2_to_dac1() 6370 static const hda_nid_t conn[] = { 0x02, 0x03 }; /* exclude 0x06 */ in alc285_fixup_thinkpad_x1_gen7() local [all …]
|
D | hda_generic.c | 389 const hda_nid_t *conn; in __parse_nid_path() local 397 nums = snd_hda_get_conn_list(codec, to_nid, &conn); in __parse_nid_path() 399 if (conn[i] != from_nid) { in __parse_nid_path() 404 get_wcaps_type(get_wcaps(codec, conn[i])) != AC_WID_AUD_OUT || in __parse_nid_path() 405 is_dac_already_used(codec, conn[i])) in __parse_nid_path() 416 type = get_wcaps_type(get_wcaps(codec, conn[i])); in __parse_nid_path() 420 if (__parse_nid_path(codec, from_nid, conn[i], in __parse_nid_path() 427 path->path[path->depth] = conn[i]; in __parse_nid_path() 690 hda_nid_t conn; in is_stereo_amps() local 698 if (snd_hda_get_connections(codec, nid, &conn, 1) < 0) in is_stereo_amps() [all …]
|
D | hda_codec.c | 267 const hda_nid_t *conn; in snd_hda_get_conn_index() local 270 nums = snd_hda_get_conn_list(codec, mux, &conn); in snd_hda_get_conn_index() 272 if (conn[i] == nid) in snd_hda_get_conn_index() 282 unsigned int type = get_wcaps_type(get_wcaps(codec, conn[i])); in snd_hda_get_conn_index() 285 if (snd_hda_get_conn_index(codec, conn[i], nid, recursive) >= 0) in snd_hda_get_conn_index()
|