summaryrefslogtreecommitdiffstats
path: root/include/linux/sisfb.h
blob: cfc8ce704f33dc40d190cdddd92e2962593d3646 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef _LINUX_SISFB
#define _LINUX_SISFB

struct sis_memreq
{
    unsigned long offset;
    unsigned long size;
};

struct video_info
{
    /* card parameters */
    int    chip_id;
    int    video_size;
    unsigned long video_base;
    char  *video_vbase;
    unsigned long mmio_base;
    char  *mmio_vbase; 
    unsigned long vga_base;

    /* mode */
    int    video_bpp;
    int    video_width;
    int    video_height;
    unsigned int  refresh_rate;
    u8     status;
};

#ifdef __KERNEL__
extern struct video_info ivideo;

extern void sis_malloc(struct sis_memreq *req);
extern void sis_free(unsigned long base);
#endif
#endif