#ifndef __PXA3XX_GCU_H__ #define __PXA3XX_GCU_H__ #include /* Number of 32bit words in display list (ring buffer). */ #define PXA3XX_GCU_BUFFER_WORDS ((256 * 1024 - 256) / 4) /* To be increased when breaking the ABI */ #define PXA3XX_GCU_SHARED_MAGIC 0x30000001 #define PXA3XX_GCU_BATCH_WORDS 8192 struct pxa3xx_gcu_shared { u32 buffer[PXA3XX_GCU_BUFFER_WORDS]; bool hw_running; unsigned long buffer_phys; unsigned int num_words; unsigned int num_writes; unsigned int num_done; unsigned int num_interrupts; unsigned int num_wait_idle; unsigned int num_wait_free; unsigned int num_idle; u32 magic; }; /* Initialization and synchronization. * Hardware is started upon write(). */ #define PXA3XX_GCU_IOCTL_RESET _IO('G', 0) #define PXA3XX_GCU_IOCTL_WAIT_IDLE _IO('G', 2) #endif /* __PXA3XX_GCU_H__ */ .git/'>net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/drivers/usb/atm/usbatm.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-02-11 02:31:11 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-11 02:31:11 -0500
commit35eeacf1820a08305c2b0960febfa190f5a6dd63 (patch)
treef1227c7384ee01d3f029cc5f82223234e6456c5f /drivers/usb/atm/usbatm.h
parentbed45f79a2afc9d7c279b880dfcac8f27d513b50 (diff)
parent1ee18329fae936089c6c599250ae92482ff2b81f (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Diffstat (limited to 'drivers/usb/atm/usbatm.h')