Home
last modified time | relevance | path

Searched refs:rsp (Results 1 – 25 of 152) sorted by relevance

1234567

/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dsar.c17 struct bt_mesh_sar_tx rsp; in cmd_tx_get() local
21 bt_mesh_shell_target_ctx.dst, &rsp); in cmd_tx_get()
29 rsp.seg_int_step, rsp.unicast_retrans_count, in cmd_tx_get()
30 rsp.unicast_retrans_without_prog_count, in cmd_tx_get()
31 rsp.unicast_retrans_int_step, rsp.unicast_retrans_int_inc, in cmd_tx_get()
32 rsp.multicast_retrans_count, rsp.multicast_retrans_int); in cmd_tx_get()
39 struct bt_mesh_sar_tx set, rsp; in cmd_tx_set() local
56 bt_mesh_shell_target_ctx.dst, &set, &rsp); in cmd_tx_set()
63 rsp.seg_int_step, rsp.unicast_retrans_count, in cmd_tx_set()
64 rsp.unicast_retrans_without_prog_count, in cmd_tx_set()
[all …]
Dbrg_cfg.c17 enum bt_mesh_brg_cfg_state rsp; in cmd_subnet_bridge_get() local
21 bt_mesh_shell_target_ctx.dst, &rsp); in cmd_subnet_bridge_get()
28 (rsp == BT_MESH_BRG_CFG_ENABLED) ? "Enabled" : "Disabled"); in cmd_subnet_bridge_get()
34 enum bt_mesh_brg_cfg_state set, rsp; in cmd_subnet_bridge_set() local
46 bt_mesh_shell_target_ctx.dst, set, &rsp); in cmd_subnet_bridge_set()
53 (rsp == BT_MESH_BRG_CFG_ENABLED) ? "Enabled" : "Disabled"); in cmd_subnet_bridge_set()
59 uint16_t rsp; in cmd_bridging_table_size_get() local
63 bt_mesh_shell_target_ctx.dst, &rsp); in cmd_bridging_table_size_get()
69 shell_print(sh, "Bridging Table Size: %u", rsp); in cmd_bridging_table_size_get()
76 struct bt_mesh_brg_cfg_table_status rsp; in cmd_bridging_table_add() local
[all …]
Dlarge_comp_data.c16 static void status_print(int err, char *msg, uint16_t addr, struct bt_mesh_large_comp_data_rsp *rsp) in status_print() argument
25 "%s [0x%04x]: page: %u offset: %u total size: %u", msg, addr, rsp->page, in status_print()
26 rsp->offset, rsp->total_size); in status_print()
27 shell_hexdump(bt_mesh_shell_ctx_shell, rsp->data->data, rsp->data->len); in status_print()
33 struct bt_mesh_large_comp_data_rsp rsp = { in cmd_large_comp_data_get() local
51 bt_mesh_shell_target_ctx.dst, page, offset, &rsp); in cmd_large_comp_data_get()
52 status_print(err, "Composition Data", bt_mesh_shell_target_ctx.dst, &rsp); in cmd_large_comp_data_get()
60 struct bt_mesh_large_comp_data_rsp rsp = { in cmd_models_metadata_get() local
78 bt_mesh_shell_target_ctx.dst, page, offset, &rsp); in cmd_models_metadata_get()
79 status_print(err, "Models Metadata", bt_mesh_shell_target_ctx.dst, &rsp); in cmd_models_metadata_get()
Drpr.c87 struct bt_mesh_rpr_scan_status rsp; in cmd_scan() local
113 BT_MESH_RPR_SCAN_MAX_DEVS_ANY, &rsp); in cmd_scan()
119 if (rsp.status == BT_MESH_RPR_SUCCESS) { in cmd_scan()
122 shell_print(sh, "Scan start response: %d", rsp.status); in cmd_scan()
232 struct bt_mesh_rpr_scan_status rsp; in cmd_scan_get() local
244 err = bt_mesh_rpr_scan_get((struct bt_mesh_rpr_cli *)mod->rt->user_data, &srv, &rsp); in cmd_scan_get()
251 shell_print(sh, "\tStatus: %u", rsp.status); in cmd_scan_get()
252 shell_print(sh, "\tScan type: %u", rsp.scan); in cmd_scan_get()
253 shell_print(sh, "\tMax devices: %u", rsp.max_devs); in cmd_scan_get()
254 shell_print(sh, "\tRemaining time: %u", rsp.timeout); in cmd_scan_get()
[all …]
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_broadcast.h61 void *rsp, uint16_t *rsp_len);
63 void *rsp, uint16_t *rsp_len);
65 void *rsp, uint16_t *rsp_len);
67 void *rsp, uint16_t *rsp_len);
69 void *rsp, uint16_t *rsp_len);
71 void *rsp, uint16_t *rsp_len);
73 void *rsp, uint16_t *rsp_len);
75 void *rsp, uint16_t *rsp_len);
77 void *rsp, uint16_t *rsp_len);
79 void *rsp, uint16_t *rsp_len);
[all …]
Dbtp_bap_unicast.h62 uint8_t btp_bap_discover(const void *cmd, uint16_t cmd_len, void *rsp, uint16_t *rsp_len);
64 uint8_t btp_ascs_configure_codec(const void *cmd, uint16_t cmd_len, void *rsp, uint16_t *rsp_len);
65 uint8_t btp_ascs_configure_qos(const void *cmd, uint16_t cmd_len, void *rsp, uint16_t *rsp_len);
66 uint8_t btp_ascs_enable(const void *cmd, uint16_t cmd_len, void *rsp, uint16_t *rsp_len);
68 void *rsp, uint16_t *rsp_len);
70 void *rsp, uint16_t *rsp_len);
71 uint8_t btp_ascs_disable(const void *cmd, uint16_t cmd_len, void *rsp, uint16_t *rsp_len);
72 uint8_t btp_ascs_release(const void *cmd, uint16_t cmd_len, void *rsp, uint16_t *rsp_len);
73 uint8_t btp_ascs_update_metadata(const void *cmd, uint16_t cmd_len, void *rsp, uint16_t *rsp_len);
74 uint8_t btp_ascs_add_ase_to_cis(const void *cmd, uint16_t cmd_len, void *rsp, uint16_t *rsp_len);
[all …]
Dbtp_cas.c21 void *rsp, uint16_t *rsp_len) in cas_supported_commands() argument
23 struct btp_cas_read_supported_commands_rp *rp = rsp; in cas_supported_commands()
36 void *rsp, uint16_t *rsp_len) in cas_set_member_lock() argument
49 void *rsp, uint16_t *rsp_len) in cas_get_member_rsi() argument
51 struct btp_cas_get_member_rsi_rp *rp = rsp; in cas_get_member_rsi()
Dbtp_csis.c23 void *rsp, uint16_t *rsp_len) in csis_supported_commands() argument
25 struct btp_csis_read_supported_commands_rp *rp = rsp; in csis_supported_commands()
39 void *rsp, uint16_t *rsp_len) in csis_set_member_lock() argument
52 void *rsp, uint16_t *rsp_len) in csis_get_member_rsi() argument
54 struct btp_csis_get_member_rsi_rp *rp = rsp; in csis_get_member_rsi()
66 static uint8_t csis_sirk_type(const void *cmd, uint16_t cmd_len, void *rsp, uint16_t *rsp_len) in csis_sirk_type() argument
/Zephyr-latest/subsys/bluetooth/mesh/
Dsar_cfg_cli.c28 struct bt_mesh_sar_tx *rsp; in transmitter_status() local
31 ctx->addr, (void **)&rsp)) { in transmitter_status()
35 bt_mesh_sar_tx_decode(buf, rsp); in transmitter_status()
38 rsp->seg_int_step, rsp->unicast_retrans_count, in transmitter_status()
39 rsp->unicast_retrans_without_prog_count, in transmitter_status()
40 rsp->unicast_retrans_int_step, rsp->unicast_retrans_int_inc, in transmitter_status()
41 rsp->multicast_retrans_count, rsp->multicast_retrans_int); in transmitter_status()
52 struct bt_mesh_sar_rx *rsp; in receiver_status() local
59 ctx->addr, (void **)&rsp)) { in receiver_status()
63 bt_mesh_sar_rx_decode(buf, rsp); in receiver_status()
[all …]
Dlarge_comp_data_srv.c47 BT_MESH_MODEL_BUF_DEFINE(rsp, OP_LARGE_COMP_DATA_STATUS, in handle_large_comp_data_get()
62 bt_mesh_model_msg_init(&rsp, OP_LARGE_COMP_DATA_STATUS); in handle_large_comp_data_get()
63 net_buf_simple_add_u8(&rsp, page); in handle_large_comp_data_get()
64 net_buf_simple_add_le16(&rsp, offset); in handle_large_comp_data_get()
76 net_buf_simple_add_le16(&rsp, temp_buf.len); in handle_large_comp_data_get()
81 msg_space = net_buf_simple_tailroom(&rsp) - BT_MESH_MIC_SHORT; in handle_large_comp_data_get()
83 &rsp, temp_buf.data + offset, in handle_large_comp_data_get()
87 net_buf_simple_add_le16(&rsp, total_size); in handle_large_comp_data_get()
90 err = bt_mesh_comp_data_get_page(&rsp, page, offset); in handle_large_comp_data_get()
98 if (bt_mesh_model_send(model, ctx, &rsp, NULL, NULL)) { in handle_large_comp_data_get()
[all …]
Dlarge_comp_data_cli.c39 struct bt_mesh_large_comp_data_rsp *rsp)) in data_status() argument
41 struct bt_mesh_large_comp_data_rsp *rsp; in data_status() local
54 if (bt_mesh_msg_ack_ctx_match(&cli->ack_ctx, op, ctx->addr, (void **)&rsp)) { in data_status()
55 rsp->page = page; in data_status()
56 rsp->offset = offset; in data_status()
57 rsp->total_size = total_size; in data_status()
59 if (rsp->data) { in data_status()
60 net_buf_simple_add_mem(rsp->data, buf->data, in data_status()
61 MIN(net_buf_simple_tailroom(rsp->data), buf->len)); in data_status()
127 size_t offset, struct bt_mesh_large_comp_data_rsp *rsp) in data_get() argument
[all …]
Dbrg_cfg_cli.c24 enum bt_mesh_brg_cfg_state *rsp; in bridge_status() local
27 (void **)&rsp)) { in bridge_status()
28 *rsp = status; in bridge_status()
42 struct bt_mesh_brg_cfg_table_status *rsp; in table_status() local
60 (void **)&rsp)) { in table_status()
61 *rsp = table_status; in table_status()
75 struct bt_mesh_brg_cfg_subnets_list *rsp; in subnets_list() local
91 (void **)&rsp)) { in subnets_list()
92 rsp->net_idx_filter = subnets_list.net_idx_filter; in subnets_list()
93 rsp->start_idx = subnets_list.start_idx; in subnets_list()
[all …]
Dpriv_beacon_cli.c25 struct bt_mesh_priv_beacon *rsp; in handle_beacon_status() local
40 (void **)&rsp)) { in handle_beacon_status()
41 rsp->enabled = beacon; in handle_beacon_status()
42 rsp->rand_interval = rand_int; in handle_beacon_status()
63 uint8_t *rsp; in handle_gatt_proxy_status() local
76 (void **)&rsp)) { in handle_gatt_proxy_status()
77 *rsp = proxy; in handle_gatt_proxy_status()
93 struct bt_mesh_priv_node_id *rsp; in handle_node_id_status() local
109 (void **)&rsp)) { in handle_node_id_status()
110 rsp->net_idx = net_idx; in handle_node_id_status()
[all …]
Dmsg.c108 struct net_buf_simple *buf, const struct bt_mesh_msg_rsp_ctx *rsp) in bt_mesh_msg_ackd_send() argument
112 if (rsp) { in bt_mesh_msg_ackd_send()
113 err = bt_mesh_msg_ack_ctx_prepare(rsp->ack, rsp->op, in bt_mesh_msg_ackd_send()
115 rsp->user_data); in bt_mesh_msg_ackd_send()
123 if (!rsp) { in bt_mesh_msg_ackd_send()
128 return bt_mesh_msg_ack_ctx_wait(rsp->ack, K_MSEC(rsp->timeout)); in bt_mesh_msg_ackd_send()
131 bt_mesh_msg_ack_ctx_clear(rsp->ack); in bt_mesh_msg_ackd_send()
/Zephyr-latest/arch/x86/core/intel64/
Duserspace.S33 movq %rsp, %rdi
34 movq %gs:__x86_tss64_t_ist2_OFFSET, %rsp
53 movq $0, -8(%rsp) /* Delete stashed RAX data */
78 movq %rsp, %gs:__x86_tss64_t_usp_OFFSET
84 movq %gs:__x86_tss64_t_ist2_OFFSET, %rsp
93 movq $0, -8(%rsp) /* Delete stashed RAX data */
99 movq %gs:__x86_tss64_t_psp_OFFSET, %rsp
130 subq $X86_FXSAVE_SIZE, %rsp
131 fxsave (%rsp)
139 pushq %rsp /* SSF parameter */
[all …]
/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_rndis.c404 static void rndis_queue_rsp(struct net_buf *rsp) in rndis_queue_rsp() argument
410 LOG_DBG("Queued response pkt %p", rsp); in rndis_queue_rsp()
412 k_fifo_put(&rndis_tx_queue, rsp); in rndis_queue_rsp()
445 struct rndis_init_cmd_complete *rsp; in rndis_init_handle() local
456 rsp = net_buf_add(buf, sizeof(*rsp)); in rndis_init_handle()
457 rsp->status = sys_cpu_to_le32(RNDIS_CMD_STATUS_SUCCESS); in rndis_init_handle()
458 rsp->type = sys_cpu_to_le32(RNDIS_CMD_INITIALIZE_COMPLETE); in rndis_init_handle()
459 rsp->len = sys_cpu_to_le32(sizeof(*rsp)); in rndis_init_handle()
460 rsp->req_id = cmd->req_id; in rndis_init_handle()
462 rsp->major_ver = sys_cpu_to_le32(RNDIS_MAJOR_VERSION); in rndis_init_handle()
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/shell/
Davrcp.c45 static void avrcp_unit_info_rsp(struct bt_avrcp *avrcp, struct bt_avrcp_unit_info_rsp *rsp) in avrcp_unit_info_rsp() argument
48 rsp->unit_type, rsp->company_id); in avrcp_unit_info_rsp()
51 static void avrcp_subunit_info_rsp(struct bt_avrcp *avrcp, struct bt_avrcp_subunit_info_rsp *rsp) in avrcp_subunit_info_rsp() argument
57 rsp->subunit_type, rsp->max_subunit_id); in avrcp_subunit_info_rsp()
58 for (i = 0; i < rsp->max_subunit_id; i++) { in avrcp_subunit_info_rsp()
60 rsp->extended_subunit_id[i], rsp->extended_subunit_type[i]); in avrcp_subunit_info_rsp()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dbrg_cfg_cli.h69 struct bt_mesh_brg_cfg_table_status *rsp);
81 struct bt_mesh_brg_cfg_subnets_list *rsp);
93 struct bt_mesh_brg_cfg_table_list *rsp);
200 struct bt_mesh_brg_cfg_table_status *rsp);
228 struct bt_mesh_brg_cfg_table_status *rsp);
258 uint8_t start_idx, struct bt_mesh_brg_cfg_subnets_list *rsp);
292 struct bt_mesh_brg_cfg_table_list *rsp);
Dsar_cfg_cli.h62 struct bt_mesh_sar_tx *rsp);
75 struct bt_mesh_sar_tx *rsp);
86 struct bt_mesh_sar_rx *rsp);
99 struct bt_mesh_sar_rx *rsp);
Dlarge_comp_data_cli.h51 struct bt_mesh_large_comp_data_rsp *rsp);
66 struct bt_mesh_large_comp_data_rsp *rsp);
114 size_t offset, struct bt_mesh_large_comp_data_rsp *rsp);
138 size_t offset, struct bt_mesh_large_comp_data_rsp *rsp);
/Zephyr-latest/subsys/bluetooth/audio/
Dascs.c130 static void ascs_app_rsp_warn_valid(const struct bt_bap_ascs_rsp *rsp) in ascs_app_rsp_warn_valid() argument
133 switch (rsp->code) { in ascs_app_rsp_warn_valid()
144 LOG_WRN("Invalid application error code: %u", rsp->code); in ascs_app_rsp_warn_valid()
149 switch (rsp->code) { in ascs_app_rsp_warn_valid()
154 if (rsp->reason != BT_BAP_ASCS_REASON_NONE) { in ascs_app_rsp_warn_valid()
155 LOG_WRN("Invalid reason %u for code %u", rsp->reason, rsp->code); in ascs_app_rsp_warn_valid()
160 if (!IN_RANGE(rsp->reason, BT_BAP_ASCS_REASON_NONE, BT_BAP_ASCS_REASON_CIS)) { in ascs_app_rsp_warn_valid()
161 LOG_WRN("Invalid reason %u for code %u", rsp->reason, rsp->code); in ascs_app_rsp_warn_valid()
166 if (!BT_AUDIO_METADATA_TYPE_IS_KNOWN(rsp->metadata_type)) { in ascs_app_rsp_warn_valid()
167 LOG_WRN("Invalid metadata type %u for code %u", rsp->metadata_type, in ascs_app_rsp_warn_valid()
[all …]
/Zephyr-latest/samples/net/cloud/tagoio_http_post/src/
Dmain.c21 static void response_cb(struct http_response *rsp, in response_cb() argument
26 LOG_DBG("Partial data received (%zd bytes)", rsp->data_len); in response_cb()
28 LOG_DBG("All the data received (%zd bytes)", rsp->data_len); in response_cb()
31 LOG_DBG("Response status %s", rsp->http_status); in response_cb()
/Zephyr-latest/samples/bluetooth/tmap_peripheral/src/
Dbap_unicast_sr.c137 struct bt_bap_qos_cfg_pref *const pref, struct bt_bap_ascs_rsp *rsp) in lc3_config() argument
147 *rsp = BT_BAP_ASCS_RSP(BT_BAP_ASCS_RSP_CODE_NO_MEM, BT_BAP_ASCS_REASON_NONE); in lc3_config()
165 struct bt_bap_qos_cfg_pref *const pref, struct bt_bap_ascs_rsp *rsp) in lc3_reconfig() argument
175 struct bt_bap_ascs_rsp *rsp) in lc3_qos() argument
185 struct bt_bap_ascs_rsp *rsp) in lc3_enable() argument
192 static int lc3_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_start() argument
200 struct bt_bap_ascs_rsp *rsp; member
210 *func_param->rsp = BT_BAP_ASCS_RSP(BT_BAP_ASCS_RSP_CODE_METADATA_REJECTED, in data_func_cb()
227 *func_param->rsp = in data_func_cb()
240 struct bt_bap_ascs_rsp *rsp) in lc3_metadata() argument
[all …]
/Zephyr-latest/samples/bluetooth/hci_pwr_ctrl/src/
Dmain.c54 struct net_buf *buf, *rsp = NULL; in read_conn_rssi() local
69 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_RSSI, buf, &rsp); in read_conn_rssi()
75 rp = (void *)rsp->data; in read_conn_rssi()
78 net_buf_unref(rsp); in read_conn_rssi()
86 struct net_buf *buf, *rsp = NULL; in set_tx_power() local
102 buf, &rsp); in set_tx_power()
108 rp = (void *)rsp->data; in set_tx_power()
111 net_buf_unref(rsp); in set_tx_power()
118 struct net_buf *buf, *rsp = NULL; in get_tx_power() local
134 buf, &rsp); in get_tx_power()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dgmap_ugt_test.c116 struct bt_bap_ascs_rsp *rsp) in unicast_server_config() argument
125 *rsp = BT_BAP_ASCS_RSP(BT_BAP_ASCS_RSP_CODE_NO_MEM, BT_BAP_ASCS_REASON_NONE); in unicast_server_config()
140 struct bt_bap_ascs_rsp *rsp) in unicast_server_reconfig() argument
148 *rsp = BT_BAP_ASCS_RSP(BT_BAP_ASCS_RSP_CODE_CONF_UNSUPPORTED, BT_BAP_ASCS_REASON_NONE); in unicast_server_reconfig()
155 struct bt_bap_ascs_rsp *rsp) in unicast_server_qos() argument
166 struct bt_bap_ascs_rsp *rsp = (struct bt_bap_ascs_rsp *)user_data; in data_func_cb() local
170 *rsp = BT_BAP_ASCS_RSP(BT_BAP_ASCS_RSP_CODE_METADATA_REJECTED, data->type); in data_func_cb()
179 size_t meta_len, struct bt_bap_ascs_rsp *rsp) in unicast_server_enable() argument
183 return bt_audio_data_parse(meta, meta_len, data_func_cb, rsp); in unicast_server_enable()
186 static int unicast_server_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in unicast_server_start() argument
[all …]

1234567