Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 41) sorted by relevance

12

/hal_nordic-3.6.0/drivers/nrf_802154/driver/src/mac_features/
Dnrf_802154_filter.c71 bool result; in frame_type_and_version_filter() local
79 result = (frame_version != FRAME_VERSION_3); in frame_type_and_version_filter()
83 result = (frame_version == FRAME_VERSION_0); in frame_type_and_version_filter()
88 result = true; in frame_type_and_version_filter()
92 result = false; in frame_type_and_version_filter()
95 return result; in frame_type_and_version_filter()
110 bool result; in dst_addressing_may_be_present() local
119 result = true; in dst_addressing_may_be_present()
124 result = false; in dst_addressing_may_be_present()
128 result = false; in dst_addressing_may_be_present()
[all …]
Dnrf_802154_delayed_trx.c210 bool result = false; in dly_op_state_set() local
219 result = nrf_802154_sl_atomic_cas_u8( in dly_op_state_set()
224 if (result) in dly_op_state_set()
241 return result; in dly_op_state_set()
334 bool result; in dly_ts_slot_release() local
336 result = nrf_802154_rsch_delayed_timeslot_cancel(p_dly_op_data->id, handler); in dly_ts_slot_release()
338 if (result) in dly_ts_slot_release()
345 return result; in dly_ts_slot_release()
399 bool result = nrf_802154_rsch_delayed_timeslot_request(p_dly_ts_param); in dly_op_request() local
401 if (!result) in dly_op_request()
[all …]
Dnrf_802154_csma_ca.c100 bool result = nrf_802154_sl_atomic_cas_u8(&m_state, &expected, desired); in csma_ca_state_set() local
102 if (result) in csma_ca_state_set()
111 return result; in csma_ca_state_set()
156 static void notify_busy_channel(bool result) in notify_busy_channel() argument
166 if (!result && (m_nb >= nrf_802154_pib_csmaca_max_backoffs_get())) in notify_busy_channel()
235 uint8_t result; in backoff_periods_calc() local
242 result = backoff_periods_calc_random(); in backoff_periods_calc()
246 result = (1U << m_be) - 1U; in backoff_periods_calc()
250 result = 0U; in backoff_periods_calc()
254 result = backoff_periods_calc_random(); in backoff_periods_calc()
[all …]
Dnrf_802154_security_writer.c160 bool result = false; in nrf_802154_security_writer_tx_setup() local
171 result = nrf_802154_frame_parser_data_init(p_frame, in nrf_802154_security_writer_tx_setup()
175 NRF_802154_ASSERT(result); in nrf_802154_security_writer_tx_setup()
176 (void)result; in nrf_802154_security_writer_tx_setup()
183 result = true; in nrf_802154_security_writer_tx_setup()
195 result = true; in nrf_802154_security_writer_tx_setup()
205 result = false; in nrf_802154_security_writer_tx_setup()
215 result = false; in nrf_802154_security_writer_tx_setup()
224 result = false; in nrf_802154_security_writer_tx_setup()
229 return result; in nrf_802154_security_writer_tx_setup()
Dnrf_802154_ie_writer.c92 bool result = false; in csl_phase_calc() local
97 result = (m_csl_period != 0); in csl_phase_calc()
99 if (result) in csl_phase_calc()
143 result = nrf_802154_delayed_trx_nearest_drx_time_to_midpoint_get(&us); in csl_phase_calc()
155 if (result) in csl_phase_calc()
161 return result; in csl_phase_calc()
430 bool result = true; in ie_writer_prepare() local
445 result = link_metrics_ie_write_prepare(p_iterator); in ie_writer_prepare()
451 result = csl_ie_write_prepare(p_iterator); in ie_writer_prepare()
458 if (result == false) in ie_writer_prepare()
[all …]
Dnrf_802154_ifs.c111 static void ifs_tx_result_notify(bool result) in ifs_tx_result_notify() argument
113 if (!result) in ifs_tx_result_notify()
147 bool result = nrf_802154_frame_parser_data_init(p_frame, in is_ifs_needed_by_address() local
152 if (result) in is_ifs_needed_by_address()
304 bool result = nrf_802154_frame_parser_data_init(p_frame, in nrf_802154_ifs_transmitted_hook() local
309 if (result) in nrf_802154_ifs_transmitted_hook()
341 bool result = true; in nrf_802154_ifs_abort() local
369 result = !ifs_state_is(IFS_STATE_ARMED | IFS_STATE_FIRED); in nrf_802154_ifs_abort()
373 return result; in nrf_802154_ifs_abort()
Dnrf_802154_frame_parser.c417 bool result; in parse_state_advance() local
422 result = false; in parse_state_advance()
429 result = fcf_parse(p_parser_data); in parse_state_advance()
438 result = true; in parse_state_advance()
446 result = true; in parse_state_advance()
454 result = sec_ctrl_parse(p_parser_data); in parse_state_advance()
462 result = true; in parse_state_advance()
470 result = full_parse(p_parser_data); in parse_state_advance()
483 if (result) in parse_state_advance()
488 while (result); in parse_state_advance()
Dnrf_802154_precise_ack_timeout.c182 bool result; in nrf_802154_ack_timeout_abort() local
187 result = true; in nrf_802154_ack_timeout_abort()
194 result = true; in nrf_802154_ack_timeout_abort()
198 result = false; in nrf_802154_ack_timeout_abort()
201 return result; in nrf_802154_ack_timeout_abort()
/hal_nordic-3.6.0/drivers/nrf_802154/driver/src/
Dnrf_802154_rssi.c57 int8_t result; in nrf_802154_rssi_sample_temp_corr_value_get() local
63 result = 3; in nrf_802154_rssi_sample_temp_corr_value_get()
67 result = 2; in nrf_802154_rssi_sample_temp_corr_value_get()
71 result = 1; in nrf_802154_rssi_sample_temp_corr_value_get()
75 result = 0; in nrf_802154_rssi_sample_temp_corr_value_get()
79 result = -1; in nrf_802154_rssi_sample_temp_corr_value_get()
83 result = -2; in nrf_802154_rssi_sample_temp_corr_value_get()
87 result = -3; in nrf_802154_rssi_sample_temp_corr_value_get()
93 result = -4; in nrf_802154_rssi_sample_temp_corr_value_get()
97 result = 0; in nrf_802154_rssi_sample_temp_corr_value_get()
[all …]
Dnrf_802154.c268 bool result = false; in nrf_802154_antenna_diversity_rx_mode_set() local
271 result = nrf_802154_sl_ant_div_cfg_mode_set(NRF_802154_SL_ANT_DIV_OP_RX, mode); in nrf_802154_antenna_diversity_rx_mode_set()
274 if (result) in nrf_802154_antenna_diversity_rx_mode_set()
279 return result; in nrf_802154_antenna_diversity_rx_mode_set()
289 bool result = false; in nrf_802154_antenna_diversity_tx_mode_set() local
292 result = nrf_802154_sl_ant_div_cfg_mode_set(NRF_802154_SL_ANT_DIV_OP_TX, mode); in nrf_802154_antenna_diversity_tx_mode_set()
295 if (result) in nrf_802154_antenna_diversity_tx_mode_set()
300 return result; in nrf_802154_antenna_diversity_tx_mode_set()
310 bool result = in nrf_802154_antenna_diversity_rx_antenna_set() local
315 if (result && is_manual_mode) in nrf_802154_antenna_diversity_rx_antenna_set()
[all …]
Dnrf_802154_core.c432 static void cca_notify(bool result) in cca_notify() argument
436 nrf_802154_notify_cca(result); in cca_notify()
508 bool result = nrf_802154_frame_parser_data_init(p_frame, in ack_is_requested() local
513 return result && nrf_802154_frame_parser_ar_bit_is_set(&frame_data); in ack_is_requested()
629 int_fast8_t result = 0; in action_needed() local
633 result = -1; in action_needed()
637 result = 1; in action_needed()
640 return result; in action_needed()
664 bool result = nrf_802154_critical_section_enter(); in critical_section_enter_and_verify_timeslot_length() local
666 if (result) in critical_section_enter_and_verify_timeslot_length()
[all …]
Dnrf_802154_core_hooks.c215 bool result = true; in nrf_802154_core_hooks_terminate() local
224 result = m_abort_hooks[i](term_lvl, req_orig); in nrf_802154_core_hooks_terminate()
226 if (!result) in nrf_802154_core_hooks_terminate()
232 return result; in nrf_802154_core_hooks_terminate()
240 bool result = true; in nrf_802154_core_hooks_pre_transmission() local
250 result = m_pre_transmission_hooks[i](p_frame, p_params, notify_function); in nrf_802154_core_hooks_pre_transmission()
252 if (!result) in nrf_802154_core_hooks_pre_transmission()
258 return result; in nrf_802154_core_hooks_pre_transmission()
266 bool result = true; in nrf_802154_core_hooks_tx_setup() local
276 result = m_tx_setup_hooks[i](p_frame, p_params, notify_function); in nrf_802154_core_hooks_tx_setup()
[all …]
Dnrf_802154_pib.c131 bool result = false; in coex_tx_request_mode_is_supported() local
139 result = true; in coex_tx_request_mode_is_supported()
146 return result; in coex_tx_request_mode_is_supported()
159 bool result = false; in coex_rx_request_mode_is_supported() local
168 result = true; in coex_rx_request_mode_is_supported()
175 return result; in coex_rx_request_mode_is_supported()
339 bool result = coex_rx_request_mode_is_supported(mode); in nrf_802154_pib_coex_rx_request_mode_set() local
341 if (result) in nrf_802154_pib_coex_rx_request_mode_set()
346 return result; in nrf_802154_pib_coex_rx_request_mode_set()
356 bool result = coex_tx_request_mode_is_supported(mode); in nrf_802154_pib_coex_tx_request_mode_set() local
[all …]
Dnrf_802154_request_direct.c52 bool result; \
54 result = func_core(__VA_ARGS__); \
56 return result;
59 bool result; \
61 result = func_core(); \
63 return result;
Dnrf_802154_critical_section.c113 bool result = false; in critical_section_enter() local
139 result = true; in critical_section_enter()
144 return result; in critical_section_enter()
200 bool result; in nrf_802154_critical_section_enter() local
204 result = critical_section_enter(false); in nrf_802154_critical_section_enter()
208 return result; in nrf_802154_critical_section_enter()
Dnrf_802154_utils.h131 uint64_t result; in NRF_802154_US_TO_RTC_TICKS() local
168 result = t1 * 512; in NRF_802154_US_TO_RTC_TICKS()
198 result += u1; in NRF_802154_US_TO_RTC_TICKS()
200 return result; in NRF_802154_US_TO_RTC_TICKS()
Dnrf_802154_encrypt.c91 bool result = true; in a_data_and_m_data_prepare() local
144 result = false; in a_data_and_m_data_prepare()
148 return result; in a_data_and_m_data_prepare()
219 bool result; in aes_ccm_data_a_data_and_m_data_prepare() local
228 result = a_data_and_m_data_prepare(p_frame_data, p_aes_ccm_data); in aes_ccm_data_a_data_and_m_data_prepare()
239 result = false; in aes_ccm_data_a_data_and_m_data_prepare()
244 result = false; in aes_ccm_data_a_data_and_m_data_prepare()
249 return result; in aes_ccm_data_a_data_and_m_data_prepare()
Dnrf_802154_trx.c917 bool result = true; in rx_antenna_update() local
927 result = nrf_802154_sl_ant_div_antenna_set( in rx_antenna_update()
940 NRF_802154_ASSERT(result); in rx_antenna_update()
941 (void)result; in rx_antenna_update()
952 bool result = true; in tx_antenna_update() local
963 result = nrf_802154_sl_ant_div_antenna_set( in tx_antenna_update()
973 if (!result) in tx_antenna_update()
1088 bool result = false; in nrf_802154_trx_receive_buffer_set() local
1095 result = true; in nrf_802154_trx_receive_buffer_set()
1100 return result; in nrf_802154_trx_receive_buffer_set()
[all …]
Dnrf_802154_notification_swi.c166 nrf_802154_energy_detected_t result; ///< Energy detection result. member
176 bool result; ///< CCA result. member
471 p_slot->data.energy_detected.result = *p_result; in swi_notify_energy_detected()
530 p_slot->data.cca.result = channel_free; in swi_notify_cca()
756 nrf_802154_energy_detected(&p_slot->data.energy_detected.result); in irq_handler_ntf_event()
765 nrf_802154_cca_done(p_slot->data.cca.result); in irq_handler_ntf_event()
/hal_nordic-3.6.0/drivers/nrf_802154/serialization/src/
Dnrf_802154_buffer_mgr_dst.c68 bool result = false; in nrf_802154_buffer_mgr_dst_add() local
75 result = nrf_802154_kvmap_add(&p_obj->map, pp_local_pointer, &buffer_handle); in nrf_802154_buffer_mgr_dst_add()
80 NRF_802154_ASSERT(result); in nrf_802154_buffer_mgr_dst_add()
83 return result; in nrf_802154_buffer_mgr_dst_add()
98 bool result; in nrf_802154_buffer_mgr_dst_remove_by_local_pointer() local
100 result = nrf_802154_kvmap_remove(&p_obj->map, &p_local_pointer); in nrf_802154_buffer_mgr_dst_remove_by_local_pointer()
101 if (result) in nrf_802154_buffer_mgr_dst_remove_by_local_pointer()
106 return result; in nrf_802154_buffer_mgr_dst_remove_by_local_pointer()
Dnrf_802154_buffer_mgr_src.c67 bool result; in nrf_802154_buffer_mgr_src_add() local
70 result = nrf_802154_kvmap_add(&p_obj->map, &buffer_handle, NULL); in nrf_802154_buffer_mgr_src_add()
71 if (result) in nrf_802154_buffer_mgr_src_add()
76 return result; in nrf_802154_buffer_mgr_src_add()
84 bool result = false; in nrf_802154_buffer_mgr_src_search_by_buffer_handle() local
89 result = true; in nrf_802154_buffer_mgr_src_search_by_buffer_handle()
91 return result; in nrf_802154_buffer_mgr_src_search_by_buffer_handle()
Dnrf_802154_spinel_dec_net.c154 bool result = nrf_802154_receive_at(rx_time, timeout, channel, id); in spinel_decode_prop_nrf_802154_receive_at() local
159 result); in spinel_decode_prop_nrf_802154_receive_at()
186 bool result = nrf_802154_receive_at_cancel(id); in spinel_decode_prop_nrf_802154_receive_at_cancel() local
191 result); in spinel_decode_prop_nrf_802154_receive_at_cancel()
377 bool result = nrf_802154_pan_coord_get(); in spinel_decode_prop_nrf_802154_pan_coord_get() local
382 result); in spinel_decode_prop_nrf_802154_pan_coord_get()
458 bool result = nrf_802154_cca(); in spinel_decode_prop_nrf_802154_cca() local
462 result); in spinel_decode_prop_nrf_802154_cca()
481 bool result = nrf_802154_continuous_carrier(); in spinel_decode_prop_nrf_802154_continuous_carrier() local
486 result); in spinel_decode_prop_nrf_802154_continuous_carrier()
[all …]
/hal_nordic-3.6.0/drivers/nrf_802154/driver/src/mac_features/ack_generator/
Dnrf_802154_enh_ack_generator.c338 bool result; in security_header_set() local
359 result = nrf_802154_frame_parser_valid_data_extend(p_ack_data, in security_header_set()
362 NRF_802154_ASSERT(result); in security_header_set()
363 (void)result; in security_header_set()
483 bool result = nrf_802154_frame_parser_valid_data_extend(&m_ack_data, in fcf_process() local
487 NRF_802154_ASSERT(result); in fcf_process()
488 (void)result; in fcf_process()
511 bool result = nrf_802154_frame_parser_valid_data_extend(&m_ack_data, in addr_end_process() local
515 NRF_802154_ASSERT(result); in addr_end_process()
516 (void)result; in addr_end_process()
[all …]
/hal_nordic-3.6.0/nrfx/drivers/src/
Dnrfx_temp.c118 nrfx_err_t result = NRFX_SUCCESS; in nrfx_temp_measure() local
132 result = NRFX_ERROR_INTERNAL; in nrfx_temp_measure()
141 return result; in nrfx_temp_measure()
Dnrfx_wdt.c235 nrfx_err_t result; in nrfx_wdt_channel_alloc() local
247 result = NRFX_SUCCESS; in nrfx_wdt_channel_alloc()
251 result = NRFX_ERROR_NO_MEM; in nrfx_wdt_channel_alloc()
254 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(result)); in nrfx_wdt_channel_alloc()
255 return result; in nrfx_wdt_channel_alloc()

12