Lines Matching refs:ascs
92 } ascs; variable
836 for (size_t i = 0; i < ARRAY_SIZE(ascs.ase_pool); i++) { in ascs_iso_accept()
837 struct bt_ascs_ase *ase = &ascs.ase_pool[i]; in ascs_iso_accept()
1293 for (size_t i = 0; i < ARRAY_SIZE(ascs.ase_pool); i++) { in disconnected()
1294 struct bt_ascs_ase *ase = &ascs.ase_pool[i]; in disconnected()
1418 for (size_t i = 0; i < ARRAY_SIZE(ascs.ase_pool); i++) { in ase_new()
1419 if (ascs.ase_pool[i].conn == NULL) { in ase_new()
1420 ase = &ascs.ase_pool[i]; in ase_new()
1438 for (size_t i = 0; i < ARRAY_SIZE(ascs.ase_pool); i++) { in ase_find()
1439 struct bt_ascs_ase *ase = &ascs.ase_pool[i]; in ase_find()
1716 for (size_t i = 0; i < ARRAY_SIZE(ascs.ase_pool); i++) { in ep_lookup_stream()
1717 struct bt_ascs_ase *ase = &ascs.ase_pool[i]; in ep_lookup_stream()
1927 for (size_t i = 0; i < ARRAY_SIZE(ascs.ase_pool); i++) { in bt_ascs_foreach_ep()
1928 struct bt_ascs_ase *ase = &ascs.ase_pool[i]; in bt_ascs_foreach_ep()
3192 if (ascs.registered) { in bt_ascs_register()
3221 ascs.registered = true; in bt_ascs_register()
3240 if (!ascs.registered) { in bt_ascs_init()
3261 for (size_t i = 0; i < ARRAY_SIZE(ascs.ase_pool); i++) { in bt_ascs_cleanup()
3262 struct bt_ascs_ase *ase = &ascs.ase_pool[i]; in bt_ascs_cleanup()
3279 if (!ascs.registered) { in bt_ascs_unregister()
3284 for (size_t i = 0; i < ARRAY_SIZE(ascs.ase_pool); i++) { in bt_ascs_unregister()
3285 if (ascs.ase_pool[i].ep.status.state != BT_BAP_EP_STATE_IDLE) { in bt_ascs_unregister()
3286 LOG_DBG("[%zu] ase %p not in idle state: %s", i, &ascs.ase_pool[i].ep, in bt_ascs_unregister()
3287 bt_bap_ep_state_str(ascs.ase_pool[i].ep.status.state)); in bt_ascs_unregister()
3302 ascs.registered = false; in bt_ascs_unregister()