Home
last modified time | relevance | path

Searched refs:n_ch (Results 1 – 3 of 3) sorted by relevance

/nrf_hw_models-3.7.0/src/HW_models/
DNHW_IPC.c36 uint n_ch; /* Number of events configured in this IPC instance */ member
58 nhw_ipc_st[i].n_ch = nhw_ipc_n_ch[i]; in nhw_ipc_init()
91 for (int i = 0; i < this->n_ch; i++) { in nhw_IPC_eval_interrupt()
107 if (nhw_ipc_st[inst].n_ch <= ch) { \
109 inst, what, ch, nhw_ipc_st[inst].n_ch); \
127 for (int i = 0; i < nhw_ipc_st[inst].n_ch; i++) { in nhw_IPC_notify_ipc_ch()
DNHW_DPPI.c82 uint n_ch; /* Number of channels configured in this DPPI instance */ member
117 el->n_ch = nhw_dppi_n_ch[i]; in nhw_dppi_init()
120 int n_ch = nhw_dppi_n_ch[i]; in nhw_dppi_init() local
122 el->registry = (struct dppi_registry_el **)bs_calloc(n_ch, sizeof(void*)); in nhw_dppi_init()
123 el->reg_size = (uint*)bs_calloc(n_ch, sizeof(uint)); in nhw_dppi_init()
124 el->reg_used = (uint*)bs_calloc(n_ch, sizeof(uint)); in nhw_dppi_init()
150 int n_ch = nhw_dppi_st[i].n_ch; in nhw_dppi_free() local
151 for (int n = 0; n < n_ch; n++) { in nhw_dppi_free()
199 if (ch_n >= this->n_ch) { in nhw_dppi_check_ch_valid()
202 __func__, type, ch_n, this->n_ch, dppi_inst); in nhw_dppi_check_ch_valid()
DNHW_PPIB.c40 uint n_ch; /* Number of channels */ member
64 nhw_ppib_st[i].n_ch = nhw_ppib_n_ch[i]; in nhw_ppib_init()
92 if ((ppib_inst >= NHW_PPIB_TOTAL_INST) || (ppib_ch >= nhw_ppib_st[ppib_inst].n_ch) ) { in nhw_ppib_is_inst_ch_valid()
94 type, ppib_ch, nhw_ppib_st[ppib_inst].n_ch, ppib_inst); in nhw_ppib_is_inst_ch_valid()