Lines Matching refs:channel
69 int32_t channel = z_nrf_grtc_timer_chan_alloc(); in ZTEST() local
71 TC_PRINT("Allocated GRTC channel %d\n", channel); in ZTEST()
72 if (channel < 0) { in ZTEST()
73 TC_PRINT("Failed to allocate GRTC channel, chan=%d\n", channel); in ZTEST()
79 err = z_nrf_grtc_timer_set(channel, test_ticks, timer_compare_interrupt_handler, in ZTEST()
84 z_nrf_grtc_timer_compare_read(channel, &compare_value); in ZTEST()
91 TC_PRINT("Compare event generated ?: %d\n", z_nrf_grtc_timer_compare_evt_check(channel)); in ZTEST()
93 z_nrf_grtc_timer_compare_evt_address_get(channel)); in ZTEST()
97 z_nrf_grtc_timer_chan_free(channel); in ZTEST()
106 int32_t channel = z_nrf_grtc_timer_chan_alloc(); in ZTEST() local
108 TC_PRINT("Allocated GRTC channel %d\n", channel); in ZTEST()
109 if (channel < 0) { in ZTEST()
110 TC_PRINT("Failed to allocate GRTC channel, chan=%d\n", channel); in ZTEST()
116 err = z_nrf_grtc_timer_set(channel, test_ticks, timer_compare_interrupt_handler, in ZTEST()
120 z_nrf_grtc_timer_abort(channel); in ZTEST()
122 z_nrf_grtc_timer_compare_read(channel, &compare_value); in ZTEST()
131 z_nrf_grtc_timer_chan_free(channel); in ZTEST()