Home
last modified time | relevance | path

Searched refs:rsp (Results 126 – 150 of 152) sorted by relevance

1234567

/Zephyr-latest/samples/net/sockets/http_client/src/
Dmain.c115 static void response_cb(struct http_response *rsp, in response_cb() argument
120 LOG_INF("Partial data received (%zd bytes)", rsp->data_len); in response_cb()
122 LOG_INF("All the data received (%zd bytes)", rsp->data_len); in response_cb()
126 LOG_INF("Response status %s", rsp->http_status); in response_cb()
/Zephyr-latest/include/zephyr/net/http/
Dclient.h98 typedef void (*http_response_cb_t)(struct http_response *rsp,
/Zephyr-latest/arch/x86/core/intel64/
Dthread.c52 thread->callee_saved.rsp = (long) iframe; in arch_new_thread()
/Zephyr-latest/subsys/mgmt/hawkbit/
Dhawkbit.c867 static void response_cb(struct http_response *rsp, enum http_final_call final_data, void *userdata) in response_cb() argument
874 if (rsp->http_status_code != 200) { in response_cb()
875 LOG_ERR("HTTP request denied: %d", rsp->http_status_code); in response_cb()
876 if (rsp->http_status_code == 401 || rsp->http_status_code == 403) { in response_cb()
888 hb_context->dl.http_content_size = rsp->content_length; in response_cb()
891 if (rsp->body_found) { in response_cb()
892 body_data = rsp->body_frag_start; in response_cb()
893 body_len = rsp->body_frag_len; in response_cb()
950 hb_context->dl.http_content_size = rsp->content_length; in response_cb()
953 if (rsp->body_found) { in response_cb()
[all …]
/Zephyr-latest/include/zephyr/arch/x86/intel64/
Dthread.h106 uint64_t rsp; member
/Zephyr-latest/arch/x86/core/offsets/
Dintel64_offsets.c9 GEN_OFFSET_SYM(_callee_saved_t, rsp);
/Zephyr-latest/arch/x86/core/
Dfatal.c41 return esf->rsp; in esf_get_sp()
259 esf->rsi, esf->rdi, esf->rbp, esf->rsp); in dump_regs()
265 esf->rsp, esf->rflags, esf->cs & 0xFFFFU, get_cr3(esf)); in dump_regs()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dsdp.c584 struct bt_sdp_svc_rsp *rsp; in sdp_svc_search_req() local
642 rsp = net_buf_add(resp_buf, sizeof(*rsp)); in sdp_svc_search_req()
696 rsp->total_recs = sys_cpu_to_be16(total_recs); in sdp_svc_search_req()
697 rsp->current_recs = sys_cpu_to_be16(current_recs); in sdp_svc_search_req()
1083 struct bt_sdp_att_rsp *rsp; in sdp_svc_att_req() local
1147 rsp = net_buf_add(rsp_buf, sizeof(*rsp)); in sdp_svc_att_req()
1170 rsp->att_list_len = sys_cpu_to_be16(att_list_len); in sdp_svc_att_req()
1201 struct bt_sdp_att_rsp *rsp; in sdp_svc_search_att_req() local
1260 rsp = net_buf_add(rsp_buf, sizeof(*rsp)); in sdp_svc_search_att_req()
1320 rsp->att_list_len = sys_cpu_to_be16(att_list_len); in sdp_svc_search_att_req()
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_socket_offload.c671 char *rsp; in eswifi_off_getaddrinfo() local
697 err = eswifi_at_cmd_rsp(eswifi, eswifi->buf, &rsp); in eswifi_off_getaddrinfo()
726 if (!net_ipaddr_parse(rsp, strlen(rsp), (struct sockaddr *)ai_addr)) { in eswifi_off_getaddrinfo()
/Zephyr-latest/drivers/modem/
Dhl7800.c3051 char rsp[MDM_MAX_RESP_SIZE] = { 0 }; in on_cmd_polte_registration() local
3052 size_t rsp_len = sizeof(rsp) - 1; in on_cmd_polte_registration()
3053 char *rsp_end = rsp + rsp_len; in on_cmd_polte_registration()
3062 wait_for_modem_data_and_newline(buf, net_buf_frags_len(*buf), sizeof(rsp)); in on_cmd_polte_registration()
3064 location = rsp; in on_cmd_polte_registration()
3079 out_len = net_buf_linearize(rsp, rsp_len, *buf, 0, len); in on_cmd_polte_registration()
3080 rsp[out_len] = 0; in on_cmd_polte_registration()
3142 char rsp[sizeof("99")] = { 0 }; in on_cmd_polte_locate_cmd_rsp() local
3143 size_t rsp_len = sizeof(rsp) - 1; in on_cmd_polte_locate_cmd_rsp()
3150 wait_for_modem_data_and_newline(buf, net_buf_frags_len(*buf), sizeof(rsp)); in on_cmd_polte_locate_cmd_rsp()
[all …]
/Zephyr-latest/tests/bluetooth/audio/ascs/src/
Dtest_common.c138 struct bt_bap_ascs_rsp *rsp) in unicast_server_cb_config_custom_fake() argument
142 *rsp = BT_BAP_ASCS_RSP(BT_BAP_ASCS_RSP_CODE_SUCCESS, BT_BAP_ASCS_REASON_NONE); in unicast_server_cb_config_custom_fake()
Dmain.c599 struct bt_bap_ascs_rsp *rsp) in unicast_server_cb_config_custom_fake() argument
603 *rsp = BT_BAP_ASCS_RSP(BT_BAP_ASCS_RSP_CODE_SUCCESS, BT_BAP_ASCS_REASON_NONE); in unicast_server_cb_config_custom_fake()
Dtest_ase_control_params.c378 struct bt_bap_ascs_rsp *rsp) in unicast_server_cb_config_custom_fake() argument
382 *rsp = BT_BAP_ASCS_RSP(BT_BAP_ASCS_RSP_CODE_SUCCESS, BT_BAP_ASCS_REASON_NONE); in unicast_server_cb_config_custom_fake()
/Zephyr-latest/subsys/debug/
Dthread_info.c69 callee_saved.rsp),
/Zephyr-latest/subsys/bluetooth/host/
Dconn.c2462 struct net_buf *buf, *rsp; in bt_hci_connect_br_cancel() local
2473 err = bt_hci_cmd_send_sync(BT_HCI_OP_CONNECT_CANCEL, buf, &rsp); in bt_hci_connect_br_cancel()
2478 rp = (void *)rsp->data; in bt_hci_connect_br_cancel()
2482 net_buf_unref(rsp); in bt_hci_connect_br_cancel()
2576 struct net_buf *rsp; in bt_conn_enc_key_size() local
2589 buf, &rsp)) { in bt_conn_enc_key_size()
2593 rp = (void *)rsp->data; in bt_conn_enc_key_size()
2597 net_buf_unref(rsp); in bt_conn_enc_key_size()
3012 struct net_buf *rsp; in bt_conn_get_tx_power_level() local
3025 err = bt_hci_cmd_send_sync(BT_HCI_OP_READ_TX_POWER_LEVEL, buf, &rsp); in bt_conn_get_tx_power_level()
[all …]
Dcs.c982 struct net_buf *rsp; in bt_le_cs_read_local_supported_capabilities() local
985 bt_hci_cmd_send_sync(BT_HCI_OP_LE_CS_READ_LOCAL_SUPPORTED_CAPABILITIES, NULL, &rsp); in bt_le_cs_read_local_supported_capabilities()
991 rp = (void *)rsp->data; in bt_le_cs_read_local_supported_capabilities()
1070 net_buf_unref(rsp); in bt_le_cs_read_local_supported_capabilities()
Dadv.c1126 struct net_buf *buf, *rsp; in le_ext_adv_param_set() local
1225 err = bt_hci_cmd_send_sync(BT_HCI_OP_LE_SET_EXT_ADV_PARAM, buf, &rsp); in le_ext_adv_param_set()
1231 struct bt_hci_rp_le_set_ext_adv_param *rp = (void *)rsp->data; in le_ext_adv_param_set()
1236 net_buf_unref(rsp); in le_ext_adv_param_set()
/Zephyr-latest/subsys/bluetooth/audio/
Dpacs.c112 struct bt_pacs_read_rsp *rsp; member
172 data->rsp->num_pac++; in build_pac_records()
203 data.rsp = net_buf_simple_add(buf, sizeof(*data.rsp)); in get_pac_records()
204 data.rsp->num_pac = 0; in get_pac_records()
Dbap_unicast_client.c1518 struct bt_ascs_cp_rsp *rsp; in unicast_client_cp_notify() local
1531 if (buf.len < sizeof(*rsp)) { in unicast_client_cp_notify()
1536 rsp = net_buf_simple_pull_mem(&buf, sizeof(*rsp)); in unicast_client_cp_notify()
1538 if (rsp->num_ase == BT_ASCS_UNSUPP_OR_LENGTH_ERR_NUM_ASE) { in unicast_client_cp_notify()
1542 rsp->num_ase = 1U; in unicast_client_cp_notify()
1545 for (uint8_t i = 0U; i < rsp->num_ase; i++) { in unicast_client_cp_notify()
1558 "reason %s (0x%02x)", bt_ascs_op_str(rsp->op), rsp->op, in unicast_client_cp_notify()
1571 switch (rsp->op) { in unicast_client_cp_notify()
4275 struct bt_pacs_read_rsp *rsp; in unicast_client_read_func() local
4309 if (buf->len < sizeof(*rsp)) { in unicast_client_read_func()
[all …]
Dhas.c830 struct bt_has_cp_read_preset_rsp *rsp; in bt_has_cp_read_preset_rsp() local
832 NET_BUF_SIMPLE_DEFINE(buf, sizeof(*hdr) + sizeof(*rsp) + BT_HAS_PRESET_NAME_MAX); in bt_has_cp_read_preset_rsp()
839 rsp = net_buf_simple_add(&buf, sizeof(*rsp)); in bt_has_cp_read_preset_rsp()
840 rsp->is_last = is_last ? 0x01 : 0x00; in bt_has_cp_read_preset_rsp()
841 rsp->index = preset->index; in bt_has_cp_read_preset_rsp()
842 rsp->properties = preset->properties; in bt_has_cp_read_preset_rsp()
/Zephyr-latest/tests/bluetooth/controller/ctrl_cte_req/src/
Dmain.c949 struct pdu_data_llctrl_phy_req rsp = { .rx_phys = PHY_PREFER_ANY, in run_phy_update_central() local
971 lt_tx(LL_PHY_RSP, &conn, &rsp); in run_phy_update_central()
1025 struct pdu_data_llctrl_phy_req rsp = { .rx_phys = PHY_PREFER_ANY, in run_phy_update_peripheral() local
1069 lt_rx(LL_PHY_RSP, &conn, &tx, &rsp); in run_phy_update_peripheral()
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap.c640 struct bt_bap_qos_cfg_pref *const pref, struct bt_bap_ascs_rsp *rsp) in lc3_config() argument
650 *rsp = BT_BAP_ASCS_RSP(BT_BAP_ASCS_RSP_CODE_NO_MEM, BT_BAP_ASCS_REASON_NONE); in lc3_config()
666 struct bt_bap_qos_cfg_pref *const pref, struct bt_bap_ascs_rsp *rsp) in lc3_reconfig() argument
682 struct bt_bap_ascs_rsp *rsp) in lc3_qos() argument
692 struct bt_bap_ascs_rsp *rsp) in lc3_enable() argument
700 static int lc3_start(struct bt_bap_stream *stream, struct bt_bap_ascs_rsp *rsp) in lc3_start() argument
710 struct bt_bap_ascs_rsp *rsp = (struct bt_bap_ascs_rsp *)user_data; in meta_data_func_cb() local
714 *rsp = BT_BAP_ASCS_RSP(BT_BAP_ASCS_RSP_CODE_METADATA_REJECTED, data->type); in meta_data_func_cb()
722 struct bt_bap_ascs_rsp *rsp) in lc3_metadata() argument
727 return bt_audio_data_parse(meta, meta_len, meta_data_func_cb, rsp); in lc3_metadata()
[all …]
/Zephyr-latest/subsys/net/lib/websocket/
Dwebsocket.c152 static void response_cb(struct http_response *rsp, in response_cb() argument
160 rsp->data_len); in response_cb()
164 rsp->data_len); in response_cb()
/Zephyr-latest/subsys/bluetooth/mesh/
Dcfg_srv.c2330 goto rsp; in heartbeat_pub_set()
2335 goto rsp; in heartbeat_pub_set()
2340 goto rsp; in heartbeat_pub_set()
2355 rsp: in heartbeat_pub_set()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dcfg_cli.h523 int bt_mesh_cfg_cli_comp_data_get(uint16_t net_idx, uint16_t addr, uint8_t page, uint8_t *rsp,

1234567