Home
last modified time | relevance | path

Searched refs:aics_param (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/samples/bluetooth/hap_ha/src/
Dmicp_mic_dev.c99 for (int i = 0; i < ARRAY_SIZE(micp_param.aics_param); i++) { in micp_mic_dev_init()
100 micp_param.aics_param[i].desc_writable = true; in micp_mic_dev_init()
102 micp_param.aics_param[i].description = input_desc[i]; in micp_mic_dev_init()
103 micp_param.aics_param[i].type = BT_AICS_INPUT_TYPE_UNSPECIFIED; in micp_mic_dev_init()
104 micp_param.aics_param[i].status = true; in micp_mic_dev_init()
105 micp_param.aics_param[i].gain_mode = BT_AICS_MODE_MANUAL; in micp_mic_dev_init()
106 micp_param.aics_param[i].units = 1; in micp_mic_dev_init()
107 micp_param.aics_param[i].min_gain = -100; in micp_mic_dev_init()
108 micp_param.aics_param[i].max_gain = 100; in micp_mic_dev_init()
109 micp_param.aics_param[i].cb = &aics_cb; in micp_mic_dev_init()
Dvcp_vol_renderer.c149 for (int i = 0; i < ARRAY_SIZE(vcp_register_param.aics_param); i++) { in vcp_vol_renderer_init()
150 vcp_register_param.aics_param[i].desc_writable = true; in vcp_vol_renderer_init()
152 vcp_register_param.aics_param[i].description = input_desc[i]; in vcp_vol_renderer_init()
153 vcp_register_param.aics_param[i].type = BT_AICS_INPUT_TYPE_UNSPECIFIED; in vcp_vol_renderer_init()
154 vcp_register_param.aics_param[i].status = true; in vcp_vol_renderer_init()
155 vcp_register_param.aics_param[i].gain_mode = BT_AICS_MODE_MANUAL; in vcp_vol_renderer_init()
156 vcp_register_param.aics_param[i].units = 1; in vcp_vol_renderer_init()
157 vcp_register_param.aics_param[i].min_gain = -100; in vcp_vol_renderer_init()
158 vcp_register_param.aics_param[i].max_gain = 100; in vcp_vol_renderer_init()
159 vcp_register_param.aics_param[i].cb = &aics_cbs; in vcp_vol_renderer_init()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dmicp_mic_dev_test.c303 for (int i = 0; i < ARRAY_SIZE(micp_param.aics_param); i++) { in test_mic_dev_only()
304 micp_param.aics_param[i].desc_writable = true; in test_mic_dev_only()
306 micp_param.aics_param[i].description = input_desc[i]; in test_mic_dev_only()
307 micp_param.aics_param[i].type = BT_AICS_INPUT_TYPE_DIGITAL; in test_mic_dev_only()
308 micp_param.aics_param[i].status = g_aics_active; in test_mic_dev_only()
309 micp_param.aics_param[i].gain_mode = BT_AICS_MODE_MANUAL; in test_mic_dev_only()
310 micp_param.aics_param[i].units = 1; in test_mic_dev_only()
311 micp_param.aics_param[i].min_gain = 0; in test_mic_dev_only()
312 micp_param.aics_param[i].max_gain = 100; in test_mic_dev_only()
313 micp_param.aics_param[i].cb = &aics_cb; in test_mic_dev_only()
[all …]
Dcap_acceptor_test.c817 for (size_t i = 0U; i < ARRAY_SIZE(vcp_param.aics_param); i++) { in init()
818 vcp_param.aics_param[i].desc_writable = true; in init()
820 vcp_param.aics_param[i].description = input_desc[i]; in init()
821 vcp_param.aics_param[i].type = BT_AICS_INPUT_TYPE_DIGITAL; in init()
822 vcp_param.aics_param[i].status = true; in init()
823 vcp_param.aics_param[i].gain_mode = BT_AICS_MODE_MANUAL; in init()
824 vcp_param.aics_param[i].units = 1; in init()
825 vcp_param.aics_param[i].min_gain = 0; in init()
826 vcp_param.aics_param[i].max_gain = 100; in init()
827 vcp_param.aics_param[i].cb = NULL; in init()
[all …]
Dvcp_vol_rend_test.c760 for (int i = 0; i < ARRAY_SIZE(vcp_register_param.aics_param); i++) { in test_register()
761 vcp_register_param.aics_param[i].desc_writable = true; in test_register()
764 vcp_register_param.aics_param[i].description = input_desc[i]; in test_register()
765 vcp_register_param.aics_param[i].type = BT_AICS_INPUT_TYPE_DIGITAL; in test_register()
766 vcp_register_param.aics_param[i].status = g_aics_active; in test_register()
767 vcp_register_param.aics_param[i].gain_mode = BT_AICS_MODE_MANUAL; in test_register()
768 vcp_register_param.aics_param[i].units = 1; in test_register()
769 vcp_register_param.aics_param[i].min_gain = 0; in test_register()
770 vcp_register_param.aics_param[i].max_gain = 100; in test_register()
771 vcp_register_param.aics_param[i].cb = &aics_cb; in test_register()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_micp.c444 for (size_t i = 0; i < ARRAY_SIZE(mic_dev_register_param.aics_param); i++) { in tester_init_mics()
445 mic_dev_register_param.aics_param[i].desc_writable = true; in tester_init_mics()
448 mic_dev_register_param.aics_param[i].description = input_desc[i]; in tester_init_mics()
449 mic_dev_register_param.aics_param[i].type = BT_AICS_INPUT_TYPE_DIGITAL; in tester_init_mics()
450 mic_dev_register_param.aics_param[i].status = 1; in tester_init_mics()
451 mic_dev_register_param.aics_param[i].gain_mode = BT_AICS_MODE_MANUAL; in tester_init_mics()
452 mic_dev_register_param.aics_param[i].units = 1; in tester_init_mics()
453 mic_dev_register_param.aics_param[i].min_gain = 0; in tester_init_mics()
454 mic_dev_register_param.aics_param[i].max_gain = 100; in tester_init_mics()
455 mic_dev_register_param.aics_param[i].cb = &aics_mic_dev_cb; in tester_init_mics()
Dbtp_vcp.c494 for (size_t i = 0; i < ARRAY_SIZE(vcp_register_param.aics_param); i++) { in set_register_params()
495 vcp_register_param.aics_param[i].desc_writable = true; in set_register_params()
498 vcp_register_param.aics_param[i].description = input_desc[i]; in set_register_params()
499 vcp_register_param.aics_param[i].type = BT_AICS_INPUT_TYPE_DIGITAL; in set_register_params()
500 vcp_register_param.aics_param[i].status = 1; in set_register_params()
501 vcp_register_param.aics_param[i].gain_mode = gain_mode; in set_register_params()
502 vcp_register_param.aics_param[i].units = 1; in set_register_params()
503 vcp_register_param.aics_param[i].min_gain = 0; in set_register_params()
504 vcp_register_param.aics_param[i].max_gain = 100; in set_register_params()
505 vcp_register_param.aics_param[i].cb = &aics_server_cb; in set_register_params()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dmicp_mic_dev.c126 for (int i = 0; i < ARRAY_SIZE(micp_param.aics_param); i++) { in cmd_micp_mic_dev_param()
127 micp_param.aics_param[i].desc_writable = true; in cmd_micp_mic_dev_param()
130 micp_param.aics_param[i].description = input_desc[i]; in cmd_micp_mic_dev_param()
131 micp_param.aics_param[i].type = BT_AICS_INPUT_TYPE_UNSPECIFIED; in cmd_micp_mic_dev_param()
132 micp_param.aics_param[i].status = true; in cmd_micp_mic_dev_param()
133 micp_param.aics_param[i].gain_mode = BT_AICS_MODE_MANUAL; in cmd_micp_mic_dev_param()
134 micp_param.aics_param[i].units = 1; in cmd_micp_mic_dev_param()
135 micp_param.aics_param[i].min_gain = -100; in cmd_micp_mic_dev_param()
136 micp_param.aics_param[i].max_gain = 100; in cmd_micp_mic_dev_param()
137 micp_param.aics_param[i].cb = &aics_cb; in cmd_micp_mic_dev_param()
Dvcp_vol_rend.c197 for (int i = 0; i < ARRAY_SIZE(vcp_register_param.aics_param); i++) { in cmd_vcp_vol_rend_init()
198 vcp_register_param.aics_param[i].desc_writable = true; in cmd_vcp_vol_rend_init()
201 vcp_register_param.aics_param[i].description = input_desc[i]; in cmd_vcp_vol_rend_init()
202 vcp_register_param.aics_param[i].type = BT_AICS_INPUT_TYPE_UNSPECIFIED; in cmd_vcp_vol_rend_init()
203 vcp_register_param.aics_param[i].status = true; in cmd_vcp_vol_rend_init()
204 vcp_register_param.aics_param[i].gain_mode = BT_AICS_MODE_MANUAL; in cmd_vcp_vol_rend_init()
205 vcp_register_param.aics_param[i].units = 1; in cmd_vcp_vol_rend_init()
206 vcp_register_param.aics_param[i].min_gain = -100; in cmd_vcp_vol_rend_init()
207 vcp_register_param.aics_param[i].max_gain = 100; in cmd_vcp_vol_rend_init()
208 vcp_register_param.aics_param[i].cb = &aics_cbs; in cmd_vcp_vol_rend_init()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dmicp.h74 struct bt_aics_register_param aics_param[BT_MICP_MIC_DEV_AICS_CNT]; member
Dvcp.h102 struct bt_aics_register_param aics_param[BT_VCP_VOL_REND_AICS_CNT]; member
/Zephyr-latest/subsys/bluetooth/audio/
Dmicp_mic_dev.c167 &param->aics_param[j]); in prepare_aics_inst()
Dvcp_vol_rend.c410 &param->aics_param[j]); in prepare_aics_inst()