The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/dev/drm/sis_drm.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * $FreeBSD: releng/5.0/sys/dev/drm/sis_drm.h 95746 2002-04-29 18:18:42Z anholt $
    3  */
    4 
    5 #ifndef _sis_drm_public_h_
    6 #define _sis_drm_public_h_
    7 
    8 /* SiS specific ioctls */
    9 #define SIS_IOCTL_FB_ALLOC              DRM_IOWR(0x44, drm_sis_mem_t)
   10 #define SIS_IOCTL_FB_FREE               DRM_IOW( 0x45, drm_sis_mem_t)
   11 #define SIS_IOCTL_AGP_INIT              DRM_IOWR(0x53, drm_sis_agp_t)
   12 #define SIS_IOCTL_AGP_ALLOC             DRM_IOWR(0x54, drm_sis_mem_t)
   13 #define SIS_IOCTL_AGP_FREE              DRM_IOW( 0x55, drm_sis_mem_t)
   14 #define SIS_IOCTL_FLIP                  DRM_IOW( 0x48, drm_sis_flip_t)
   15 #define SIS_IOCTL_FLIP_INIT             DRM_IO(  0x49)
   16 #define SIS_IOCTL_FLIP_FINAL            DRM_IO(  0x50)
   17 
   18 typedef struct {
   19   int context;
   20   unsigned int offset;
   21   unsigned int size;
   22   unsigned int free;
   23 } drm_sis_mem_t;
   24 
   25 typedef struct {
   26   unsigned int offset, size;
   27 } drm_sis_agp_t;
   28 
   29 typedef struct {
   30   unsigned int left, right;
   31 } drm_sis_flip_t;
   32 
   33 #if defined(__KERNEL__) || defined(_KERNEL)
   34 
   35 int sis_fb_alloc(DRM_OS_IOCTL);
   36 int sis_fb_free(DRM_OS_IOCTL);
   37 int sisp_agp_init(DRM_OS_IOCTL);
   38 int sisp_agp_alloc(DRM_OS_IOCTL);
   39 int sisp_agp_free(DRM_OS_IOCTL);
   40 
   41 #endif
   42 
   43 #endif

Cache object: 7e86733b0b125709d2394388fff8df87


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.