Home
last modified time | relevance | path

Searched refs:micp_included (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/subsys/bluetooth/audio/shell/
Dmicp_mic_dev.c38 static struct bt_micp_included micp_included; variable
152 result = bt_micp_mic_dev_included_get(&micp_included); in cmd_micp_mic_dev_param()
223 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_deactivate()
225 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_deactivate()
230 result = bt_aics_deactivate(micp_included.aics[index]); in cmd_micp_mic_dev_aics_deactivate()
251 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_activate()
253 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_activate()
258 result = bt_aics_activate(micp_included.aics[index]); in cmd_micp_mic_dev_aics_activate()
279 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_input_state_get()
281 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_input_state_get()
[all …]
Dmicp_mic_ctlr.c28 static struct bt_micp_included micp_included; variable
42 &micp_included) != 0) { in micp_mic_ctlr_discover_cb()
80 static struct bt_micp_included micp_included; variable
319 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_input_state_get()
321 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_input_state_get()
330 result = bt_aics_state_get(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_input_state_get()
351 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_gain_setting_get()
353 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_gain_setting_get()
362 result = bt_aics_gain_setting_get(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_gain_setting_get()
383 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_input_type_get()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dmicp_mic_dev_test.c31 static struct bt_micp_included micp_included; variable
142 err = bt_aics_deactivate(micp_included.aics[0]); in test_aics_server_only()
152 err = bt_aics_activate(micp_included.aics[0]); in test_aics_server_only()
162 err = bt_aics_state_get(micp_included.aics[0]); in test_aics_server_only()
172 err = bt_aics_gain_setting_get(micp_included.aics[0]); in test_aics_server_only()
183 err = bt_aics_type_get(micp_included.aics[0]); in test_aics_server_only()
194 err = bt_aics_status_get(micp_included.aics[0]); in test_aics_server_only()
204 err = bt_aics_description_get(micp_included.aics[0]); in test_aics_server_only()
215 err = bt_aics_mute(micp_included.aics[0]); in test_aics_server_only()
226 err = bt_aics_unmute(micp_included.aics[0]); in test_aics_server_only()
[all …]
Dmicp_mic_ctlr_test.c26 static struct bt_micp_included micp_included; variable
215 err = bt_aics_client_conn_get(micp_included.aics[0], &cached_conn); in test_aics()
227 err = bt_aics_state_get(micp_included.aics[0]); in test_aics()
237 err = bt_aics_gain_setting_get(micp_included.aics[0]); in test_aics()
248 err = bt_aics_type_get(micp_included.aics[0]); in test_aics()
259 err = bt_aics_status_get(micp_included.aics[0]); in test_aics()
269 err = bt_aics_description_get(micp_included.aics[0]); in test_aics()
280 err = bt_aics_mute(micp_included.aics[0]); in test_aics()
292 err = bt_aics_unmute(micp_included.aics[0]); in test_aics()
304 err = bt_aics_automatic_gain_set(micp_included.aics[0]); in test_aics()
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_micp.c38 static struct bt_micp_included micp_included; variable
133 if (bt_micp_mic_ctlr_included_get(mic_ctlr, &micp_included) != 0) { in micp_mic_ctlr_discover_cb()
137 aics_client_instance.aics_cnt = micp_included.aics_cnt; in micp_mic_ctlr_discover_cb()
138 aics_client_instance.aics = micp_included.aics; in micp_mic_ctlr_discover_cb()
141 micp_handles.state_handle = micp_included.aics[0]->cli.state_handle; in micp_mic_ctlr_discover_cb()
142 micp_handles.gain_handle = micp_included.aics[0]->cli.gain_handle; in micp_mic_ctlr_discover_cb()
143 micp_handles.type_handle = micp_included.aics[0]->cli.type_handle; in micp_mic_ctlr_discover_cb()
144 micp_handles.status_handle = micp_included.aics[0]->cli.status_handle; in micp_mic_ctlr_discover_cb()
145 micp_handles.control_handle = micp_included.aics[0]->cli.control_handle; in micp_mic_ctlr_discover_cb()
146 micp_handles.desc_handle = micp_included.aics[0]->cli.desc_handle; in micp_mic_ctlr_discover_cb()
[all …]
/Zephyr-latest/samples/bluetooth/hap_ha/src/
Dmicp_mic_dev.c29 static struct bt_micp_included micp_included; variable
121 err = bt_micp_mic_dev_included_get(&micp_included); in micp_mic_dev_init()