Lines Matching refs:cp
252 struct bt_hci_cp_accept_sync_conn_req *cp; in accept_sco_conn() local
261 buf = bt_hci_cmd_create(BT_HCI_OP_ACCEPT_SYNC_CONN_REQ, sizeof(*cp)); in accept_sco_conn()
266 cp = net_buf_add(buf, sizeof(*cp)); in accept_sco_conn()
267 bt_addr_copy(&cp->bdaddr, bdaddr); in accept_sco_conn()
268 cp->pkt_type = sco_conn->sco.pkt_type; in accept_sco_conn()
269 cp->tx_bandwidth = 0x00001f40; in accept_sco_conn()
270 cp->rx_bandwidth = 0x00001f40; in accept_sco_conn()
271 cp->max_latency = 0x0007; in accept_sco_conn()
272 cp->retrans_effort = 0x01; in accept_sco_conn()
273 cp->content_format = BT_VOICE_CVSD_16BIT; in accept_sco_conn()
334 struct bt_hci_cp_setup_sync_conn *cp; in sco_setup_sync_conn() local
337 buf = bt_hci_cmd_create(BT_HCI_OP_SETUP_SYNC_CONN, sizeof(*cp)); in sco_setup_sync_conn()
342 cp = net_buf_add(buf, sizeof(*cp)); in sco_setup_sync_conn()
344 (void)memset(cp, 0, sizeof(*cp)); in sco_setup_sync_conn()
348 cp->handle = sco_conn->sco.acl->handle; in sco_setup_sync_conn()
349 cp->pkt_type = sco_conn->sco.pkt_type; in sco_setup_sync_conn()
350 cp->tx_bandwidth = 0x00001f40; in sco_setup_sync_conn()
351 cp->rx_bandwidth = 0x00001f40; in sco_setup_sync_conn()
352 cp->max_latency = 0x0007; in sco_setup_sync_conn()
353 cp->retrans_effort = 0x01; in sco_setup_sync_conn()
354 cp->content_format = BT_VOICE_CVSD_16BIT; in sco_setup_sync_conn()