Lines Matching refs:mic_ctlrs
16 } mic_ctlrs[CONFIG_BT_MAX_CONN]; variable
20 for (size_t i = 0; i < ARRAY_SIZE(mic_ctlrs); i++) { in bt_micp_mic_ctlr_get_by_conn()
21 if (mic_ctlrs[i].conn == conn) { in bt_micp_mic_ctlr_get_by_conn()
22 return &mic_ctlrs[i]; in bt_micp_mic_ctlr_get_by_conn()
56 for (size_t i = 0; i < ARRAY_SIZE(mic_ctlrs); i++) { in bt_micp_mic_ctlr_discover()
57 if (mic_ctlrs[i].conn == NULL) { in bt_micp_mic_ctlr_discover()
58 for (size_t j = 0U; j < ARRAY_SIZE(mic_ctlrs[i].aics); j++) { in bt_micp_mic_ctlr_discover()
59 const int err = bt_aics_discover(conn, mic_ctlrs[i].aics[j], NULL); in bt_micp_mic_ctlr_discover()
66 mic_ctlrs[i].conn = conn; in bt_micp_mic_ctlr_discover()
67 *mic_ctlr = &mic_ctlrs[i]; in bt_micp_mic_ctlr_discover()
81 for (size_t i = 0U; i < ARRAY_SIZE(mic_ctlrs); i++) { in bt_micp_mic_ctlr_cb_register()
82 for (size_t j = 0U; j < ARRAY_SIZE(mic_ctlrs[i].aics); j++) { in bt_micp_mic_ctlr_cb_register()
83 bt_aics_client_cb_register(mic_ctlrs[i].aics[j], &cb->aics_cb); in bt_micp_mic_ctlr_cb_register()
103 for (size_t i = 0U; i < ARRAY_SIZE(mic_ctlrs); i++) { in mock_bt_micp_init()
104 for (size_t j = 0U; j < ARRAY_SIZE(mic_ctlrs[i].aics); j++) { in mock_bt_micp_init()
105 mic_ctlrs[i].aics[j] = bt_aics_client_free_instance_get(); in mock_bt_micp_init()
107 __ASSERT(mic_ctlrs[i].aics[j], in mock_bt_micp_init()
116 memset(mic_ctlrs, 0, sizeof(mic_ctlrs)); in mock_bt_micp_cleanup()