Lines Matching refs:ports

142 static void add_profiles(struct userdata *u, pa_hashmap *h, pa_hashmap *ports) {
165 pa_alsa_ucm_add_ports_combination(NULL, &m->ucm_context, true, ports, cp, u->core);
167 pa_alsa_path_set_add_ports(m->output_path_set, cp, ports, NULL, u->core);
178 pa_alsa_ucm_add_ports_combination(NULL, &m->ucm_context, false, ports, cp, u->core);
180 pa_alsa_path_set_add_ports(m->input_path_set, cp, ports, NULL, u->core);
330 port = pa_hashmap_get(u->card->ports, jack->name);
432 /* Report available ports before unavailable ones: in case port 1 becomes available when port 2 becomes unavailable,
461 * profile contains a mix of available and unavailable ports, we don't know
462 * how the ports are distributed between the different sinks. It's possible
463 * that some sinks contain only unavailable ports, in which case we should
472 * only contains output ports and all ports are unavailable
473 * only contains input ports and all ports are unavailable
474 * contains both input and output ports and all ports are unavailable
477 * only contains output ports and at least one port is available
478 * only contains input ports and at least one port is available
479 * contains both output and input ports and at least one output port
485 * If there are no output ports at all, but the profile contains at least
499 PA_HASHMAP_FOREACH(port, u->card->ports, state2) {
547 PA_HASHMAP_FOREACH(p, u->card->ports, state) {
554 PA_HASHMAP_FOREACH(p, u->card->ports, state) {
604 /* The code in this function expects ports to have a pa_alsa_port_data
605 * struct as their data, but in UCM mode ports don't have any data. Hence,
607 PA_HASHMAP_FOREACH(port, u->card->ports, state) {
707 static void prune_singleton_availability_groups(pa_hashmap *ports) {
716 PA_HASHMAP_FOREACH(p, ports, state) {
731 PA_HASHMAP_FOREACH(p, ports, state) {
1025 add_profiles(u, data.profiles, data.ports);
1034 prune_singleton_availability_groups(data.ports);
1053 PA_HASHMAP_FOREACH(port, data.ports, state) {