Lines Matching refs:plugged
559 if (n->plugged) in first_plugged_node()
935 node->plugged = (node->position in set_node_initial_state()
938 if (node->plugged) in set_node_initial_state()
1137 int plugged) in check_auto_unplug_output_node() argument
1145 if (!strcmp(node->name, INTERNAL_SPEAKER) && plugged) { in check_auto_unplug_output_node()
1147 if (tmp->plugged && (tmp != node)) in check_auto_unplug_output_node()
1156 !plugged); in check_auto_unplug_output_node()
1204 check_auto_unplug_output_node(aio, &output->base, output->base.plugged); in new_output()
1231 int plugged) in check_auto_unplug_input_node() argument
1239 if (!strcmp(node->name, INTERNAL_MICROPHONE) && plugged) { in check_auto_unplug_input_node()
1241 if (tmp->plugged && (tmp != node)) in check_auto_unplug_input_node()
1250 !plugged); in check_auto_unplug_input_node()
1313 input->base.plugged); in new_input()
1446 int plugged, in jack_output_plug_event() argument
1491 syslog(LOG_DEBUG, "%s plugged: %d, %s", jack_name, plugged, in jack_output_plug_event()
1503 cras_iodev_set_node_attr(&node->base, IONODE_ATTR_PLUGGED, plugged); in jack_output_plug_event()
1505 check_auto_unplug_output_node(aio, &node->base, plugged); in jack_output_plug_event()
1512 int plugged, in jack_input_plug_event() argument
1540 syslog(LOG_DEBUG, "%s plugged: %d, %s", jack_name, plugged, in jack_input_plug_event()
1553 cras_iodev_set_node_attr(&node->base, IONODE_ATTR_PLUGGED, plugged); in jack_input_plug_event()
1555 check_auto_unplug_input_node(aio, &node->base, plugged); in jack_input_plug_event()
1690 static void enable_active_ucm(struct alsa_io *aio, int plugged) in enable_active_ucm() argument
1710 cras_alsa_jack_enable_ucm(jack, plugged); in enable_active_ucm()
1712 ucm_set_enabled(aio->ucm, name, plugged); in enable_active_ucm()