Lines Matching refs:jack
80 const struct cras_alsa_jack *jack; member
86 const struct cras_alsa_jack *jack; member
1340 struct alsa_io *aio, const struct cras_alsa_jack *jack) in get_output_node_from_jack() argument
1348 jack, jack); in get_output_node_from_jack()
1353 mixer_output = cras_alsa_jack_get_mixer_output(jack); in get_output_node_from_jack()
1363 struct alsa_io *aio, const struct cras_alsa_jack *jack) in get_input_node_from_jack() argument
1369 mixer_input = cras_alsa_jack_get_mixer_input(jack); in get_input_node_from_jack()
1372 jack, jack); in get_input_node_from_jack()
1383 const struct cras_alsa_jack *jack = NULL; in get_jack_from_node() local
1389 jack = ((struct alsa_output_node *)node)->jack; in get_jack_from_node()
1391 jack = ((struct alsa_input_node *)node)->jack; in get_jack_from_node()
1393 return jack; in get_jack_from_node()
1404 const struct cras_alsa_jack *jack; in get_active_dsp_name() local
1410 jack = ((struct alsa_output_node *) node)->jack; in get_active_dsp_name()
1412 jack = ((struct alsa_input_node *) node)->jack; in get_active_dsp_name()
1414 return cras_alsa_jack_get_dsp_name(jack) ? : aio->dsp_name_default; in get_active_dsp_name()
1422 const struct cras_alsa_jack *jack) in create_volume_curve_for_jack() argument
1428 name = cras_alsa_jack_get_ucm_device(jack); in create_volume_curve_for_jack()
1434 name = cras_alsa_jack_get_name(jack); in create_volume_curve_for_jack()
1445 static void jack_output_plug_event(const struct cras_alsa_jack *jack, in jack_output_plug_event() argument
1457 node = get_output_node_from_jack(aio, jack); in jack_output_plug_event()
1458 jack_name = cras_alsa_jack_get_name(jack); in jack_output_plug_event()
1474 cras_alsa_jack_update_node_type(jack, &(node->base.type)); in jack_output_plug_event()
1477 if (!node->jack) { in jack_output_plug_event()
1485 node->jack = jack; in jack_output_plug_event()
1488 aio->config, jack); in jack_output_plug_event()
1494 cras_alsa_jack_update_monitor_name(jack, node->base.name, in jack_output_plug_event()
1511 static void jack_input_plug_event(const struct cras_alsa_jack *jack, in jack_input_plug_event() argument
1523 node = get_input_node_from_jack(aio, jack); in jack_input_plug_event()
1524 jack_name = cras_alsa_jack_get_name(jack); in jack_input_plug_event()
1534 cras_input = cras_alsa_jack_get_mixer_input(jack); in jack_input_plug_event()
1544 if (!node->jack) { in jack_input_plug_event()
1550 node->jack = jack; in jack_input_plug_event()
1692 const struct cras_alsa_jack *jack; in enable_active_ucm() local
1700 jack = active->jack; in enable_active_ucm()
1706 jack = active->jack; in enable_active_ucm()
1709 if (jack) in enable_active_ucm()
1710 cras_alsa_jack_enable_ucm(jack, plugged); in enable_active_ucm()
2185 struct cras_alsa_jack *jack; in alsa_iodev_ucm_add_nodes_and_jacks() local
2218 aio->jack_list, section, &jack); in alsa_iodev_ucm_add_nodes_and_jacks()
2223 if (jack) { in alsa_iodev_ucm_add_nodes_and_jacks()
2225 output_node->jack = jack; in alsa_iodev_ucm_add_nodes_and_jacks()
2229 aio->config, jack); in alsa_iodev_ucm_add_nodes_and_jacks()
2231 input_node->jack = jack; in alsa_iodev_ucm_add_nodes_and_jacks()