Lines Matching refs:jack
92 const struct cras_alsa_jack *jack; member
99 const struct cras_alsa_jack *jack; member
1334 const struct cras_alsa_jack *jack) in get_output_node_from_jack() argument
1341 DL_SEARCH_SCALAR_WITH_CAST(aio->base.nodes, node, aout, jack, jack); in get_output_node_from_jack()
1346 mixer_output = cras_alsa_jack_get_mixer_output(jack); in get_output_node_from_jack()
1356 get_input_node_from_jack(struct alsa_io *aio, const struct cras_alsa_jack *jack) in get_input_node_from_jack() argument
1362 mixer_input = cras_alsa_jack_get_mixer_input(jack); in get_input_node_from_jack()
1364 DL_SEARCH_SCALAR_WITH_CAST(aio->base.nodes, node, ain, jack, in get_input_node_from_jack()
1365 jack); in get_input_node_from_jack()
1376 const struct cras_alsa_jack *jack = NULL; in get_jack_from_node() local
1382 jack = ((struct alsa_output_node *)node)->jack; in get_jack_from_node()
1384 jack = ((struct alsa_input_node *)node)->jack; in get_jack_from_node()
1386 return jack; in get_jack_from_node()
1408 const struct cras_alsa_jack *jack) in create_volume_curve_for_jack() argument
1414 name = cras_alsa_jack_get_ucm_device(jack); in create_volume_curve_for_jack()
1420 name = cras_alsa_jack_get_name(jack); in create_volume_curve_for_jack()
1498 static void jack_output_plug_event(const struct cras_alsa_jack *jack, in jack_output_plug_event() argument
1509 node = get_output_node_from_jack(aio, jack); in jack_output_plug_event()
1510 jack_name = cras_alsa_jack_get_name(jack); in jack_output_plug_event()
1526 cras_alsa_jack_update_node_type(jack, &(node->base.type)); in jack_output_plug_event()
1529 if (!node->jack) { in jack_output_plug_event()
1537 node->jack = jack; in jack_output_plug_event()
1540 create_volume_curve_for_jack(aio->config, jack); in jack_output_plug_event()
1546 cras_alsa_jack_update_monitor_name(jack, node->base.name, in jack_output_plug_event()
1570 static void jack_input_plug_event(const struct cras_alsa_jack *jack, in jack_input_plug_event() argument
1581 node = get_input_node_from_jack(aio, jack); in jack_input_plug_event()
1582 jack_name = cras_alsa_jack_get_name(jack); in jack_input_plug_event()
1592 cras_input = cras_alsa_jack_get_mixer_input(jack); in jack_input_plug_event()
1602 if (!node->jack) { in jack_input_plug_event()
1608 node->jack = jack; in jack_input_plug_event()
1768 const struct cras_alsa_jack *jack; in enable_active_ucm() local
1776 jack = active->jack; in enable_active_ucm()
1782 jack = active->jack; in enable_active_ucm()
1785 if (jack) in enable_active_ucm()
1786 cras_alsa_jack_enable_ucm(jack, plugged); in enable_active_ucm()
2285 struct cras_alsa_jack *jack; in alsa_iodev_ucm_add_nodes_and_jacks() local
2328 &jack); in alsa_iodev_ucm_add_nodes_and_jacks()
2333 if (jack) { in alsa_iodev_ucm_add_nodes_and_jacks()
2335 output_node->jack = jack; in alsa_iodev_ucm_add_nodes_and_jacks()
2339 aio->config, jack); in alsa_iodev_ucm_add_nodes_and_jacks()
2341 input_node->jack = jack; in alsa_iodev_ucm_add_nodes_and_jacks()