summaryrefslogtreecommitdiff
path: root/src/i2c_vid.h
blob: 3be394d714082602d1e381a9fd75cc51b2c71488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* this needs to go in the server */
#ifndef I2C_VID_H
#define I2C_VID_H

typedef struct _I830I2CVidOutputRec {
    void *(*init)(I2CBusPtr b, I2CSlaveAddr addr);
    xf86OutputStatus (*detect)(I2CDevPtr d);
    ModeStatus (*mode_valid)(I2CDevPtr d, DisplayModePtr mode);
    void (*mode_set)(I2CDevPtr d, DisplayModePtr mode);
    void (*dpms)(I2CDevPtr d, int mode);
    void (*dump_regs)(I2CDevPtr d);
    void (*save)(I2CDevPtr d);
    void (*restore)(I2CDevPtr d);
} I830I2CVidOutputRec, *I830I2CVidOutputPtr;

#endif