Searched refs:nbr (Results 1 – 4 of 4) sorted by relevance
/nrf_hw_models-3.7.0/src/nrfx/hal/ |
D | nrf_hack.c | 53 #define PERIPHERAL_REG_BASE(per, nbr, post) \ argument 54 (void*)NRF_##per##nbr##post##_BASE 56 #define IS_PERIPHERAL_REG(p, per, nbr, post) \ argument 57 (p >= PERIPHERAL_REG_BASE(per, nbr, post)) && \ 58 ((intptr_t)p < (intptr_t)PERIPHERAL_REG_BASE(per, nbr, post) + sizeof(NRF_##per##_Type)) 95 #define IF_PER(per, nbr, post, lname) \ in nrf_dppi_hack_get_task_from_ptr() argument 96 if (IS_PERIPHERAL_REG(task_reg, per, nbr, post)) { \ in nrf_dppi_hack_get_task_from_ptr() 97 *p_reg = PERIPHERAL_REG_BASE(per, nbr, post); \ in nrf_dppi_hack_get_task_from_ptr()
|
/nrf_hw_models-3.7.0/src/HW_models/ |
D | NHW_GRTC.c | 161 static inline void nhw_GRTC_check_valid_cc_index(uint inst, uint nbr, const char *type) in nhw_GRTC_check_valid_cc_index() argument 163 if ((inst >= NHW_GRTC_TOTAL_INST) || (nbr >= nhw_grtc_st.n_cc) ) { in nhw_GRTC_check_valid_cc_index() 165 type, nbr, nhw_grtc_st.n_cc, inst); in nhw_GRTC_check_valid_cc_index() 169 static inline void nhw_GRTC_check_valid_irq_index(uint inst, uint nbr, const char *type) in nhw_GRTC_check_valid_irq_index() argument 171 if ((inst >= NHW_GRTC_TOTAL_INST) || (nbr >= nhw_grtc_st.n_int) ) { in nhw_GRTC_check_valid_irq_index() 173 type, nbr, nhw_grtc_st.n_int, inst); in nhw_GRTC_check_valid_irq_index() 177 static inline void nhw_GRTC_check_valid_domain_index(uint inst, uint nbr, const char *type) in nhw_GRTC_check_valid_domain_index() argument 179 if ((inst >= NHW_GRTC_TOTAL_INST) || (nbr >= nhw_grtc_st.n_domains) ) { in nhw_GRTC_check_valid_domain_index() 181 type, nbr, nhw_grtc_st.n_domains, inst); in nhw_GRTC_check_valid_domain_index()
|
D | NHW_EGU.c | 114 static inline void nhw_egu_check_inst_event(uint egu_inst, uint nbr, const char *type) in nhw_egu_check_inst_event() argument 116 if ((egu_inst >= NHW_EGU_TOTAL_INST) || (nbr >= nhw_egu_st[egu_inst].n_events) ) { in nhw_egu_check_inst_event() 118 type, nbr, nhw_egu_st[egu_inst].n_events, egu_inst); in nhw_egu_check_inst_event()
|
/nrf_hw_models-3.7.0/src/nrfx/drivers/ |
D | nrfx_common.c | 12 #define PERIPHERAL_REG_BASE(per, nbr, post) \ argument 13 (void*)NRF_##per##nbr##post##_BASE 15 #define IS_PERIPHERAL_REG(p, per, nbr, post) \ argument 16 (p >= PERIPHERAL_REG_BASE(per, nbr, post)) && \ 17 ((intptr_t)p < (intptr_t)PERIPHERAL_REG_BASE(per, nbr, post) + sizeof(NRF_##per##_Type))
|