Go to the source code of this file.
|
| void | irq_dealloc (ocxl_afu *afu, ocxl_irq *irq) |
| | Deallocate a single IRQ. More...
|
| |
| ocxl_err | ocxl_irq_alloc (ocxl_afu_h afu, void *info, ocxl_irq_h *irq) |
| | Allocate an IRQ for an open AFU. More...
|
| |
| uint64_t | ocxl_irq_get_handle (ocxl_afu_h afu, ocxl_irq_h irq) |
| | Get the 64 bit IRQ handle for an IRQ. More...
|
| |
| int | ocxl_irq_get_fd (ocxl_afu_h afu, ocxl_irq_h irq) |
| | Get the file descriptor associated with an IRQ. More...
|
| |
| int | ocxl_afu_get_event_fd (ocxl_afu_h afu) |
| | Get a descriptor that will trigger a poll when an AFU event occurs. More...
|
| |
| int | ocxl_afu_event_check_versioned (ocxl_afu_h afu, int timeout, ocxl_event *events, uint16_t event_count, uint16_t event_api_version) |
| | Check for pending IRQs and other events. More...
|
| |
| ocxl_err | ocxl_afu_get_p9_thread_id (ocxl_afu_h afu, uint16_t *thread_id) |
| | Get the thread ID required to wake up a Power 9 wait instruction. More...
|
| |
◆ MAX_EVENT_SIZE
| #define MAX_EVENT_SIZE (16*sizeof(uint64_t)) |
Definition at line 34 of file irq.c.
◆ irq_dealloc()
| void irq_dealloc |
( |
ocxl_afu * |
afu, |
|
|
ocxl_irq * |
irq |
|
) |
| |
Deallocate a single IRQ.
- Parameters
-
| afu | the AFU the IRQ belongs to |
| irq | the IRQ |
Definition at line 42 of file irq.c.