Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/
Dmicp_mic_dev.c29 static struct bt_micp_included micp_included; variable
143 result = bt_micp_mic_dev_included_get(&micp_included); in cmd_micp_mic_dev_param()
214 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_deactivate()
216 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_deactivate()
221 result = bt_aics_deactivate(micp_included.aics[index]); in cmd_micp_mic_dev_aics_deactivate()
242 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_activate()
244 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_activate()
249 result = bt_aics_activate(micp_included.aics[index]); in cmd_micp_mic_dev_aics_activate()
270 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_dev_aics_input_state_get()
272 micp_included.aics_cnt, index); in cmd_micp_mic_dev_aics_input_state_get()
[all …]
Dmicp_mic_ctlr.c21 static struct bt_micp_included micp_included; variable
35 &micp_included) != 0) { in micp_mic_ctlr_discover_cb()
73 static struct bt_micp_included micp_included; variable
312 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_input_state_get()
314 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_input_state_get()
323 result = bt_aics_state_get(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_input_state_get()
344 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_gain_setting_get()
346 micp_included.aics_cnt, index); in cmd_micp_mic_ctlr_aics_gain_setting_get()
355 result = bt_aics_gain_setting_get(micp_included.aics[index]); in cmd_micp_mic_ctlr_aics_gain_setting_get()
376 if (index >= micp_included.aics_cnt) { in cmd_micp_mic_ctlr_aics_input_type_get()
[all …]
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/
Dmicp_mic_dev_test.c19 static struct bt_micp_included micp_included; variable
130 err = bt_aics_deactivate(micp_included.aics[0]); in test_aics_server_only()
140 err = bt_aics_activate(micp_included.aics[0]); in test_aics_server_only()
150 err = bt_aics_state_get(micp_included.aics[0]); in test_aics_server_only()
160 err = bt_aics_gain_setting_get(micp_included.aics[0]); in test_aics_server_only()
171 err = bt_aics_type_get(micp_included.aics[0]); in test_aics_server_only()
182 err = bt_aics_status_get(micp_included.aics[0]); in test_aics_server_only()
192 err = bt_aics_description_get(micp_included.aics[0]); in test_aics_server_only()
203 err = bt_aics_mute(micp_included.aics[0]); in test_aics_server_only()
214 err = bt_aics_unmute(micp_included.aics[0]); in test_aics_server_only()
[all …]
Dmicp_mic_ctlr_test.c19 static struct bt_micp_included micp_included; variable
208 err = bt_aics_client_conn_get(micp_included.aics[0], &cached_conn); in test_aics()
220 err = bt_aics_state_get(micp_included.aics[0]); in test_aics()
230 err = bt_aics_gain_setting_get(micp_included.aics[0]); in test_aics()
241 err = bt_aics_type_get(micp_included.aics[0]); in test_aics()
252 err = bt_aics_status_get(micp_included.aics[0]); in test_aics()
262 err = bt_aics_description_get(micp_included.aics[0]); in test_aics()
273 err = bt_aics_mute(micp_included.aics[0]); in test_aics()
285 err = bt_aics_unmute(micp_included.aics[0]); in test_aics()
297 err = bt_aics_automatic_gain_set(micp_included.aics[0]); in test_aics()
[all …]
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/
Dbtp_micp.c37 static struct bt_micp_included micp_included; variable
132 if (bt_micp_mic_ctlr_included_get(mic_ctlr, &micp_included) != 0) { in micp_mic_ctlr_discover_cb()
136 aics_client_instance.aics_cnt = micp_included.aics_cnt; in micp_mic_ctlr_discover_cb()
137 aics_client_instance.aics = micp_included.aics; in micp_mic_ctlr_discover_cb()
140 micp_handles.state_handle = micp_included.aics[0]->cli.state_handle; in micp_mic_ctlr_discover_cb()
141 micp_handles.gain_handle = micp_included.aics[0]->cli.gain_handle; in micp_mic_ctlr_discover_cb()
142 micp_handles.type_handle = micp_included.aics[0]->cli.type_handle; in micp_mic_ctlr_discover_cb()
143 micp_handles.status_handle = micp_included.aics[0]->cli.status_handle; in micp_mic_ctlr_discover_cb()
144 micp_handles.control_handle = micp_included.aics[0]->cli.control_handle; in micp_mic_ctlr_discover_cb()
145 micp_handles.desc_handle = micp_included.aics[0]->cli.desc_handle; in micp_mic_ctlr_discover_cb()
[all …]
/Zephyr-Core-3.5.0/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()