Home
last modified time | relevance | path

Searched refs:error_code (Results 1 – 25 of 52) sorted by relevance

123

/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_firmware_pull.c19 static void set_update_result(uint16_t obj_inst_id, int error_code) in set_update_result() argument
23 if (!error_code) { in set_update_result()
28 switch (error_code) { in set_update_result()
70 int error_code; in lwm2m_firmware_start_transfer() local
75 error_code = lwm2m_pull_context_start_transfer(package_uri, req, K_NO_WAIT); in lwm2m_firmware_start_transfer()
77 if (error_code) { in lwm2m_firmware_start_transfer()
78 return error_code; in lwm2m_firmware_start_transfer()
Dlwm2m_obj_swmgmt.c520 int lwm2m_swmgmt_install_completed(uint16_t obj_inst_id, int error_code) in lwm2m_swmgmt_install_completed() argument
526 if (error_code) { in lwm2m_swmgmt_install_completed()
527 error_code = handle_event(instance, EVENT_INSTALL_FAIL); in lwm2m_swmgmt_install_completed()
529 error_code = handle_event(instance, EVENT_INSTALL_SUCCESSFUL); in lwm2m_swmgmt_install_completed()
532 return error_code; in lwm2m_swmgmt_install_completed()
609 static void set_update_result(uint16_t obj_inst_id, int error_code) in set_update_result() argument
616 if (error_code == 0) { in set_update_result()
636 if (error_code == -ENOMEM) { in set_update_result()
638 } else if (error_code == -ENOSPC) { in set_update_result()
640 } else if (error_code == -EFAULT) { in set_update_result()
[all …]
Dlwm2m_pull_context.h18 void (*result_cb)(uint16_t obj_inst_id, int error_code);
Dlwm2m_obj_device.c210 int lwm2m_device_add_err(uint8_t error_code) in lwm2m_device_add_err() argument
221 if (error_code_list[i] == error_code) { in lwm2m_device_add_err()
230 error_code_list[i] = error_code; in lwm2m_device_add_err()
/Zephyr-latest/drivers/counter/
Dcounter_gecko_stimer.c109 sl_status_t error_code; in counter_gecko_start() local
112 error_code = sl_sleeptimer_is_timer_running(&top_timer, &is_top_timer_running); in counter_gecko_start()
113 if ((error_code == SL_STATUS_OK) && (is_top_timer_running == true)) { in counter_gecko_start()
118 error_code = sl_sleeptimer_start_timer(&top_timer, dev_data->top_data.ticks, top_callback, in counter_gecko_start()
120 return error_code; in counter_gecko_start()
127 sl_status_t error_code; in counter_gecko_stop() local
130 error_code = sl_sleeptimer_is_timer_running(&top_timer, &is_top_timer_running); in counter_gecko_stop()
131 if ((error_code == SL_STATUS_OK) && (is_top_timer_running == true)) { in counter_gecko_stop()
134 return error_code; in counter_gecko_stop()
140 sl_status_t error_code; in counter_gecko_set_top_value() local
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/
Davdtp.c270 uint8_t error_code = 0; in avdtp_discover_handler() local
275 err = session->ops->discovery_ind(session, &error_code); in avdtp_discover_handler()
286 if (error_code == 0) { in avdtp_discover_handler()
287 error_code = BT_AVDTP_BAD_STATE; in avdtp_discover_handler()
289 LOG_DBG("discover err code:%d", error_code); in avdtp_discover_handler()
290 net_buf_add_u8(rsp_buf, error_code); in avdtp_discover_handler()
362 uint8_t error_code = 0; in avdtp_get_capabilities_handler() local
375 &error_code); in avdtp_get_capabilities_handler()
389 if (error_code == 0) { in avdtp_get_capabilities_handler()
390 error_code = BT_AVDTP_BAD_ACP_SEID; in avdtp_get_capabilities_handler()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp.h46 int ull_cp_prt_elapse(struct ll_conn *conn, uint16_t elapsed_event, uint8_t *error_code);
139 void ull_cp_conn_param_req_neg_reply(struct ll_conn *conn, uint8_t error_code);
168 void ull_cp_remote_cpr_apm_neg_reply(struct ll_conn *conn, uint8_t error_code);
173 uint8_t ull_cp_terminate(struct ll_conn *conn, uint8_t error_code);
179 uint8_t error_code);
221 void ull_cp_cc_reject(struct ll_conn *conn, uint8_t error_code);
226 void ull_cp_cc_established(struct ll_conn *conn, uint8_t error_code);
Dull_llcp_pdu.c257 p->error_code = ctx->data.term.error_code; in llcp_pdu_encode_terminate_ind()
262 ctx->data.term.error_code = pdu->llctrl.terminate_ind.error_code; in llcp_pdu_decode_terminate_ind()
410 void llcp_pdu_encode_reject_ind(struct pdu_data *pdu, uint8_t error_code) in llcp_pdu_encode_reject_ind() argument
415 pdu->llctrl.reject_ind.error_code = error_code; in llcp_pdu_encode_reject_ind()
418 void llcp_pdu_encode_reject_ext_ind(struct pdu_data *pdu, uint8_t reject_opcode, uint8_t error_code) in llcp_pdu_encode_reject_ext_ind() argument
424 pdu->llctrl.reject_ext_ind.error_code = error_code; in llcp_pdu_encode_reject_ext_ind()
430 ctx->reject_ext_ind.error_code = pdu->llctrl.reject_ext_ind.error_code; in llcp_pdu_decode_reject_ext_ind()
442 p->error_code = ctx->reject_ext_ind.error_code; in llcp_ntf_encode_reject_ext_ind()
944 p->error_code = ctx->data.cis_term.error_code; in llcp_pdu_encode_cis_terminate_ind()
951 ctx->data.cis_term.error_code = pdu->llctrl.cis_terminate_ind.error_code; in llcp_pdu_decode_cis_terminate_ind()
Dull_llcp.c502 int ull_cp_prt_elapse(struct ll_conn *conn, uint16_t elapsed_event, uint8_t *error_code) in ull_cp_prt_elapse() argument
518 *error_code = ctx->data.term.error_code; in ull_cp_prt_elapse()
520 *error_code = BT_HCI_ERR_LL_RESP_TIMEOUT; in ull_cp_prt_elapse()
530 *error_code = BT_HCI_ERR_LL_RESP_TIMEOUT; in ull_cp_prt_elapse()
535 *error_code = BT_HCI_ERR_SUCCESS; in ull_cp_prt_elapse()
765 uint8_t ull_cp_terminate(struct ll_conn *conn, uint8_t error_code) in ull_cp_terminate() argument
777 ctx->data.term.error_code = error_code; in ull_cp_terminate()
786 uint8_t error_code) in ull_cp_cis_terminate() argument
801 ctx->data.cis_term.error_code = error_code; in ull_cp_cis_terminate()
1167 void ull_cp_conn_param_req_neg_reply(struct ll_conn *conn, uint8_t error_code) in ull_cp_conn_param_req_neg_reply() argument
[all …]
Dull_llcp_internal.h249 uint8_t error_code; member
313 uint8_t error_code; member
318 uint8_t error_code; member
354 uint8_t error_code; member
686 void llcp_pdu_encode_reject_ind(struct pdu_data *pdu, uint8_t error_code);
688 uint8_t error_code);
Dull_llcp_common.c380 pdu_sca->status = ctx->data.sca_update.error_code; in lp_comm_ntf_sca()
562 ctx->data.sca_update.error_code = BT_HCI_ERR_UNSUPP_FEATURE_PARAM_VAL; in lp_comm_complete()
567 !ctx->data.sca_update.error_code && in lp_comm_complete()
650 ctx->data.term.error_code = BT_HCI_ERR_LOCALHOST_TERM_CONN;
948 conn->llcp_terminate.reason_final = ctx->data.term.error_code;
955 ctx->data.cis_term.error_code);
/Zephyr-latest/modules/hal_nordic/nrfx/
Dnrfx_log.h128 #define NRFX_LOG_ERROR_STRING_GET(error_code) nrfx_error_string_get(error_code) argument
/Zephyr-latest/tests/bluetooth/controller/ctrl_terminate/src/
Dmain.c57 .error_code = 0x05, in test_terminate_rem()
105 .error_code = 0x06, in test_terminate_loc()
/Zephyr-latest/tests/bluetooth/controller/ctrl_cis_terminate/src/
Dmain.c98 .error_code = 0x06, in test_cis_terminate_loc()
114 err = ull_cp_cis_terminate(&conn, &cis, local_cis_terminate_ind.error_code); in test_cis_terminate_loc()
/Zephyr-latest/tests/bluetooth/controller/ctrl_sca_update/src/
Dmain.c193 .error_code = BT_HCI_ERR_LL_PROC_COLLISION in ZTEST()
197 .error_code = BT_HCI_ERR_LL_PROC_COLLISION in ZTEST()
295 .error_code = BT_HCI_ERR_LL_PROC_COLLISION in ZTEST()
299 .error_code = BT_HCI_ERR_LL_PROC_COLLISION in ZTEST()
/Zephyr-latest/include/zephyr/arch/x86/ia32/
Dgdbstub.h48 uint32_t error_code; member
/Zephyr-latest/drivers/i2c/
Di2c_sam0.c224 uint32_t id, int error_code) in i2c_sam0_dma_write_done() argument
241 if (error_code < 0) { in i2c_sam0_dma_write_done()
242 LOG_ERR("DMA write error on %s: %d", dev->name, error_code); in i2c_sam0_dma_write_done()
246 data->msg.status = error_code; in i2c_sam0_dma_write_done()
315 uint32_t id, int error_code) in i2c_sam0_dma_read_done() argument
332 if (error_code < 0) { in i2c_sam0_dma_read_done()
333 LOG_ERR("DMA read error on %s: %d", dev->name, error_code); in i2c_sam0_dma_read_done()
337 data->msg.status = error_code; in i2c_sam0_dma_read_done()
/Zephyr-latest/tests/bluetooth/controller/ctrl_conn_update/src/
Dmain.c386 .error_code = BT_HCI_ERR_UNSUPP_LL_PARAM_VAL in ZTEST()
620 .error_code = BT_HCI_ERR_INVALID_LL_PARAM in ZTEST()
689 .error_code = BT_HCI_ERR_LL_PROC_COLLISION in ZTEST()
760 .error_code = BT_HCI_ERR_UNACCEPT_CONN_PARAM in ZTEST()
839 .error_code = BT_HCI_ERR_UNSUPP_REMOTE_FEATURE in ZTEST()
1203 .error_code = BT_HCI_ERR_LL_PROC_COLLISION in ZTEST()
1457 .error_code = BT_HCI_ERR_INVALID_LL_PARAM in ZTEST()
1522 .error_code = BT_HCI_ERR_UNACCEPT_CONN_PARAM in ZTEST()
1945 .error_code = BT_HCI_ERR_UNACCEPT_CONN_PARAM in ZTEST()
2030 .error_code = BT_HCI_ERR_LL_PROC_COLLISION in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_encrypt/src/
Dmain.c594 struct pdu_data_llctrl_reject_ind reject_ind = { .error_code = in ZTEST()
599 .error_code = BT_HCI_ERR_UNSUPP_REMOTE_FEATURE in ZTEST()
696 struct pdu_data_llctrl_reject_ind reject_ind = { .error_code = in ZTEST()
799 struct pdu_data_llctrl_reject_ind reject_ind = { .error_code = in ZTEST()
804 .error_code = BT_HCI_ERR_PIN_OR_KEY_MISSING in ZTEST()
910 struct pdu_data_llctrl_reject_ind reject_ind = { .error_code = in ZTEST()
1012 .error_code = BT_HCI_ERR_SUCCESS in ZTEST()
1054 .error_code = BT_HCI_ERR_UNSPECIFIED }; in ZTEST()
1112 struct pdu_data_llctrl_reject_ind reject_ind = { .error_code = BT_HCI_ERR_SUCCESS }; in ZTEST()
1153 .error_code = BT_HCI_ERR_UNSPECIFIED }; in ZTEST()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_le_ping/src/
Dmain.c173 .error_code = BT_HCI_ERR_LL_PROC_COLLISION in ZTEST()
177 .error_code = BT_HCI_ERR_LL_PROC_COLLISION in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/ctrl_cis_create/src/
Dmain.c312 .error_code = ERROR_CODE, in ZTEST()
389 .error_code = BT_HCI_ERR_CONN_ACCEPT_TIMEOUT, in ZTEST()
495 .error_code = BT_HCI_ERR_UNSUPP_FEATURE_PARAM_VAL, in ZTEST()
783 .error_code = BT_HCI_ERR_UNSUPP_REMOTE_FEATURE, in ZTEST()
/Zephyr-latest/drivers/fpga/
Dfpga_altera_agilex_bridge.h84 uint32_t error_code : 11; member
/Zephyr-latest/tests/bluetooth/controller/common/src/
Dhelper_pdu.c202 pdu->llctrl.reject_ext_ind.error_code = p->error_code; in helper_pdu_encode_reject_ext_ind()
213 pdu->llctrl.reject_ind.error_code = p->error_code; in helper_pdu_encode_reject_ind()
337 pdu->llctrl.terminate_ind.error_code = p->error_code; in helper_pdu_encode_terminate_ind()
482 pdu->llctrl.cis_terminate_ind.error_code = p->error_code; in helper_pdu_encode_cis_terminate_ind()
726 zassert_equal(pdu->llctrl.reject_ind.error_code, p->error_code, in helper_pdu_verify_reject_ind()
745 zassert_equal(pdu->llctrl.reject_ext_ind.error_code, p->error_code, in helper_pdu_verify_reject_ext_ind()
979 zassert_equal(pdu->llctrl.terminate_ind.error_code, p->error_code, in helper_pdu_verify_terminate_ind()
1264 zassert_equal(pdu->llctrl.cis_terminate_ind.error_code, p->error_code, in helper_pdu_verify_cis_terminate_ind()
/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c502 uint8_t error_code; in ZTEST() local
511 error_code = 0; in ZTEST()
519 err = ll_start_enc_req_send(conn_handle + 1, error_code, &ltk[0]); in ZTEST()
521 err = ll_start_enc_req_send(conn_handle, error_code, &ltk[0]); in ZTEST()
/Zephyr-latest/tests/bluetooth/controller/ctrl_version/src/
Dmain.c155 .error_code = BT_HCI_ERR_LL_PROC_COLLISION in ZTEST()
159 .error_code = BT_HCI_ERR_LL_PROC_COLLISION in ZTEST()

123