Lines Matching refs:cc_channel
151 for (uint8_t cc_channel = 0; cc_channel < NRF_GRTC_SYSCOUNTER_CC_COUNT; cc_channel++) in nrfy_grtc_int_init() local
153 nrf_grtc_event_t event = nrf_grtc_sys_counter_compare_event_get(cc_channel); in nrfy_grtc_int_init()
222 for (uint8_t cc_channel = 0; cc_channel < NRF_GRTC_SYSCOUNTER_CC_COUNT; cc_channel++) in nrfy_grtc_prepare() local
224 nrf_grtc_publish_clear(p_reg, nrf_grtc_sys_counter_compare_event_get(cc_channel)); in nrfy_grtc_prepare()
225 nrf_grtc_subscribe_clear(p_reg, nrf_grtc_sys_counter_capture_task_get(cc_channel)); in nrfy_grtc_prepare()
399 uint8_t cc_channel) in nrfy_grtc_sys_counter_compare_event_check() argument
402 bool check = nrf_grtc_event_check(p_reg, nrf_grtc_sys_counter_compare_event_get(cc_channel)); in nrfy_grtc_sys_counter_compare_event_check()
414 uint8_t cc_channel) in nrfy_grtc_sys_counter_compare_event_clear() argument
416 nrf_grtc_event_clear(p_reg, nrf_grtc_sys_counter_compare_event_get(cc_channel)); in nrfy_grtc_sys_counter_compare_event_clear()
429 uint8_t cc_channel, in nrfy_grtc_sys_counter_capture_subscribe_set() argument
432 nrf_grtc_subscribe_set(p_reg, nrf_grtc_sys_counter_capture_task_get(cc_channel), channel); in nrfy_grtc_sys_counter_capture_subscribe_set()
444 uint8_t cc_channel) in nrfy_grtc_sys_counter_capture_subscribe_clear() argument
446 nrf_grtc_subscribe_clear(p_reg, nrf_grtc_sys_counter_capture_task_get(cc_channel)); in nrfy_grtc_sys_counter_capture_subscribe_clear()
459 uint8_t cc_channel, in nrfy_grtc_sys_counter_compare_publish_set() argument
462 nrf_grtc_publish_set(p_reg, nrf_grtc_sys_counter_compare_event_get(cc_channel), channel); in nrfy_grtc_sys_counter_compare_publish_set()
474 uint8_t cc_channel) in nrfy_grtc_sys_counter_compare_publish_clear() argument
476 nrf_grtc_publish_clear(p_reg, nrf_grtc_sys_counter_compare_event_get(cc_channel)); in nrfy_grtc_sys_counter_compare_publish_clear()
482 uint8_t cc_channel, in nrfy_grtc_sys_counter_cc_set() argument
485 nrf_grtc_sys_counter_cc_set(p_reg, cc_channel, cc_value); in nrfy_grtc_sys_counter_cc_set()
491 uint8_t cc_channel) in nrfy_grtc_sys_counter_cc_get() argument
494 uint64_t cc = nrf_grtc_sys_counter_cc_get(p_reg, cc_channel); in nrfy_grtc_sys_counter_cc_get()
501 uint8_t cc_channel, in nrfy_grtc_sys_counter_cc_add_set() argument
505 nrf_grtc_sys_counter_cc_add_set(p_reg, cc_channel, value, reference); in nrfy_grtc_sys_counter_cc_add_set()
663 NRFY_STATIC_INLINE nrf_grtc_task_t nrfy_grtc_sys_counter_capture_task_get(uint8_t cc_channel) in nrfy_grtc_sys_counter_capture_task_get() argument
665 return nrf_grtc_sys_counter_capture_task_get(cc_channel); in nrfy_grtc_sys_counter_capture_task_get()
670 uint8_t cc_channel) in nrfy_grtc_sys_counter_compare_event_enable() argument
672 nrf_grtc_sys_counter_compare_event_enable(p_reg, cc_channel); in nrfy_grtc_sys_counter_compare_event_enable()
678 uint8_t cc_channel) in nrfy_grtc_sys_counter_compare_event_disable() argument
680 nrf_grtc_sys_counter_compare_event_disable(p_reg, cc_channel); in nrfy_grtc_sys_counter_compare_event_disable()
685 NRFY_STATIC_INLINE nrf_grtc_event_t nrfy_grtc_sys_counter_compare_event_get(uint8_t cc_channel) in nrfy_grtc_sys_counter_compare_event_get() argument
687 return nrf_grtc_sys_counter_compare_event_get(cc_channel); in nrfy_grtc_sys_counter_compare_event_get()
692 uint8_t cc_channel) in nrfy_grtc_sys_counter_cc_enable_check() argument
695 bool check = nrf_grtc_sys_counter_cc_enable_check(p_reg, cc_channel); in nrfy_grtc_sys_counter_cc_enable_check()
941 uint8_t cc_channel = (uint8_t)NRF_CTZ(channel_mask); in __nrfy_internal_grtc_events_process() local
942 nrf_grtc_event_t event = nrf_grtc_sys_counter_compare_event_get(cc_channel); in __nrfy_internal_grtc_events_process()
944 channel_mask &= ~NRF_GRTC_CHANNEL_INT_MASK(cc_channel); in __nrfy_internal_grtc_events_process()