/Zephyr-latest/tests/bluetooth/tester/src/audio/ |
D | btp_bap_broadcast.c | 310 void *rsp, uint16_t *rsp_len) in btp_bap_broadcast_source_setup() argument 326 struct btp_bap_broadcast_source_setup_rp *rp = rsp; in btp_bap_broadcast_source_setup() 422 void *rsp, uint16_t *rsp_len) in btp_bap_broadcast_source_release() argument 442 void *rsp, uint16_t *rsp_len) in btp_bap_broadcast_adv_start() argument 469 void *rsp, uint16_t *rsp_len) in btp_bap_broadcast_adv_stop() argument 486 void *rsp, uint16_t *rsp_len) in btp_bap_broadcast_source_start() argument 509 void *rsp, uint16_t *rsp_len) in btp_bap_broadcast_source_stop() argument 1063 void *rsp, uint16_t *rsp_len) in btp_bap_broadcast_sink_setup() argument 1091 void *rsp, uint16_t *rsp_len) in btp_bap_broadcast_sink_release() argument 1103 void *rsp, uint16_t *rsp_len) in btp_bap_broadcast_scan_start() argument [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | msg.h | 55 struct net_buf_simple *buf, const struct bt_mesh_msg_rsp_ctx *rsp);
|
D | sol_pdu_rpl_cli.c | 100 const struct bt_mesh_msg_rsp_ctx rsp = { in bt_mesh_sol_pdu_rpl_clear() local 125 (start_rsp && len_rsp) ? &rsp : NULL); in bt_mesh_sol_pdu_rpl_clear()
|
D | rpr_cli.c | 169 struct bt_mesh_rpr_link *rsp; in handle_link_status() local 179 srv.addr, (void **)&rsp)) { in handle_link_status() 180 *rsp = link; in handle_link_status() 424 struct net_buf_simple *buf, uint32_t rsp, void *rsp_ctx) in tx_wait() argument 429 err = bt_mesh_msg_ack_ctx_prepare(ack_ctx, rsp, srv->addr, rsp_ctx); in tx_wait() 564 struct bt_mesh_rpr_link *rsp) in bt_mesh_rpr_link_get() argument 569 return tx_wait(cli, &cli->prov_ack_ctx, srv, &buf, RPR_OP_LINK_STATUS, rsp); in bt_mesh_rpr_link_get() 574 struct bt_mesh_rpr_link *rsp) in bt_mesh_rpr_link_close() argument 580 return tx_wait(cli, &cli->prov_ack_ctx, srv, &buf, RPR_OP_LINK_STATUS, rsp); in bt_mesh_rpr_link_close()
|
/Zephyr-latest/tests/bluetooth/host/id/bt_setup_random_id_addr/src/ |
D | main.c | 55 struct net_buf **rsp) in bt_hci_cmd_send_sync_custom_fake() argument 62 zassert_not_null(rsp, "'%s()' was called with incorrect '%s' value", func_name, "rsp"); in bt_hci_cmd_send_sync_custom_fake() 64 *rsp = &hci_cmd_rsp; in bt_hci_cmd_send_sync_custom_fake()
|
D | test_suite_bt_privacy_enabled.c | 50 struct net_buf **rsp) in bt_hci_cmd_send_sync_custom_fake() argument 57 zassert_not_null(rsp, "'%s()' was called with incorrect '%s' value", func_name, "rsp"); in bt_hci_cmd_send_sync_custom_fake() 59 *rsp = &hci_cmd_rsp; in bt_hci_cmd_send_sync_custom_fake()
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_l2cap.c | 237 void *rsp, uint16_t *rsp_len) in connect() argument 240 struct btp_l2cap_connect_rp *rp = rsp; in connect() 312 void *rsp, uint16_t *rsp_len) in disconnect() argument 334 void *rsp, uint16_t *rsp_len) in reconfigure() argument 385 void *rsp, uint16_t *rsp_len) in disconnect_eatt_chans() argument 412 void *rsp, uint16_t *rsp_len) in send_data() argument 517 void *rsp, uint16_t *rsp_len) in listen() argument 566 void *rsp, uint16_t *rsp_len) in credits() argument 603 void *rsp, uint16_t *rsp_len) in supported_commands() argument 605 struct btp_l2cap_read_supported_commands_rp *rp = rsp; in supported_commands()
|
D | btp.c | 38 uint8_t rsp[BTP_MTU]; member 112 cmd->rsp, &rsp_len); in cmd_handler() 131 cmd->hdr.index, cmd->rsp, rsp_len); in cmd_handler() 320 void tester_rsp_full(uint8_t service, uint8_t opcode, const void *rsp, size_t len) in tester_rsp_full() argument 329 tester_send_with_index(service, opcode, BTP_INDEX, rsp, len); in tester_rsp_full()
|
D | btp_ots.c | 41 void *rsp, uint16_t *rsp_len) in ots_supported_commands() argument 43 struct btp_ots_read_supported_commands_rp *rp = rsp; in ots_supported_commands() 66 void *rsp, uint16_t *rsp_len) in register_object() argument 69 struct btp_ots_register_object_rp *rp = rsp; in register_object()
|
/Zephyr-latest/drivers/wifi/eswifi/ |
D | eswifi_bus_uart.c | 191 size_t clen, char *rsp, size_t rlen) in eswifi_uart_request() argument 197 LOG_DBG("cmd=%p (%u byte), rsp=%p (%u byte)", cmd, clen, rsp, rlen); in eswifi_uart_request() 206 uart->rx_buf = rsp; in eswifi_uart_request()
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_collision/src/ |
D | main.c | 156 struct pdu_data_llctrl_phy_req rsp = { .rx_phys = PHY_1M | PHY_2M, in ZTEST() local 244 lt_tx(LL_PHY_RSP, &conn, &rsp); in ZTEST() 326 struct pdu_data_llctrl_phy_req rsp = { .rx_phys = PHY_1M | PHY_2M, in ZTEST() local 417 lt_tx(LL_PHY_RSP, &conn, &rsp); in ZTEST() 497 struct pdu_data_llctrl_phy_req rsp = { .rx_phys = PHY_2M, .tx_phys = PHY_2M }; in ZTEST() local 545 lt_rx(LL_PHY_RSP, &conn, &tx, &rsp); in ZTEST() 633 struct pdu_data_llctrl_phy_req rsp = { .rx_phys = PHY_1M | PHY_2M, in ZTEST() local 697 lt_tx(LL_PHY_RSP, &conn, &rsp); in ZTEST()
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | bap.h | 1215 struct bt_bap_qos_cfg_pref *const pref, struct bt_bap_ascs_rsp *rsp); 1235 struct bt_bap_qos_cfg_pref *const pref, struct bt_bap_ascs_rsp *rsp); 1251 struct bt_bap_ascs_rsp *rsp); 1267 struct bt_bap_ascs_rsp *rsp); 1280 int (*start)(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp); 1296 struct bt_bap_ascs_rsp *rsp); 1309 int (*disable)(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp); 1322 int (*stop)(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp); 1336 int (*release)(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp);
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | dfu.c | 577 struct bt_mesh_dfu_target_status rsp; in cmd_dfu_target_state() local 591 &ctx, &rsp); in cmd_dfu_target_state() 599 shell_print(sh, "\tStatus: %u", rsp.status); in cmd_dfu_target_state() 600 shell_print(sh, "\tPhase: %u", rsp.phase); in cmd_dfu_target_state() 601 if (rsp.phase != BT_MESH_DFU_PHASE_IDLE) { in cmd_dfu_target_state() 602 shell_print(sh, "\tEffect: %u", rsp.effect); in cmd_dfu_target_state() 603 shell_print(sh, "\tImg Idx: %u", rsp.img_idx); in cmd_dfu_target_state() 604 shell_print(sh, "\tTTL: %u", rsp.ttl); in cmd_dfu_target_state() 605 shell_print(sh, "\tTimeout base: %u", rsp.timeout_base); in cmd_dfu_target_state() 668 struct bt_mesh_dfu_metadata_status rsp; in cmd_dfu_target_check() local [all …]
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_server_http2.c | 498 struct http_response_ctx *rsp, enum http_data_status data_status, in http2_dynamic_response() argument 503 bool final_response = http_response_is_final(rsp, data_status); in http2_dynamic_response() 505 if (client->current_stream->headers_sent && (rsp->header_count > 0 || rsp->status != 0)) { in http2_dynamic_response() 512 if (rsp->status == 0) { in http2_dynamic_response() 513 rsp->status = 200; in http2_dynamic_response() 516 if (rsp->status < HTTP_100_CONTINUE || in http2_dynamic_response() 517 rsp->status > HTTP_511_NETWORK_AUTHENTICATION_REQUIRED) { in http2_dynamic_response() 518 LOG_DBG("Invalid HTTP status code: %d", rsp->status); in http2_dynamic_response() 522 if (rsp->headers == NULL && rsp->header_count > 0) { in http2_dynamic_response() 527 if (final_response && rsp->body_len == 0) { in http2_dynamic_response() [all …]
|
D | http_server_core.c | 812 bool http_response_is_final(struct http_response_ctx *rsp, enum http_data_status status) in http_response_is_final() argument 818 if (rsp->final_chunk || in http_response_is_final() 819 (rsp->status == 0 && rsp->header_count == 0 && rsp->body_len == 0)) { in http_response_is_final() 826 bool http_response_is_provided(struct http_response_ctx *rsp) in http_response_is_provided() argument 828 if (rsp->status != 0 || rsp->header_count > 0 || rsp->body_len > 0) { in http_response_is_provided()
|
/Zephyr-latest/tests/net/lib/coap/src/ |
D | main.c | 538 static void prepare_block1_response(struct coap_packet *rsp, in prepare_block1_response() argument 559 r = coap_packet_init(rsp, data, COAP_BUF_SIZE, COAP_VERSION_1, in prepare_block1_response() 564 r = coap_append_block1_option(rsp, rsp_ctx); in prepare_block1_response() 611 struct coap_packet rsp; in ZTEST() local 622 prepare_block1_response(&rsp, &rsp_ctx, &req); in ZTEST() 635 struct coap_packet *rsp) in prepare_block2_request() argument 646 coap_next_block(rsp, req_ctx); in prepare_block2_request() 659 static void prepare_block2_response(struct coap_packet *rsp, in prepare_block2_response() argument 685 r = coap_packet_init(rsp, data, COAP_BUF_SIZE, COAP_VERSION_1, in prepare_block2_response() 690 r = coap_append_block2_option(rsp, rsp_ctx); in prepare_block2_response() [all …]
|
/Zephyr-latest/tests/bluetooth/controller/ctrl_phy_update/src/ |
D | main.c | 122 struct pdu_data_llctrl_phy_req rsp = { .rx_phys = PHY_1M | PHY_2M, in ZTEST() local 166 lt_tx(LL_PHY_RSP, &conn, &rsp); in ZTEST() 679 struct pdu_data_llctrl_phy_req rsp = { .rx_phys = PHY_1M | PHY_2M | PHY_CODED, in ZTEST() local 713 lt_rx(LL_PHY_RSP, &conn, &tx, &rsp); in ZTEST() 843 struct pdu_data_llctrl_phy_req rsp = { .rx_phys = PHY_1M | PHY_2M | PHY_CODED, in ZTEST() local 872 lt_rx(LL_PHY_RSP, &conn, &tx, &rsp); in ZTEST() 902 struct pdu_data_llctrl_phy_req rsp = { .rx_phys = PHY_1M | PHY_2M, in ZTEST() local 990 lt_tx(LL_PHY_RSP, &conn, &rsp); in ZTEST() 1072 struct pdu_data_llctrl_phy_req rsp = { .rx_phys = PHY_1M | PHY_2M, in ZTEST() local 1177 lt_tx(LL_PHY_RSP, &conn, &rsp); in ZTEST() [all …]
|
/Zephyr-latest/tests/bluetooth/tester/src/btp/ |
D | bttester.h | 32 void tester_rsp_full(uint8_t service, uint8_t opcode, const void *rsp, size_t len); 49 void *rsp, uint16_t *rsp_len);
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | br.c | 109 struct net_buf *buf, *rsp; in br_sufficient_key_size() local 122 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_ENCRYPTION_KEY_SIZE, buf, &rsp); in br_sufficient_key_size() 128 if (rsp->len < sizeof(*rp)) { in br_sufficient_key_size() 130 net_buf_unref(rsp); in br_sufficient_key_size() 134 rp = (void *)rsp->data; in br_sufficient_key_size() 136 net_buf_unref(rsp); in br_sufficient_key_size() 690 struct net_buf *buf, *rsp; in read_ext_features() local 701 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_LOCAL_EXT_FEATURES, buf, &rsp); in read_ext_features() 706 rp = (void *)rsp->data; in read_ext_features() 711 net_buf_unref(rsp); in read_ext_features() [all …]
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | iso.c | 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 [all …]
|
D | id.c | 1499 struct net_buf *rsp; in bt_read_identity_root() local 1507 &rsp); in bt_read_identity_root() 1514 rsp->len != sizeof(struct bt_hci_rp_vs_read_key_hierarchy_roots)) { in bt_read_identity_root() 1516 net_buf_unref(rsp); in bt_read_identity_root() 1520 rp = (void *)rsp->data; in bt_read_identity_root() 1523 net_buf_unref(rsp); in bt_read_identity_root() 1531 struct net_buf *rsp; in bt_id_read_public_addr() local 1540 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_BD_ADDR, NULL, &rsp); in bt_id_read_public_addr() 1546 rp = (void *)rsp->data; in bt_id_read_public_addr() 1551 net_buf_unref(rsp); in bt_id_read_public_addr() [all …]
|
D | gatt.c | 3825 const struct bt_att_handle_group *rsp = pdu; in gatt_find_type_rsp() local 3844 start_handle = sys_le16_to_cpu(rsp[i].start_handle); in gatt_find_type_rsp() 3845 end_handle = sys_le16_to_cpu(rsp[i].end_handle); in gatt_find_type_rsp() 4011 const struct bt_att_read_type_rsp *rsp; in parse_include() local 4020 if (length < sizeof(*rsp)) { in parse_include() 4025 rsp = pdu; in parse_include() 4028 switch (rsp->len) { in parse_include() 4040 LOG_ERR("Invalid data len %u", rsp->len); in parse_include() 4045 for (length--, pdu = rsp->data; length >= rsp->len; in parse_include() 4046 length -= rsp->len, pdu = (const uint8_t *)pdu + rsp->len) { in parse_include() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | dfu_cli.h | 371 struct bt_mesh_dfu_metadata_status *rsp); 383 struct bt_mesh_dfu_target_status *rsp);
|
/Zephyr-latest/tests/lib/onoff/src/ |
D | main.c | 194 struct isr_call_state *rsp = k_timer_user_data_get(timer); in isr_request() local 196 rsp->result = onoff_request(rsp->srv, rsp->cli); in isr_request() 202 struct isr_call_state *rsp = k_timer_user_data_get(timer); in isr_release() local 204 rsp->result = onoff_release(rsp->srv); in isr_release() 210 struct isr_call_state *rsp = k_timer_user_data_get(timer); in isr_reset() local 212 rsp->result = onoff_reset(rsp->srv, rsp->cli); in isr_reset()
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | hci.h | 105 struct net_buf **rsp);
|