Lines Matching refs:cp
55 struct bt_hci_cp_read_rssi *cp; in read_conn_rssi() local
60 buf = bt_hci_cmd_create(BT_HCI_OP_READ_RSSI, sizeof(*cp)); in read_conn_rssi()
66 cp = net_buf_add(buf, sizeof(*cp)); in read_conn_rssi()
67 cp->handle = sys_cpu_to_le16(handle); in read_conn_rssi()
84 struct bt_hci_cp_vs_write_tx_power_level *cp; in set_tx_power() local
90 sizeof(*cp)); in set_tx_power()
96 cp = net_buf_add(buf, sizeof(*cp)); in set_tx_power()
97 cp->handle = sys_cpu_to_le16(handle); in set_tx_power()
98 cp->handle_type = handle_type; in set_tx_power()
99 cp->tx_power_level = tx_pwr_lvl; in set_tx_power()
116 struct bt_hci_cp_vs_read_tx_power_level *cp; in get_tx_power() local
123 sizeof(*cp)); in get_tx_power()
129 cp = net_buf_add(buf, sizeof(*cp)); in get_tx_power()
130 cp->handle = sys_cpu_to_le16(handle); in get_tx_power()
131 cp->handle_type = handle_type; in get_tx_power()