Lines Matching full:i

36 	for (int i = 0; i < NRF_NEGUs; i++) {  in ZTEST()  local
37 zassert_equal(16, nrf_egu_channel_count(EGU[i]), in ZTEST()
38 "NRF_EGU%d incorrect number of channels", i); in ZTEST()
53 for (int i = 0; i < NRF_NEGUs; i++) { in ZTEST() local
55 zassert_equal((size_t)&EGU[i]->TASKS_TRIGGER[j], in ZTEST()
56 nrf_egu_task_address_get(EGU[i], egu_tasks[j]), in ZTEST()
57 "NRF_EGU_%i incorrect address of task trigger %i", i, j); in ZTEST()
75 for (int i = 0; i < NRF_NEGUs; i++) { in ZTEST() local
77 zassert_equal((size_t)&EGU[i]->EVENTS_TRIGGERED[j], in ZTEST()
78 nrf_egu_event_address_get(EGU[i], egu_events[j]), in ZTEST()
79 "NRF_EGU_%i incorrect address of event trigger %i", i, j); in ZTEST()
95 for (int i = 0; i < NRF_NEGU_NEVENTS; i++) { in ZTEST() local
96 zassert_equal(egu_masks[i], nrf_egu_channel_int_get(i), in ZTEST()
97 "Incorrect offset for channel %i", i); in ZTEST()
111 for (uint8_t i = 0; i < nrf_egu_channel_count(NRF_EGU5); i++) { in SWI5_trigger_function() local
112 const nrf_egu_event_t check_event = nrf_egu_triggered_event_get(i); in SWI5_trigger_function()
114 event_triggered_flag.triggered[i] = nrf_egu_event_check(NRF_EGU5, check_event); in SWI5_trigger_function()
115 if (event_triggered_flag.triggered[i]) { in SWI5_trigger_function()
138 for (int i = 0 ; i < NRF_NEGU_NEVENTS; i++) { in ZTEST() local
139 zassert_false(event_triggered_flag.triggered[i], "Event %i has been triggered", i); in ZTEST()
144 for (uint8_t i = 1; i < nrf_egu_channel_count(NRF_EGU5); i++) { in ZTEST() local
145 const nrf_egu_event_t check_event = nrf_egu_triggered_event_get(i); in ZTEST()
148 "event %d has been triggered, but it shouldn't", i); in ZTEST()
173 for (int i = 1 ; i < NRF_NEGU_NEVENTS; i++) { in ZTEST() local
174 zassert_false(event_triggered_flag.triggered[i], "Event %i has been triggered", i); in ZTEST()
177 for (uint8_t i = 0; i < nrf_egu_channel_count(NRF_EGU5); i++) { in ZTEST() local
178 const nrf_egu_event_t check_event = nrf_egu_triggered_event_get(i); in ZTEST()
181 "event %d has been triggered, but it shouldn't", i); in ZTEST()
202 for (int i = 0 ; i < NRF_NEGU_NEVENTS; i++) { in ZTEST() local
203 zassert_false(event_triggered_flag.triggered[i], "Event %i has been triggered", i); in ZTEST()
206 for (uint8_t i = 0; i < nrf_egu_channel_count(NRF_EGU5); i++) { in ZTEST() local
207 const nrf_egu_event_t check_event = nrf_egu_triggered_event_get(i); in ZTEST()
210 "event %d has been triggered, but it shouldn't", i); in ZTEST()
268 for (uint8_t i = 0; i < nrf_egu_channel_count(NRF_EGU4); i++) { in SWI4_trigger_function() local
269 const nrf_egu_event_t check_event = nrf_egu_triggered_event_get(i); in SWI4_trigger_function()
271 SWI4_event_triggered_flag.triggered[i] = nrf_egu_event_check(NRF_EGU4, check_event); in SWI4_trigger_function()
272 if (SWI4_event_triggered_flag.triggered[i]) { in SWI4_trigger_function()
303 for (int i = 1 ; i < NRF_NEGU_NEVENTS; i++) { in ZTEST() local
304 zassert_false(SWI4_event_triggered_flag.triggered[i], in ZTEST()
305 "Event %i has been triggered", i); in ZTEST()
308 for (uint8_t i = 0; i < nrf_egu_channel_count(NRF_EGU4); i++) { in ZTEST() local
309 const nrf_egu_event_t check_event = nrf_egu_triggered_event_get(i); in ZTEST()
312 "event %d has been triggered, but it shouldn't", i); in ZTEST()