9 #ifndef __SPU_EVENT_H__ 10 #define __SPU_EVENT_H__ 13 #include <sys/cdefs.h> 15 #define EVENT_DATA0_MASK 0x00FFFFFF 16 #define EVENT_PORT_SHIFT 24 17 #define EVENT_PORT_MAX_NUM 63 int spu_thread_throw_event(uint8_t spup, uint32_t data0, uint32_t data1)
Send an SPU thread user event.
int spu_thread_send_event(uint8_t spup, uint32_t data0, uint32_t data1)
Send an SPU thread user event.
int spu_thread_tryreceive_event(uint32_t spuq, uint32_t *data0, uint32_t *data1, uint32_t *data2)
Receive an event from a bound SPU event queue if an event is present.
int spu_thread_receive_event(uint32_t spuq, uint32_t *data0, uint32_t *data1, uint32_t *data2)
Receive an event from a bound SPU event queue.