/nrf_hw_models-latest/src/HW_models/ |
D | NHW_UART.c | 226 uart_rtxb_cb_f nhw_uarte_register_rx_cb(int inst, uart_rtxb_cb_f cb, bool Rx_NotTx) { in nhw_uarte_register_rx_cb() 236 void nhw_UARTE_backend_register(uint inst, struct backend_if *backend) { in nhw_UARTE_backend_register() 263 static bool uart_enabled(uint inst) { in uart_enabled() 272 static bool uarte_enabled(uint inst) { in uarte_enabled() 290 static inline bs_time_t nhw_uarte_nbits_time(uint inst, uint nbits) { in nhw_uarte_nbits_time() 295 static int nhw_uarte_get_frame_size(uint inst) { in nhw_uarte_get_frame_size() 313 bs_time_t nhw_uarte_one_byte_time(uint inst) { in nhw_uarte_one_byte_time() 329 static uint8_t Rx_FIFO_pop(uint inst, struct uarte_status *u_el) { in Rx_FIFO_pop() 354 static void Rx_FIFO_push(uint inst, struct uarte_status *u_el, uint8_t value) { in Rx_FIFO_push() 371 static void nhw_UARTE_Rx_DMA_end(uint inst, struct uarte_status * u_el) { in nhw_UARTE_Rx_DMA_end() [all …]
|
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() 169 static inline void nhw_GRTC_check_valid_irq_index(uint inst, uint nbr, const char *type) 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() 186 bs_time_t nhw_GRTC_counter_to_time(uint inst, uint64_t value) { in nhw_GRTC_counter_to_time() 209 static void nhw_GRTC_update_cc_timer(uint inst, int cc) { in nhw_GRTC_update_cc_timer() 222 static void nhw_GRTC_update_all_cc_timers(uint inst) { in nhw_GRTC_update_all_cc_timers() 233 static void nhw_GRTC_eval_interrupt(uint inst) in nhw_GRTC_eval_interrupt() 271 static void nhw_GRTC_signal_EVENTS_COMPARE(uint inst, uint n) { in nhw_GRTC_signal_EVENTS_COMPARE() 279 static void nhw_GRTC_signal_EVENTS_SYSCOUNTERVALID(uint inst) { in nhw_GRTC_signal_EVENTS_SYSCOUNTERVALID() 298 static void nhw_GRTC_TASK_START(uint inst) { in nhw_GRTC_TASK_START() [all …]
|
D | irq_ctrl.c | 100 void hw_irq_ctrl_set_cur_prio(unsigned int inst, int new) in hw_irq_ctrl_set_cur_prio() 105 int hw_irq_ctrl_get_cur_prio(unsigned int inst) in hw_irq_ctrl_get_cur_prio() 110 void hw_irq_ctrl_prio_set(unsigned int inst, unsigned int irq, unsigned int prio) in hw_irq_ctrl_prio_set() 115 uint8_t hw_irq_ctrl_get_prio(unsigned int inst, unsigned int irq) in hw_irq_ctrl_get_prio() 120 static inline bool irq_status_not_zero(unsigned int inst) { in irq_status_not_zero() 135 int hw_irq_ctrl_get_highest_prio_irq(unsigned int inst) in hw_irq_ctrl_get_highest_prio_irq() 163 uint32_t hw_irq_ctrl_get_current_lock(unsigned int inst) in hw_irq_ctrl_get_current_lock() 173 uint32_t hw_irq_ctrl_change_lock(unsigned int inst, uint32_t new_lock) in hw_irq_ctrl_change_lock() 188 void hw_irq_ctrl_clear_all_enabled_irqs(unsigned int inst) in hw_irq_ctrl_clear_all_enabled_irqs() 205 void hw_irq_ctrl_clear_all_irqs(unsigned int inst) in hw_irq_ctrl_clear_all_irqs() [all …]
|
D | NHW_RADIO_signals.c | 49 static void nhw_RADIO_eval_interrupt(uint inst) { in nhw_RADIO_eval_interrupt() 172 void nhw_RADIO_signal_EVENTS_ADDRESS(unsigned int inst) { in nhw_RADIO_signal_EVENTS_ADDRESS() 179 void nhw_RADIO_signal_EVENTS_END(unsigned int inst) { in nhw_RADIO_signal_EVENTS_END() 188 void nhw_RADIO_signal_EVENTS_DISABLED(unsigned int inst) { in nhw_RADIO_signal_EVENTS_DISABLED() 214 void nhw_RADIO_signal_EVENTS_FRAMESTART(unsigned int inst) { in nhw_RADIO_signal_EVENTS_FRAMESTART() 220 void nhw_RADIO_signal_EVENTS_EDEND(unsigned int inst) { in nhw_RADIO_signal_EVENTS_EDEND() 226 void nhw_RADIO_signal_EVENTS_CCAIDLE(unsigned int inst) { in nhw_RADIO_signal_EVENTS_CCAIDLE() 233 void nhw_RADIO_signal_EVENTS_CCABUSY(unsigned int inst) { in nhw_RADIO_signal_EVENTS_CCABUSY() 239 void nhw_RADIO_signal_EVENTS_TXREADY(unsigned int inst) { in nhw_RADIO_signal_EVENTS_TXREADY() 245 void nhw_RADIO_signal_EVENTS_RXREADY(unsigned int inst) { in nhw_RADIO_signal_EVENTS_RXREADY() [all …]
|
D | NHW_54_AAR_CCM_ECB.c | 196 static void nhw_AAR_eval_interrupt(uint inst) { in nhw_AAR_eval_interrupt() 216 static void nhw_CCM_eval_interrupt(uint inst) { in nhw_CCM_eval_interrupt() 233 static void nhw_ECB_eval_interrupt(uint inst) { in nhw_ECB_eval_interrupt() 274 static void nhw_AAR_stop(uint inst) { in nhw_AAR_stop() 281 static void nhw_AAR_resolve_logic(uint inst) { in nhw_AAR_resolve_logic() 382 static void nhw_AAR_TASK_START_inner(uint inst) { in nhw_AAR_TASK_START_inner() 394 static void nhw_AAR_TASK_STOP_inner(uint inst) { in nhw_AAR_TASK_STOP_inner() 405 void nhw_AARCCM_regw_sideeffects_ENABLE(unsigned int inst) { in nhw_AARCCM_regw_sideeffects_ENABLE() 453 static int nhw_CCM_MAC_size(uint inst) { in nhw_CCM_MAC_size() 469 static void nhw_CCM_logic(uint inst) { in nhw_CCM_logic() [all …]
|
D | NHW_RRAMC.c | 110 for (int inst = 0; inst < NHW_RRAMC_UICR_TOTAL_INST; inst++) { in nhw_RRAMC_uicr_init() local 144 for (int inst = 0; inst < NHW_RRAMC_UICR_TOTAL_INST; inst++) { in nhw_RRAMC_uicr_clean_up() local 156 static void nhw_RRAMC_erase_uicr(uint inst){ in nhw_RRAMC_erase_uicr() 164 static void nhw_RRAMC_erase_all(uint inst){ in nhw_RRAMC_erase_all() 170 void nhw_RRAMC_regw_sideeffects_ERASEALL(uint inst) { in nhw_RRAMC_regw_sideeffects_ERASEALL() 194 static void nhw_RRAMC_address_location(uint32_t address, uint *inst, nvm_storage_state_t **storage,… in nhw_RRAMC_address_location() 230 uint inst; in nhw_RRAMC_write_word() local 254 uint inst; in nhw_RRAMC_write_halfword() local 272 uint inst; in nhw_RRAMC_write_byte() local 292 uint inst; in nhw_RRAMC_read_word() local [all …]
|
D | NHW_NVMC.c | 140 for (int inst = 0; inst < NHW_NVMC_UICR_TOTAL_INST; inst++) { in nhw_nvmc_uicr_init() local 190 for (int inst = 0; inst < NHW_NVMC_UICR_TOTAL_INST; inst++) { in nhw_nvmc_uicr_clean_up() local 208 static void nhw_nvmc_complete_erase(uint inst) { in nhw_nvmc_complete_erase() 222 static void nhw_nvmc_complete_erase_partial(uint inst){ in nhw_nvmc_complete_erase_partial() 232 static void nhw_nvmc_complete_erase_uicr(uint inst){ in nhw_nvmc_complete_erase_uicr() 240 static void nhw_nvmc_complete_erase_all(uint inst){ in nhw_nvmc_complete_erase_all() 254 for (int inst = 0; inst < NHW_NVMC_UICR_TOTAL_INST; inst++) { in nhw_nvmc_timer_triggered() local 293 bs_time_t nhw_nvmc_time_to_ready(uint inst) { in nhw_nvmc_time_to_ready() 349 void nhw_nvmc_erase_page(uint inst, uint32_t address){ in nhw_nvmc_erase_page() 366 void nhw_nvmc_regw_sideeffects_ERASEPAGE(uint inst) { in nhw_nvmc_regw_sideeffects_ERASEPAGE() [all …]
|
D | NHW_IPC.c | 80 static void nhw_IPC_eval_interrupt(uint inst) { in nhw_IPC_eval_interrupt() 106 #define CHECK_VALID_CHANNEL(inst, ch, what) \ argument 112 static void nhw_IPC_signal_EVENT(uint inst, uint ch) { in nhw_IPC_signal_EVENT() 125 for (uint inst = 0; inst < NHW_IPC_TOTAL_INST; inst++) { in nhw_IPC_notify_ipc_ch() local 135 static void nhw_IPC_TASKS_SEND(uint inst, uint ch) { in nhw_IPC_TASKS_SEND() 146 void nhw_IPC_regw_sideeffects_TASKS_SEND(uint inst, uint ch) { in nhw_IPC_regw_sideeffects_TASKS_SEND() 154 unsigned int inst = (uintptr_t)param >> 16; in nhw_IPC_tasks_send_wrap() local 159 void nhw_IPC_regw_sideeffects_SUBSCRIBE_SEND(uint inst, uint ch) { in nhw_IPC_regw_sideeffects_SUBSCRIBE_SEND()
|
D | NHW_54L_CLOCK.c | 127 static void nhw_CLOCK_eval_interrupt(uint inst) { in nhw_CLOCK_eval_interrupt() 154 static void nhw_CLOCK_TASK_XOSTART(uint inst) { in nhw_CLOCK_TASK_XOSTART() 164 static void nhw_CLOCK_TASK_XOSTOP(uint inst) { in nhw_CLOCK_TASK_XOSTOP() 174 static void nhw_CLOCK_TASK_PLLSTART(uint inst) { in nhw_CLOCK_TASK_PLLSTART() 184 static void nhw_CLOCK_TASK_PLLSTOP(uint inst) { in nhw_CLOCK_TASK_PLLSTOP() 194 static void nhw_CLOCK_TASK_LFCLKSTART(uint inst) { in nhw_CLOCK_TASK_LFCLKSTART() 205 static void nhw_CLOCK_TASK_LFCLKSTOP(uint inst) { in nhw_CLOCK_TASK_LFCLKSTOP() 215 static void nhw_CLOCK_TASK_CAL(uint inst) { in nhw_CLOCK_TASK_CAL() 230 static void nhw_CLOCK_TASK_XOTUNE(uint inst) { in nhw_CLOCK_TASK_XOTUNE() 239 static void nhw_CLOCK_TASK_XOTUNEABORT(uint inst) { in nhw_CLOCK_TASK_XOTUNEABORT()
|
D | NRF_GPIOTE.c | 116 void nrf_gpiote_TASKS_OUT(unsigned int inst, unsigned int n) { in nrf_gpiote_TASKS_OUT() 141 void nrf_gpiote_TASKS_SET(unsigned int inst, unsigned int n) { in nrf_gpiote_TASKS_SET() 151 void nrf_gpiote_TASKS_CLR(unsigned int inst, unsigned int n) { in nrf_gpiote_TASKS_CLR() 161 static void nrf_gpiote_eval_interrupt(unsigned int inst) { in nrf_gpiote_eval_interrupt() 199 static void nhw_GPIOTE_signal_EVENTS_IN(unsigned int inst, unsigned int n) { in nhw_GPIOTE_signal_EVENTS_IN() 210 static void nhw_GPIOTE_signal_EVENTS_PORT(unsigned int inst) { in nhw_GPIOTE_signal_EVENTS_PORT() 242 uint inst = (intptr_t)cb_data >> 8; in nrf_gpiote_input_change_ntf() local 282 void nrf_gpiote_regw_sideeffects_TASKS_OUT(unsigned int inst, unsigned int n) { in nrf_gpiote_regw_sideeffects_TASKS_OUT() 289 void nrf_gpiote_regw_sideeffects_TASKS_SET(unsigned int inst, unsigned int n) { in nrf_gpiote_regw_sideeffects_TASKS_SET() 296 void nrf_gpiote_regw_sideeffects_TASKS_CLR(unsigned int inst, unsigned int n) { in nrf_gpiote_regw_sideeffects_TASKS_CLR() [all …]
|
D | bstest_ticker.c | 71 static void nhw_bst_ticker_find_next_time(uint inst) { in nhw_bst_ticker_find_next_time() 83 void bst_ticker_amp_set_period(uint inst, bs_time_t tick_period) in bst_ticker_amp_set_period() 95 void bst_ticker_amp_set_next_tick_absolutelute(uint inst, bs_time_t absolute_time) in bst_ticker_amp_set_next_tick_absolutelute() 105 void bst_ticker_amp_set_next_tick_delta(uint inst, bs_time_t delta_time) in bst_ticker_amp_set_next_tick_delta() 142 void bst_ticker_amp_awake_cpu_asap(uint inst) in bst_ticker_amp_awake_cpu_asap()
|
D | NHW_PPIB.c | 103 static void nhw_ppib_confirm_direction(uint inst, uint ppib_ch, bool source) in nhw_ppib_confirm_direction() 135 static void nhw_ppib_TASK_SEND(uint inst, uint ppib_ch) in nhw_ppib_TASK_SEND() 145 unsigned int inst = (uintptr_t)param >> 16; in nhw_ppib_tasksend_wrap() local 150 void nhw_PPIB_regw_sideeffects_SUBSCRIBE_SEND(uint inst, uint ppib_ch){ in nhw_PPIB_regw_sideeffects_SUBSCRIBE_SEND() 167 static void nhw_ppib_propagate_event_mate(uint inst, uint ppib_ch) { in nhw_ppib_propagate_event_mate()
|
D | NHW_CLOCK.c | 77 uint inst; member 181 static void nhw_pwrclk_eval_interrupt(int inst) { in nhw_pwrclk_eval_interrupt() 269 void nhw_clock_TASKS_LFCLKSTOP(uint inst) { in nhw_clock_TASKS_LFCLKSTOP() 287 void nhw_clock_TASKS_HFCLKSTART(uint inst) { in nhw_clock_TASKS_HFCLKSTART() 298 void nhw_clock_TASKS_HFCLKSTOP(uint inst) { in nhw_clock_TASKS_HFCLKSTOP() 316 void nhw_clock_TASKS_HFCLKAUDIOSTART(uint inst) { in nhw_clock_TASKS_HFCLKAUDIOSTART() 322 void nhw_clock_TASKS_HFCLKAUDIOSTOP(uint inst) { in nhw_clock_TASKS_HFCLKAUDIOSTOP() 328 void nhw_clock_TASKS_HFCLK192MSTART(uint inst) { in nhw_clock_TASKS_HFCLK192MSTART() 334 void nhw_clock_TASKS_HFCLK192MSTOP(uint inst) { in nhw_clock_TASKS_HFCLK192MSTOP() 341 void nhw_clock_TASKS_CAL(uint inst) { in nhw_clock_TASKS_CAL() [all …]
|
D | NHW_UART_backend_fifo.c | 183 static void tx_sync_line_params(uint inst, struct ufifo_st_t *u_el) { in tx_sync_line_params() 217 static void nhw_ufifo_tx_byte(uint inst, uint16_t data) { in nhw_ufifo_tx_byte() 239 static void nhw_ufifo_RTS_pin_toggle(uint inst, bool new_level) { in nhw_ufifo_RTS_pin_toggle() 257 static void nhw_ufifo_enable_notify(uint inst, uint8_t tx_enabled, uint8_t rx_enabled) { in nhw_ufifo_enable_notify() 288 static void uf_propage_cts(uint inst, struct ufifo_st_t *u_el) { in uf_propage_cts() 321 static int uf_rx_get_one_msg(uint inst, struct ufifo_st_t *u_el) { in uf_rx_get_one_msg() 393 static void uf_rx_check_config_match(uint inst, struct ufifo_st_t *u_el) { in uf_rx_check_config_match() 412 static void uf_rx_process_last_msg_post(uint inst, struct ufifo_st_t *u_el) { in uf_rx_process_last_msg_post() 450 static void uf_Rx_handle_old_input(uint inst, struct ufifo_st_t *u_el) { in uf_Rx_handle_old_input() 485 static void nhw_ufifo_handle_RxTimer(int inst, struct ufifo_st_t *u_el) { in nhw_ufifo_handle_RxTimer() [all …]
|
D | NHW_UART_backend_pty.c | 113 static void nhw_upty_tx_byte(uint inst, uint16_t data) { in nhw_upty_tx_byte() 133 static void nhw_upty_RTS_pin_toggle(uint inst, bool new_level) { in nhw_upty_RTS_pin_toggle() 151 static void nhw_upty_enable_notify(uint inst, uint8_t tx_enabled, uint8_t rx_enabled) { in nhw_upty_enable_notify() 173 static void nhw_upty_check_for_input(uint inst, struct upty_st_t *u_el) { in nhw_upty_check_for_input()
|
D | NHW_EGU.c | 91 static void nhw_egu_eval_interrupt(uint inst) in nhw_egu_eval_interrupt() 122 static void nhw_egu_signal_EVENTS_TRIGGERED(uint inst, uint event_nbr) in nhw_egu_signal_EVENTS_TRIGGERED() 152 void nhw_egu_TASK_TRIGGER(uint inst, uint task_nbr) in nhw_egu_TASK_TRIGGER() 160 unsigned int inst = (uintptr_t)param >> 16; in nhw_egu_tasktrigger_wrap() local 165 void nhw_egu_regw_sideeffects_SUBSCRIBE_TRIGGER(uint inst, uint n) { in nhw_egu_regw_sideeffects_SUBSCRIBE_TRIGGER() 178 void nhw_egu_regw_sideeffect_INTENSET(uint inst) { in nhw_egu_regw_sideeffect_INTENSET() 188 void nhw_egu_regw_sideeffect_INTENCLR(uint inst) { in nhw_egu_regw_sideeffect_INTENCLR() 199 void nhw_egu_regw_sideeffect_INTEN(uint inst) { in nhw_egu_regw_sideeffect_INTEN() 205 void nhw_egu_regw_sideeffect_EVENTS_TRIGGERED(uint inst, uint event_nbr) { in nhw_egu_regw_sideeffect_EVENTS_TRIGGERED() 210 void nhw_egu_regw_sideeffects_TASK_TRIGGER(uint inst, uint task_nbr){ in nhw_egu_regw_sideeffects_TASK_TRIGGER()
|
D | NHW_UART_be_loopb.c | 91 static void nhw_ublb_tx_byte(uint inst, uint16_t data) { in nhw_ublb_tx_byte() 100 static void nhw_ublb_RTS_pin_toggle(uint inst, bool new_level) { in nhw_ublb_RTS_pin_toggle()
|
D | NHW_templates.h | 72 #define _NHW_XPPI_EVENT(peri, peri_regs, inst, event) \ argument 75 #define _NHW_XPPI_EVENT(peri, peri_regs, inst, event) \ argument 184 #define NHW_SHORT(peri, inst, peri_regs, event, task) \ argument 192 #define NHW_SHORT_ST(peri, inst, peri_regs, event, task, task_st) \ argument
|
D | fake_timer.c | 68 void nhw_fake_timer_wake_in_time(unsigned int inst, bs_time_t time) in nhw_fake_timer_wake_in_time()
|
D | NHW_TEMP.c | 145 static void nhw_TEMP_eval_interrupt(uint inst) { in nhw_TEMP_eval_interrupt()
|
D | NHW_RNG.c | 81 static void nhw_RNG_eval_interrupt(uint inst) { in nhw_RNG_eval_interrupt()
|
/nrf_hw_models-latest/src/nrfx/hal/ |
D | nrf_gpiote.c | 57 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_task_trigger() local 78 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_event_clear() local 104 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_int_enable() local 112 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_int_disable() local 119 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_event_enable() local 126 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_event_disable() local 173 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_int_group_enable() local 218 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_int_group_disable() local 228 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_event_configure() local 237 uint inst = gpiote_number_from_ptr(p_reg); in nrf_gpiote_task_enable() local [all …]
|
D | nrf_54_aar.c | 23 int inst = aar_inst_from_ptr(p_reg); in nrf_aar_int_enable() local 30 int inst = aar_inst_from_ptr(p_reg); in nrf_aar_int_disable() local 37 int inst = aar_inst_from_ptr(p_reg); in nrf_aar_task_trigger() local 52 int inst = aar_inst_from_ptr(p_reg); in nrf_aar_enable() local 59 int inst = aar_inst_from_ptr(p_reg); in nrf_aar_disable() local 66 int inst = aar_inst_from_ptr(p_reg); in nrf_aar_event_clear() local 74 int inst = aar_inst_from_ptr(p_reg); in nrf_aar_subscribe_common() local
|
D | nrf_54_ccm.c | 22 int inst = ccm_inst_from_ptr(p_reg); in nrf_ccm_task_trigger() local 38 int inst = ccm_inst_from_ptr(p_reg); in nrf_ccm_int_enable() local 45 int inst = ccm_inst_from_ptr(p_reg); in nrf_ccm_int_disable() local 52 int inst = ccm_inst_from_ptr(p_reg); in nrf_ccm_enable() local 59 int inst = ccm_inst_from_ptr(p_reg); in nrf_ccm_disable() local 66 int inst = ccm_inst_from_ptr(p_reg); in nrf_ccm_event_clear() local 74 int inst = ccm_inst_from_ptr(p_reg); in nrf_ccm_subscribe_common() local
|
D | nrf_54_ecb.c | 20 int inst = ecb_inst_from_ptr(p_reg); in nrf_ecb_task_trigger() local 35 int inst = ecb_inst_from_ptr(p_reg); in nrf_ecb_int_enable() local 42 int inst = ecb_inst_from_ptr(p_reg); in nrf_ecb_int_disable() local 49 int inst = ecb_inst_from_ptr(p_reg); in nrf_ecb_event_clear() local 57 int inst = ecb_inst_from_ptr(p_reg); in nrf_ecb_subscribe_common() local
|