Subversion Repositories shark

Rev

Rev 54 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
80 pj 1
#include "ll/sys/cdefs.h"
2
 
3
__BEGIN_DECLS
4
 
54 pj 5
/*
6
 * clockchip.h
7
 */
8
 
9
/* ClockChipMethods type. */
10
 
11
typedef struct {
12
    /*
13
     * The following function initializes the ClockChip; it is usually
14
     * called once after detection.
15
     */
16
    void (*initialize) (CardSpecs * cardspecs, DacMethods * DAC);
17
    /*
18
     * ClockChip functions that override DAC methods.
19
     */
20
    void (*saveState) (unsigned char *regs);
21
    void (*restoreState) (const unsigned char *regs);
22
    void (*initializeState) (unsigned char *regs, int bpp, int colormode,
23
                             int pixelclock);
24
    /*
25
     * Original DAC save and restore functions,
26
     * to be called before clock manipulation.
27
     */
28
    void (*DAC_saveState) (unsigned char *regs);
29
    void (*DAC_restoreState) (const unsigned char *regs);
30
    void (*DAC_initializeState) (unsigned char *regs, int bpp, int colormode,
31
                                 int pixelclock);
32
    long TextFrequency;
33
    int DAC_stateSize;
34
} ClockChipMethods;
35
 
36
extern ClockChipMethods __svgalib_I2061A_clockchip_methods;
80 pj 37
 
38
__END_DECLS