OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-alpha/] [agp_backend.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#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 */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.