41: #endif 42: #include <asm/ioctl.h> /* For _IO* macros */ 43: #define DRM_IOCTL_NR(n) _IOC_NR(n) 44: #define DRM_IOC_VOID _IOC_NONE
52: #undef ioctl 53: #include <sys/ioccom.h> 54: #define ioctl(a,b,c) xf86ioctl(a,b,c) 55: #else 56: #include <sys/ioccom.h> 57: #endif /* __FreeBSD__ && xf86ioctl */
9: #define _ASM_IOCTL_H 10: 11: /* 12: * The original linux ioctl numbering scheme was just a general
16: * On the alpha, we'll try to clean it up a bit, using a more sane 17: * ioctl numbering, and also trying to be compatible with OSF/1 in 18: * the process. I'd like to clean it up for the i386 as well, but
41: * Direction bits _IOC_NONE could be 0, but OSF/1 gives it a bit. 42: * And this turns out useful to catch old ioctl numbers in header 43: * files for us.
29: Major new features in SG 3.x driver (cf SG 2.x drivers) 30: - SG_IO ioctl() combines function if write() and read() 31: - new interface (sg_io_hdr_t) but still supports old interface
59: or "xml"]. There are renderings in "ps", "pdf", "rtf" and "txt" (soon). 60: The SG_IO ioctl is now found in other parts kernel (e.g. the block layer). 61: For more information see http://www.torque.net/sg/sg_io.html
141: typedef struct sg_scsi_id { /* used by SG_GET_SCSI_ID ioctl() */ 142: int host_no; /* as in "scsi<n>" where 'n' is one of 0, 1, 2 etc */
152: typedef struct sg_req_info { /* used by SG_GET_REQUEST_TABLE ioctl() */ 153: char req_state; /* 0 -> not used, 1 -> written, 2 -> ready to read */
2: #define _ALPHA_IOCTL_H 3: 4: /* 5: * The original linux ioctl numbering scheme was just a general
9: * On the alpha, we'll try to clean it up a bit, using a more sane 10: * ioctl numbering, and also trying to be compatible with OSF/1 in 11: * the process. I'd like to clean it up for the i386 as well, but
31: * Direction bits _IOC_NONE could be 0, but OSF/1 gives it a bit. 32: * And this turns out useful to catch old ioctl numbers in header 33: * files for us.
286: * Creates a driver or general drm_ioctl_desc array entry for the given 287: * ioctl, for use by drm_ioctl(). 288: */
841: extern void drm_exit(struct drm_driver *driver); 842: extern int drm_ioctl(struct inode *inode, struct file *filp, 843: unsigned int cmd, unsigned long arg); 844: extern long drm_compat_ioctl(struct file *filp, 845: unsigned int cmd, unsigned long arg);
872: /* Misc. IOCTL support (drm_ioctl.h) */ 873: extern int drm_irq_by_busid(struct drm_device *dev, void *data,
Google Home - Google Code - Discuss - Terms of Service - Help - Submit Your Code
©2010 Google - Privacy