Lines Matching refs:cp
177 struct bt_hci_cp_read_codec_capabilities *cp; in ZTEST() local
188 buf = bt_hci_cmd_create(BT_HCI_OP_READ_CODEC_CAPABILITIES, sizeof(*cp)); in ZTEST()
189 cp = net_buf_add(buf, sizeof(*cp)); 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()
194 cp->transport = READ_CAPABS_TRANSPORT; in ZTEST()
195 cp->direction = READ_CAPABS_DIRECTION; in ZTEST()
259 struct bt_hci_cp_read_ctlr_delay *cp; in ZTEST() local
269 buf = bt_hci_cmd_create(BT_HCI_OP_READ_CTLR_DELAY, sizeof(*cp)); in ZTEST()
270 cp = net_buf_add(buf, sizeof(*cp) + sizeof(read_delay_codec_config)); 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()
275 cp->transport = READ_DELAY_TRANSPORT; in ZTEST()
276 cp->direction = READ_DELAY_DIRECTION; in ZTEST()
277 cp->codec_config_len = sizeof(read_delay_codec_config); in ZTEST()
278 memcpy(cp->codec_config, read_delay_codec_config, in ZTEST()