/Zephyr-latest/tests/bluetooth/hci_codecs_info/src/ |
D | main.c | 105 zassert_equal(codec->codec_id, std_codecs[i].codec_id, in ZTEST() 122 zassert_equal(codec->codec_id, in ZTEST() 123 sys_cpu_to_le16(vs_codecs[i].codec_id), in ZTEST() 191 cp->codec_id.coding_format = READ_CAPABS_CODING_FMT; in ZTEST() 192 cp->codec_id.company_id = sys_cpu_to_le16(READ_CAPABS_COMPANY_ID); in ZTEST() 193 cp->codec_id.vs_codec_id = sys_cpu_to_le16(READ_CAPABS_VS_CODEC_ID); in ZTEST() 272 cp->codec_id.coding_format = READ_DELAY_CODING_FMT; in ZTEST() 273 cp->codec_id.company_id = sys_cpu_to_le16(READ_DELAY_COMPANY_ID); in ZTEST() 274 cp->codec_id.vs_codec_id = sys_cpu_to_le16(READ_DELAY_VS_CODEC_ID); in ZTEST()
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | bap_base.c | 62 struct bt_bap_base_codec_id *codec_id) in base_pull_codec_id() argument 70 if (codec_id != NULL) { in base_pull_codec_id() 71 *codec_id = codec; in base_pull_codec_id() 370 struct bt_bap_base_codec_id *codec_id) in bt_bap_base_get_subgroup_codec_id() argument 380 CHECKIF(codec_id == NULL) { in bt_bap_base_get_subgroup_codec_id() 388 base_pull_codec_id(&net_buf, codec_id); in bt_bap_base_get_subgroup_codec_id() 447 struct bt_bap_base_codec_id codec_id; in bt_bap_base_subgroup_codec_to_codec_cfg() local 466 base_pull_codec_id(&net_buf, &codec_id); in bt_bap_base_subgroup_codec_to_codec_cfg() 468 codec_cfg->id = codec_id.id; in bt_bap_base_subgroup_codec_to_codec_cfg() 469 codec_cfg->cid = codec_id.cid; in bt_bap_base_subgroup_codec_to_codec_cfg() [all …]
|
/Zephyr-latest/tests/bluetooth/audio/bap_base/src/ |
D | main.c | 294 struct bt_bap_base_codec_id codec_id; in test_base_get_subgroup_codec_id_cb() local 297 ret = bt_bap_base_get_subgroup_codec_id(subgroup, &codec_id); in test_base_get_subgroup_codec_id_cb() 299 zassert_equal(codec_id.id, 0x06, "Unexpected codec.id value: %u", codec_id.id); in test_base_get_subgroup_codec_id_cb() 300 zassert_equal(codec_id.cid, 0x0000, "Unexpected codec.cid value: %u", codec_id.cid); in test_base_get_subgroup_codec_id_cb() 301 zassert_equal(codec_id.vid, 0x0000, "Unexpected codec.vid value: %u", codec_id.vid); in test_base_get_subgroup_codec_id_cb() 320 struct bt_bap_base_codec_id codec_id; in test_base_get_subgroup_codec_id_inval_param_null_subgroup_cb() local 323 ret = bt_bap_base_get_subgroup_codec_id(NULL, &codec_id); in test_base_get_subgroup_codec_id_inval_param_null_subgroup_cb()
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | audio.h | 814 struct bt_bap_base_codec_id *codec_id = user_data; in print_base_subgroup_bis_cb() local 821 if (codec_id->id == BT_HCI_CODING_FORMAT_LC3) { in print_base_subgroup_bis_cb() 823 .id = codec_id->id, in print_base_subgroup_bis_cb() 824 .cid = codec_id->cid, in print_base_subgroup_bis_cb() 825 .vid = codec_id->vid, in print_base_subgroup_bis_cb() 856 struct bt_bap_base_codec_id codec_id; in print_base_subgroup_cb() local 863 ret = bt_bap_base_get_subgroup_codec_id(subgroup, &codec_id); in print_base_subgroup_cb() 868 shell_print(ctx_shell, "%*sCodec Format: 0x%02X", indent, "", codec_id.id); in print_base_subgroup_cb() 869 shell_print(ctx_shell, "%*sCompany ID : 0x%04X", indent, "", codec_id.cid); in print_base_subgroup_cb() 870 shell_print(ctx_shell, "%*sVendor ID : 0x%04X", indent, "", codec_id.vid); in print_base_subgroup_cb() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | hci_types.h | 921 uint8_t codec_id; member 929 uint16_t codec_id; member 943 uint8_t codec_id; member 952 uint16_t codec_id; member 973 struct bt_hci_cp_codec_id codec_id; member 990 struct bt_hci_cp_codec_id codec_id; member 2278 struct bt_hci_cp_codec_id codec_id; member
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 1177 codec->codec_id = std_codec_info[i].codec_id; in read_codecs_v2() 1190 codec->codec_id = sys_cpu_to_le16(vs_codec_info[i].codec_id); in read_codecs_v2() 1229 company_id = sys_le16_to_cpu(cmd->codec_id.company_id); in read_codec_capabilities() 1230 vs_codec_id = sys_le16_to_cpu(cmd->codec_id.vs_codec_id); in read_codec_capabilities() 1233 status = hci_vendor_read_codec_capabilities(cmd->codec_id.coding_format, in read_codec_capabilities() 1286 company_id = sys_le16_to_cpu(cmd->codec_id.company_id); in read_ctlr_delay() 1287 vs_codec_id = sys_le16_to_cpu(cmd->codec_id.vs_codec_id); in read_ctlr_delay() 1289 status = hci_vendor_read_ctlr_delay(cmd->codec_id.coding_format, in read_ctlr_delay() 2356 coding_format = cmd->codec_id.coding_format; in le_setup_iso_path() 2357 company_id = sys_le16_to_cpu(cmd->codec_id.company_id); in le_setup_iso_path() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | bap.h | 1902 struct bt_bap_base_codec_id *codec_id);
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | iso.c | 218 cp->codec_id.coding_format = path->format; in hci_le_setup_iso_data_path() 219 cp->codec_id.company_id = sys_cpu_to_le16(path->cid); in hci_le_setup_iso_data_path() 220 cp->codec_id.vs_codec_id = sys_cpu_to_le16(path->vid); in hci_le_setup_iso_data_path()
|