Searched refs:aics_insts (Results 1 – 4 of 4) sorted by relevance
41 struct bt_aics *aics_insts[CONFIG_BT_MICP_MIC_DEV_AICS_INSTANCE_COUNT]; member160 micp_inst.aics_insts[j] = bt_aics_free_instance_get(); in prepare_aics_inst()161 if (micp_inst.aics_insts[j] == NULL) { in prepare_aics_inst()166 err = bt_aics_register(micp_inst.aics_insts[j], in prepare_aics_inst()173 mics_attrs[i].user_data = bt_aics_svc_decl_get(micp_inst.aics_insts[j]); in prepare_aics_inst()245 included->aics_cnt = ARRAY_SIZE(micp_inst.aics_insts); in bt_micp_mic_dev_included_get()246 included->aics = micp_inst.aics_insts; in bt_micp_mic_dev_included_get()
38 static struct bt_aics aics_insts[CONFIG_BT_MAX_CONN * CONFIG_BT_AICS_CLIENT_MAX_INSTANCE_COUNT]; variable44 for (int i = 0; i < ARRAY_SIZE(aics_insts); i++) { in lookup_aics_by_handle()45 if (aics_insts[i].cli.conn == conn && in lookup_aics_by_handle()46 atomic_test_bit(aics_insts[i].cli.flags, BT_AICS_CLIENT_FLAG_ACTIVE) && in lookup_aics_by_handle()47 aics_insts[i].cli.start_handle <= handle && in lookup_aics_by_handle()48 aics_insts[i].cli.end_handle >= handle) { in lookup_aics_by_handle()49 return &aics_insts[i]; in lookup_aics_by_handle()673 for (size_t i = 0; i < ARRAY_SIZE(aics_insts); i++) { in disconnected()674 if (aics_insts[i].cli.conn == conn) { in disconnected()675 aics_client_reset(&aics_insts[i]); in disconnected()[all …]
67 struct bt_aics *aics_insts[CONFIG_BT_VCP_VOL_REND_AICS_INSTANCE_COUNT]; member401 vol_rend.aics_insts[j] = bt_aics_free_instance_get(); in prepare_aics_inst()403 if (vol_rend.aics_insts[j] == NULL) { in prepare_aics_inst()409 err = bt_aics_register(vol_rend.aics_insts[j], in prepare_aics_inst()417 vcs_attrs[i].user_data = bt_aics_svc_decl_get(vol_rend.aics_insts[j]); in prepare_aics_inst()507 included->aics_cnt = ARRAY_SIZE(vol_rend.aics_insts); in bt_vcp_vol_rend_included_get()508 included->aics = vol_rend.aics_insts; in bt_vcp_vol_rend_included_get()
111 static struct bt_aics aics_insts[CONFIG_BT_AICS_MAX_INSTANCE_COUNT]; variable113 BT_GATT_SERVICE_INSTANCE_DEFINE(aics_service_list, aics_insts,451 for (int i = 0; i < ARRAY_SIZE(aics_insts); i++) { in prepare_aics_instances()452 aics_insts[i].srv.service_p = &aics_service_list[i]; in prepare_aics_instances()578 return (struct bt_aics *)&aics_insts[instance_cnt++]; in bt_aics_free_instance_get()