Home
last modified time | relevance | path

Searched refs:event_idx (Results 1 – 4 of 4) sorted by relevance

/lk-master/external/platform/nrfx/drivers/src/
A Dnrfx_egu.c80 uint8_t event_idx = __CLZ(__RBIT(int_mask)); in egu_event_mask_get_and_clear() local
81 int_mask &= ~(1uL << event_idx); in egu_event_mask_get_and_clear()
83 nrf_egu_event_t event = nrf_egu_triggered_event_get(event_idx); in egu_event_mask_get_and_clear()
87 event_mask |= (1uL << event_idx); in egu_event_mask_get_and_clear()
137 void nrfx_egu_trigger(nrfx_egu_t const * p_instance, uint8_t event_idx) in nrfx_egu_trigger() argument
141 NRFX_ASSERT(event_idx < nrf_egu_channel_count(p_instance->p_reg)); in nrfx_egu_trigger()
143 nrf_egu_task_trigger(p_instance->p_reg, nrf_egu_trigger_task_get(event_idx)); in nrfx_egu_trigger()
167 uint8_t event_idx = __CLZ(__RBIT(event_mask)); in egu_irq_handler() local
168 event_mask &= ~(1uL << event_idx); in egu_irq_handler()
169 p_cb->handler(event_idx, p_cb->p_context); in egu_irq_handler()
A Dnrfx_ipc.c153 uint8_t event_idx = __CLZ(__RBIT(bitmask)); in nrfx_ipc_irq_handler() local
154 bitmask &= ~(1UL << event_idx); in nrfx_ipc_irq_handler()
155 nrf_ipc_event_clear(NRF_IPC, nrf_ipc_receive_event_get(event_idx)); in nrfx_ipc_irq_handler()
/lk-master/external/platform/nrfx/drivers/include/
A Dnrfx_egu.h94 typedef void (*nrfx_egu_event_handler_t)(uint8_t event_idx, void * p_context);
135 void nrfx_egu_trigger(nrfx_egu_t const * p_instance, uint8_t event_idx);
/lk-master/dev/virtio/include/dev/virtio/
A Dvirtio_ring.h163 static inline int vring_need_event(uint16_t event_idx, uint16_t new_idx, uint16_t old) { in vring_need_event() argument
169 return (uint16_t)(new_idx - event_idx - 1) < (uint16_t)(new_idx - old); in vring_need_event()

Completed in 6 milliseconds