Lines Matching refs:inst

36 static void nhw_ppib_propagate_event_mate(uint inst, uint ppib_ch);
103 static void nhw_ppib_confirm_direction(uint inst, uint ppib_ch, bool source) in nhw_ppib_confirm_direction() argument
105 bool subscribe_enable = (NRF_PPIB_regs[inst].SUBSCRIBE_SEND[ppib_ch] & (0x1UL << 31)) != 0; in nhw_ppib_confirm_direction()
106 bool publish_enable = (NRF_PPIB_regs[inst].PUBLISH_RECEIVE[ppib_ch] & (0x1UL << 31)) != 0; in nhw_ppib_confirm_direction()
111 inst, ppib_ch); in nhw_ppib_confirm_direction()
116 inst, ppib_ch); in nhw_ppib_confirm_direction()
135 static void nhw_ppib_TASK_SEND(uint inst, uint ppib_ch) in nhw_ppib_TASK_SEND() argument
137 nhw_ppib_confirm_direction(inst, ppib_ch, true); in nhw_ppib_TASK_SEND()
138 nhw_ppib_propagate_event_mate(nhw_ppib_st[inst].ppib_mate, ppib_ch); in nhw_ppib_TASK_SEND()
145 unsigned int inst = (uintptr_t)param >> 16; in nhw_ppib_tasksend_wrap() local
147 nhw_ppib_TASK_SEND(inst, ppib_ch); in nhw_ppib_tasksend_wrap()
150 void nhw_PPIB_regw_sideeffects_SUBSCRIBE_SEND(uint inst, uint ppib_ch){ in nhw_PPIB_regw_sideeffects_SUBSCRIBE_SEND() argument
151 struct ppib_status *this = &nhw_ppib_st[inst]; in nhw_PPIB_regw_sideeffects_SUBSCRIBE_SEND()
153 nhw_ppib_is_inst_ch_valid(inst, ppib_ch, "SUBSCRIBE_SEND"); in nhw_PPIB_regw_sideeffects_SUBSCRIBE_SEND()
155 nhw_ppib_hardwired_check(NRF_PPIB_regs[inst].SUBSCRIBE_SEND[ppib_ch], ppib_ch); in nhw_PPIB_regw_sideeffects_SUBSCRIBE_SEND()
161 (void*)((inst << 16) + 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() argument
168 nhw_ppib_confirm_direction(inst, ppib_ch, false); in nhw_ppib_propagate_event_mate()
170 nhw_ppib_hardwired_check(NRF_PPIB_regs[inst].PUBLISH_RECEIVE[ppib_ch], ppib_ch); in nhw_ppib_propagate_event_mate()
172 nhw_dppi_event_signal_if(nhw_ppib_st[inst].dppi_map, in nhw_ppib_propagate_event_mate()
173 NRF_PPIB_regs[inst].PUBLISH_RECEIVE[ppib_ch]); in nhw_ppib_propagate_event_mate()