Home
last modified time | relevance | path

Searched refs:err (Results 1 – 10 of 10) sorted by relevance

/hal_nordic-3.5.0/drivers/nrf_802154/driver/src/mac_features/
Dnrf_802154_security_writer.c110 nrf_802154_security_error_t err; in frame_counter_inject() local
112 err = nrf_802154_security_pib_frame_counter_get_next(&frame_counter, p_key_id); in frame_counter_inject()
114 switch (err) in frame_counter_inject()
136 return err; in frame_counter_inject()
190 nrf_802154_security_error_t err = frame_counter_inject(&frame_data, &key_id); in nrf_802154_security_writer_tx_setup() local
192 switch (err) in nrf_802154_security_writer_tx_setup()
/hal_nordic-3.5.0/nrfx/drivers/src/
Dnrfx_nfct.c538 nrfx_err_t err; in nrfx_nfct_rx() local
546 err = NRFX_ERROR_INVALID_ADDR; in nrfx_nfct_rx()
549 NRFX_LOG_ERROR_STRING_GET(err)); in nrfx_nfct_rx()
550 return err; in nrfx_nfct_rx()
567 nrfx_err_t err = NRFX_SUCCESS; in nrfx_nfct_tx() local
578 err = NRFX_ERROR_INVALID_ADDR; in nrfx_nfct_tx()
581 NRFX_LOG_ERROR_STRING_GET(err)); in nrfx_nfct_tx()
582 return err; in nrfx_nfct_tx()
591 err = NRFX_ERROR_BUSY; in nrfx_nfct_tx()
612 if (err == NRFX_SUCCESS) in nrfx_nfct_tx()
[all …]
Dnrfx_gpiote.c344 nrfx_err_t err = nrfx_flag32_free(&m_cb.available_evt_handlers, handler_id); in release_handler() local
345 (void)err; in release_handler()
346 NRFX_ASSERT(err == NRFX_SUCCESS); in release_handler()
403 nrfx_err_t err; in pin_handler_set() local
418 err = nrfx_flag32_alloc(&m_cb.available_evt_handlers, &id); in pin_handler_set()
419 if (err != NRFX_SUCCESS) in pin_handler_set()
421 return err; in pin_handler_set()
460 nrfx_err_t err; in nrfx_gpiote_input_configure() local
538 err = pin_handler_set(pin, p_handler_config->handler, p_handler_config->p_context); in nrfx_gpiote_input_configure()
542 err = NRFX_SUCCESS; in nrfx_gpiote_input_configure()
[all …]
Dnrfx_saadc.c363 nrfx_err_t err = saadc_channel_count_get(channel_mask, &active_ch_count); in nrfx_saadc_simple_mode_set() local
364 if (err != NRFX_SUCCESS) in nrfx_saadc_simple_mode_set()
366 return err; in nrfx_saadc_simple_mode_set()
406 nrfx_err_t err = saadc_channel_count_get(channel_mask, &active_ch_count); in nrfx_saadc_advanced_mode_set() local
407 if (err != NRFX_SUCCESS) in nrfx_saadc_advanced_mode_set()
409 return err; in nrfx_saadc_advanced_mode_set()
/hal_nordic-3.5.0/drivers/nrf_802154/serialization/src/
Dnrf_802154_spinel_net.c106 void nrf_802154_cca_failed(nrf_802154_cca_error_t err) in nrf_802154_cca_failed() argument
113 NRF_802154_SPINEL_LOG_VAR("%u", err); in nrf_802154_cca_failed()
118 err); in nrf_802154_cca_failed()
161 void nrf_802154_energy_detection_failed(nrf_802154_ed_error_t err) in nrf_802154_energy_detection_failed() argument
168 NRF_802154_SPINEL_LOG_VAR("%u", err); in nrf_802154_energy_detection_failed()
173 err); in nrf_802154_energy_detection_failed()
Dnrf_802154_spinel.c123 nrf_802154_ser_err_t err = nrf_802154_spinel_decode_cmd(p_data, data_len); in nrf_802154_spinel_encoded_packet_received() local
125 SERIALIZATION_ERROR_CHECK(err, error, bail); in nrf_802154_spinel_encoded_packet_received()
Dnrf_802154_spinel_dec_app.c93 nrf_802154_cca_error_t err = NRF_802154_CCA_ERROR_ABORTED; in spinel_decode_prop_nrf_802154_cca_failed() local
98 &err); in spinel_decode_prop_nrf_802154_cca_failed()
105 nrf_802154_cca_failed(err); in spinel_decode_prop_nrf_802154_cca_failed()
162 nrf_802154_ed_error_t err = NRF_802154_CCA_ERROR_ABORTED; in spinel_decode_prop_nrf_802154_energy_detection_failed() local
167 &err); in spinel_decode_prop_nrf_802154_energy_detection_failed()
174 nrf_802154_energy_detection_failed(err); in spinel_decode_prop_nrf_802154_energy_detection_failed()
Dnrf_802154_spinel_dec_net.c1719 nrf_802154_security_error_t err; in spinel_decode_prop_nrf_802154_security_key_store() local
1730 err = nrf_802154_security_key_store(&key); in spinel_decode_prop_nrf_802154_security_key_store()
1735 err); in spinel_decode_prop_nrf_802154_security_key_store()
1753 nrf_802154_security_error_t err; in spinel_decode_prop_nrf_802154_security_key_remove() local
1764 err = nrf_802154_security_key_remove(&key_id); in spinel_decode_prop_nrf_802154_security_key_remove()
1769 err); in spinel_decode_prop_nrf_802154_security_key_remove()
Dnrf_802154_spinel_app.c1868 nrf_802154_security_error_t err = NRF_802154_SECURITY_ERROR_NONE;; in nrf_802154_security_key_store() local
1884 res = net_generic_uint8_response_await(CONFIG_NRF_802154_SER_DEFAULT_RESPONSE_TIMEOUT, &err); in nrf_802154_security_key_store()
1890 return err; in nrf_802154_security_key_store()
1896 nrf_802154_security_error_t err = NRF_802154_SECURITY_ERROR_NONE;; in nrf_802154_security_key_remove() local
1912 res = net_generic_uint8_response_await(CONFIG_NRF_802154_SER_DEFAULT_RESPONSE_TIMEOUT, &err); in nrf_802154_security_key_remove()
1918 return err; in nrf_802154_security_key_remove()
/hal_nordic-3.5.0/drivers/nrf_802154/serialization/src/include/
Dnrf_802154_serialization_error_helper.h62 nrf_802154_ser_err_data_t err = {.reason = e}; \
63 nrf_802154_serialization_error(&err); \