Lines Matching refs:rsp

196 	struct net_buf *buf, *rsp;  in hci_le_setup_iso_data_path()  local
227 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SETUP_ISO_PATH, buf, &rsp); in hci_le_setup_iso_data_path()
232 rp = (void *)rsp->data; in hci_le_setup_iso_data_path()
237 net_buf_unref(rsp); in hci_le_setup_iso_data_path()
985 struct net_buf *rsp = NULL; in bt_iso_chan_get_tx_sync() local
1015 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_READ_ISO_TX_SYNC, buf, &rsp); in bt_iso_chan_get_tx_sync()
1020 if (rsp) { in bt_iso_chan_get_tx_sync()
1021 rp = (struct bt_hci_rp_le_read_iso_tx_sync *)rsp->data; in bt_iso_chan_get_tx_sync()
1027 net_buf_unref(rsp); in bt_iso_chan_get_tx_sync()
1598 struct net_buf *buf, *rsp; in hci_le_remove_iso_data_path() local
1610 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_REMOVE_ISO_PATH, buf, &rsp); in hci_le_remove_iso_data_path()
1615 rp = (void *)rsp->data; in hci_le_remove_iso_data_path()
1620 net_buf_unref(rsp); in hci_le_remove_iso_data_path()
1723 struct net_buf *rsp; in hci_le_set_cig_params() local
1797 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_CIG_PARAMS, buf, &rsp); in hci_le_set_cig_params()
1802 return rsp; in hci_le_set_cig_params()
1812 struct net_buf *rsp; in hci_le_set_cig_test_params() local
1892 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_CIG_PARAMS_TEST, buf, &rsp); in hci_le_set_cig_test_params()
1897 return rsp; in hci_le_set_cig_test_params()
2137 struct net_buf *rsp; in bt_iso_cig_create() local
2195 rsp = hci_le_set_cig_params(cig, param); in bt_iso_cig_create()
2198 rsp = hci_le_set_cig_test_params(cig, param); in bt_iso_cig_create()
2202 if (rsp == NULL) { in bt_iso_cig_create()
2209 cig_rsp = (void *)rsp->data; in bt_iso_cig_create()
2211 if (rsp->len < sizeof(cig_rsp) || cig_rsp->num_handles != param->num_cis) { in bt_iso_cig_create()
2214 net_buf_unref(rsp); in bt_iso_cig_create()
2227 net_buf_unref(rsp); in bt_iso_cig_create()
2258 struct net_buf *rsp; in bt_iso_cig_reconfigure() local
2296 rsp = hci_le_set_cig_params(cig, param); in bt_iso_cig_reconfigure()
2299 rsp = hci_le_set_cig_test_params(cig, param); in bt_iso_cig_reconfigure()
2303 if (rsp == NULL) { in bt_iso_cig_reconfigure()
2310 cig_rsp = (void *)rsp->data; in bt_iso_cig_reconfigure()
2312 if (rsp->len < sizeof(*cig_rsp)) { in bt_iso_cig_reconfigure()
2313 LOG_WRN("Unexpected response len to hci_le_set_cig_params %u != %zu", rsp->len, in bt_iso_cig_reconfigure()
2316 net_buf_unref(rsp); in bt_iso_cig_reconfigure()
2325 net_buf_unref(rsp); in bt_iso_cig_reconfigure()
2338 net_buf_unref(rsp); in bt_iso_cig_reconfigure()
3234 struct net_buf *rsp; in hci_le_big_sync_term() local
3244 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_BIG_TERMINATE_SYNC, buf, &rsp); in hci_le_big_sync_term()
3249 evt = (struct bt_hci_rp_le_big_terminate_sync *)rsp->data; in hci_le_big_sync_term()
3254 net_buf_unref(rsp); in hci_le_big_sync_term()