TwiceAsNice
2019-02-18
|
#include "gsc_event.h"
Classes | |
struct | gsc_irq_src_t |
struct | gsc_irq_t |
Macros | |
#define | GSC_MAIN_INT_DMA_0 0 |
#define | GSC_MAIN_INT_DMA_1 1 |
#define | GSC_MAIN_INT_LOCAL 2 |
#define | GSC_MAIN_INT_QTY_MAX 3 |
#define | GSC_LOCAL_INT_QTY_MAX 32 /* REWORK required if made larger than 32. */ |
Functions | |
U32 | gsc_irq_create (gsc_irq_t *irq, gsc_device_t *device) |
void | gsc_irq_destroy (gsc_irq_t *irq) |
U32 | gsc_irq_disable (gsc_irq_t *irq) |
U32 | gsc_irq_enable (gsc_irq_t *irq) |
U32 | gsc_irq_local_create (gsc_irq_t *irq, const char *name, U32 int_id, gsc_event_t **local) |
U32 | gsc_irq_local_wait (gsc_irq_t *irq, U32 mask, U32 timeout_ms) |
U32 | gsc_irq_main_create (gsc_irq_t *irq, const char *name, U32 int_id, gsc_event_t **main) |
#define GSC_LOCAL_INT_QTY_MAX 32 /* REWORK required if made larger than 32. */ |
#define GSC_MAIN_INT_DMA_0 0 |
#define GSC_MAIN_INT_DMA_1 1 |
#define GSC_MAIN_INT_LOCAL 2 |
#define GSC_MAIN_INT_QTY_MAX 3 |
U32 gsc_irq_create | ( | gsc_irq_t * | irq, |
gsc_device_t * | device | ||
) |
void gsc_irq_destroy | ( | gsc_irq_t * | irq | ) |
U32 gsc_irq_disable | ( | gsc_irq_t * | irq | ) |
U32 gsc_irq_enable | ( | gsc_irq_t * | irq | ) |
U32 gsc_irq_local_create | ( | gsc_irq_t * | irq, |
const char * | name, | ||
U32 | int_id, | ||
gsc_event_t ** | local | ||
) |
U32 gsc_irq_local_wait | ( | gsc_irq_t * | irq, |
U32 | mask, | ||
U32 | timeout_ms | ||
) |
U32 gsc_irq_main_create | ( | gsc_irq_t * | irq, |
const char * | name, | ||
U32 | int_id, | ||
gsc_event_t ** | main | ||
) |