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/include/asm-alpha/agp_backend.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 #ifndef _ALPHA_AGP_BACKEND_H
    2 #define _ALPHA_AGP_BACKEND_H 1
    3 
    4 typedef union _alpha_agp_mode {
    5         struct {
    6                 u32 rate : 3;
    7                 u32 reserved0 : 1;
    8                 u32 fw : 1;
    9                 u32 fourgb : 1;
   10                 u32 reserved1 : 2;
   11                 u32 enable : 1;
   12                 u32 sba : 1;
   13                 u32 reserved2 : 14;
   14                 u32 rq : 8;
   15         } bits;
   16         u32 lw;
   17 } alpha_agp_mode;
   18 
   19 typedef struct _alpha_agp_info {
   20         enum chipset_type type;
   21         struct pci_controller *hose;
   22         struct {
   23                 dma_addr_t bus_base;
   24                 unsigned long size;
   25                 void *sysdata;
   26         } aperture;
   27         alpha_agp_mode capability;
   28         alpha_agp_mode mode;
   29         void *private;
   30         struct alpha_agp_ops *ops;
   31 } alpha_agp_info;
   32 
   33 struct alpha_agp_ops {
   34         int (*setup)(alpha_agp_info *);
   35         void (*cleanup)(alpha_agp_info *);
   36         int (*configure)(alpha_agp_info *);
   37         int (*bind)(alpha_agp_info *, off_t, agp_memory *);
   38         int (*unbind)(alpha_agp_info *, off_t, agp_memory *);
   39         unsigned long (*translate)(alpha_agp_info *, dma_addr_t);
   40 };
   41 
   42 
   43 #endif /* _ALPHA_AGP_BACKEND_H */

Cache object: ac7b137d43347a525c71c928d179ab29


[ 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.