Lines Matching refs:card
101 pa_card *card;
125 pa_card *card;
260 pa_assert_se(port = pa_hashmap_get(u->card->ports, u->output_port_name));
266 pa_assert_se(port = pa_hashmap_get(u->card->ports, u->input_port_name));
1016 data.card = u->card;
1255 data.card = u->card;
1763 pa_proplist_sets(u->card->proplist, PA_PROP_BLUETOOTH_CODEC, u->bt_codec->name);
1789 pa_proplist_unset(u->card->proplist, PA_PROP_BLUETOOTH_CODEC);
2168 pa_assert_se(pa_card_set_profile(u->card, pa_hashmap_get(u->card->profiles, "off"), false) >= 0);
2269 u->card = pa_card_new(u->core, &data);
2271 if (!u->card) {
2272 pa_log("Failed to allocate card.");
2276 u->card->userdata = u;
2277 u->card->set_profile = set_profile_cb;
2278 pa_card_choose_initial_profile(u->card);
2279 pa_card_put(u->card);
2281 p = PA_CARD_PROFILE_DATA(u->card->active_profile);
2297 pa_assert_se(cp = pa_hashmap_get(u->card->profiles, pa_bluetooth_profile_to_string(t->profile)));
2308 pa_assert_se(port = pa_hashmap_get(u->card->ports, u->output_port_name));
2310 pa_assert_se(port = pa_hashmap_get(u->card->ports, u->input_port_name));
2395 pa_proplist_setf(u->card->proplist, "bluetooth.battery", "%d%%", level);
2397 pa_proplist_unset(u->card->proplist, "bluetooth.battery");
2409 pa_assert_se(pa_card_set_profile(u->card, pa_hashmap_get(u->card->profiles, "off"), false) >= 0);
2475 return pa_sprintf_malloc("/card/%s/bluez", name);
2504 pa_assert_se(pa_card_set_profile(u->card, pa_hashmap_get(u->card->profiles, "off"), false) >= 0);
2579 message_handler_path = make_message_handler_path(u->card->name);
2695 pa_assert_se(pa_card_set_profile(u->card, pa_hashmap_get(u->card->profiles, "off"), false) >= 0);
2703 struct userdata *u = m->card->userdata;
2707 if (m->card->module->unload_requested)
2711 pa_assert_se(pa_card_set_profile(m->card, pa_hashmap_get(m->card->profiles, "off"), false) >= 0);
2820 u->msg->card = u->card;
2831 message_handler_path = make_message_handler_path(u->card->name);
2843 pa_assert_se(pa_card_set_profile(u->card, pa_hashmap_get(u->card->profiles, "off"), false) >= 0);
2869 message_handler_path = make_message_handler_path(u->card->name);
2900 if (u->card)
2901 pa_card_free(u->card);