memcg: remove unused retry signal from reclaim
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / video / pxa3xx-gcu.h
blob0428ed03dc491bfc712a086c8dcf402d1cc0f86c
1 #ifndef __PXA3XX_GCU_H__
2 #define __PXA3XX_GCU_H__
4 #include <linux/types.h>
6 /* Number of 32bit words in display list (ring buffer). */
7 #define PXA3XX_GCU_BUFFER_WORDS ((256 * 1024 - 256) / 4)
9 /* To be increased when breaking the ABI */
10 #define PXA3XX_GCU_SHARED_MAGIC 0x30000001
12 #define PXA3XX_GCU_BATCH_WORDS 8192
14 struct pxa3xx_gcu_shared {
15 u32 buffer[PXA3XX_GCU_BUFFER_WORDS];
17 bool hw_running;
19 unsigned long buffer_phys;
21 unsigned int num_words;
22 unsigned int num_writes;
23 unsigned int num_done;
24 unsigned int num_interrupts;
25 unsigned int num_wait_idle;
26 unsigned int num_wait_free;
27 unsigned int num_idle;
29 u32 magic;
32 /* Initialization and synchronization.
33 * Hardware is started upon write(). */
34 #define PXA3XX_GCU_IOCTL_RESET _IO('G', 0)
35 #define PXA3XX_GCU_IOCTL_WAIT_IDLE _IO('G', 2)
37 #endif /* __PXA3XX_GCU_H__ */