matrox_fb_info
static unsigned int g450_firstpll(const struct matrox_fb_info *minfo,
static inline unsigned int g450_setpll(const struct matrox_fb_info *minfo,
static inline unsigned int g450_cmppll(const struct matrox_fb_info *minfo,
static inline int g450_isplllocked(const struct matrox_fb_info *minfo,
static int g450_testpll(const struct matrox_fb_info *minfo, unsigned int mnp,
void matroxfb_g450_setpll_cond(struct matrox_fb_info *minfo, unsigned int mnp,
static inline unsigned int g450_findworkingpll(struct matrox_fb_info *minfo,
static unsigned int g450_mnp2vco(const struct matrox_fb_info *minfo,
static int g450_checkcache(struct matrox_fb_info *minfo,
static int __g450_setclk(struct matrox_fb_info *minfo, unsigned int fout,
unsigned int g450_mnp2f(const struct matrox_fb_info *minfo, unsigned int mnp)
int matroxfb_g450_setclk(struct matrox_fb_info *minfo, unsigned int fout,
static unsigned int g450_nextpll(const struct matrox_fb_info *minfo,
void matroxfb_g450_setpll_cond(struct matrox_fb_info *minfo, unsigned int mnp,
int matroxfb_g450_setclk(struct matrox_fb_info *minfo, unsigned int fout,
unsigned int g450_mnp2f(const struct matrox_fb_info *minfo, unsigned int mnp);
static int i2c_bus_reg(struct i2c_bit_adapter* b, struct matrox_fb_info* minfo,
static void* i2c_matroxfb_probe(struct matrox_fb_info* minfo) {
static void i2c_matroxfb_remove(struct matrox_fb_info* minfo, void* data) {
static int matroxfb_read_gpio(struct matrox_fb_info* minfo) {
static void matroxfb_set_gpio(struct matrox_fb_info* minfo, int mask, int val) {
static inline void matroxfb_i2c_set(struct matrox_fb_info* minfo, int mask, int state) {
static void DAC1064_setmclk(struct matrox_fb_info *minfo, int oscinfo,
static void MGA1064_restore(struct matrox_fb_info *minfo)
static void MGAG100_restore(struct matrox_fb_info *minfo)
static void g450_set_plls(struct matrox_fb_info *minfo)
void DAC1064_global_init(struct matrox_fb_info *minfo)
void DAC1064_global_restore(struct matrox_fb_info *minfo)
static int DAC1064_init_1(struct matrox_fb_info *minfo, struct my_timming *m)
static void DAC1064_calcclock(const struct matrox_fb_info *minfo,
static int DAC1064_init_2(struct matrox_fb_info *minfo, struct my_timming *m)
static void DAC1064_restore_1(struct matrox_fb_info *minfo)
static void DAC1064_restore_2(struct matrox_fb_info *minfo)
#define minfo ((struct matrox_fb_info*)out)
#define minfo ((struct matrox_fb_info*)out)
static int MGA1064_init(struct matrox_fb_info *minfo, struct my_timming *m)
static int MGAG100_init(struct matrox_fb_info *minfo, struct my_timming *m)
static void MGA1064_ramdac_init(struct matrox_fb_info *minfo)
static void MGAG100_progPixClock(const struct matrox_fb_info *minfo, int flags,
static void MGAG100_setPixClock(const struct matrox_fb_info *minfo, int flags,
static int MGA1064_preinit(struct matrox_fb_info *minfo)
static void MGA1064_reset(struct matrox_fb_info *minfo)
static void g450_mclk_init(struct matrox_fb_info *minfo)
static void g450_memory_init(struct matrox_fb_info *minfo)
static void g450_preinit(struct matrox_fb_info *minfo)
static int MGAG100_preinit(struct matrox_fb_info *minfo)
static void DAC1064_setpclk(struct matrox_fb_info *minfo, unsigned long fout)
static void MGAG100_reset(struct matrox_fb_info *minfo)
void DAC1064_global_init(struct matrox_fb_info *minfo);
void DAC1064_global_restore(struct matrox_fb_info *minfo);
static int Ti3026_calcclock(const struct matrox_fb_info *minfo,
static int Ti3026_setpclk(struct matrox_fb_info *minfo, int clk)
static int Ti3026_init(struct matrox_fb_info *minfo, struct my_timming *m)
static void ti3026_setMCLK(struct matrox_fb_info *minfo, int fout)
static void ti3026_ramdac_init(struct matrox_fb_info *minfo)
static void Ti3026_restore(struct matrox_fb_info *minfo)
static void Ti3026_reset(struct matrox_fb_info *minfo)
static int Ti3026_preinit(struct matrox_fb_info *minfo)
void matrox_cfbX_init(struct matrox_fb_info *minfo)
static void matrox_accel_restore_maccess(struct matrox_fb_info *minfo)
static void matrox_accel_bmove(struct matrox_fb_info *minfo, int vxres, int sy,
static void matrox_accel_bmove_lin(struct matrox_fb_info *minfo, int vxres,
struct matrox_fb_info *minfo = info2minfo(info);
struct matrox_fb_info *minfo = info2minfo(info);
static void matroxfb_accel_clear(struct matrox_fb_info *minfo, u_int32_t color,
struct matrox_fb_info *minfo = info2minfo(info);
static void matroxfb_cfb4_clear(struct matrox_fb_info *minfo, u_int32_t bgx,
struct matrox_fb_info *minfo = info2minfo(info);
static void matroxfb_1bpp_imageblit(struct matrox_fb_info *minfo, u_int32_t fgx,
struct matrox_fb_info *minfo = info2minfo(info);
void matrox_cfbX_init(struct matrox_fb_info *minfo);
struct matrox_fb_info *minfo = info2minfo(info);
static void matroxfb_unregister_device(struct matrox_fb_info* minfo);
static int matroxfb_getmemory(struct matrox_fb_info *minfo,
static void update_crtc2(struct matrox_fb_info *minfo, unsigned int pos)
static void setDefaultOutputs(struct matrox_fb_info *minfo)
static int initMatrox2(struct matrox_fb_info *minfo, struct board *b)
static void matroxfb_crtc1_panpos(struct matrox_fb_info *minfo)
#define matroxfb_l(x) list_entry(x, struct matrox_fb_info, next_fb)
struct matrox_fb_info* minfo;
struct matrox_fb_info* minfo;
static void matroxfb_register_device(struct matrox_fb_info* minfo) {
static void matroxfb_unregister_device(struct matrox_fb_info* minfo) {
struct matrox_fb_info* minfo;
struct matrox_fb_info *minfo = dev_id;
struct matrox_fb_info* minfo;
int matroxfb_enable_irq(struct matrox_fb_info *minfo, int reenable)
static void matroxfb_disable_irq(struct matrox_fb_info *minfo)
int matroxfb_wait_for_sync(struct matrox_fb_info *minfo, u_int32_t crtc)
static void matrox_pan_var(struct matrox_fb_info *minfo,
static void matroxfb_remove(struct matrox_fb_info *minfo, int dummy)
struct matrox_fb_info *minfo = info2minfo(info);
struct matrox_fb_info *minfo = info2minfo(info);
struct matrox_fb_info *minfo = info2minfo(info);
static int matroxfb_get_final_bppShift(const struct matrox_fb_info *minfo,
static int matroxfb_test_and_set_rounding(const struct matrox_fb_info *minfo,
static int matroxfb_pitch_adjust(const struct matrox_fb_info *minfo, int xres,
static int matroxfb_decode_var(const struct matrox_fb_info *minfo,
struct matrox_fb_info* minfo = container_of(fb_info, struct matrox_fb_info, fbcon);
static void matroxfb_init_fix(struct matrox_fb_info *minfo)
static void matroxfb_update_fix(struct matrox_fb_info *minfo)
struct matrox_fb_info *minfo = info2minfo(info);
struct matrox_fb_info *minfo = info2minfo(info);
static int matroxfb_get_vblank(struct matrox_fb_info *minfo,
struct matrox_fb_info *minfo = info2minfo(info);
struct matrox_fb_info;
#define info2minfo(info) container_of(info, struct matrox_fb_info, fbcon)
int (*preinit)(struct matrox_fb_info *minfo);
void (*reset)(struct matrox_fb_info *minfo);
int (*init)(struct matrox_fb_info *minfo, struct my_timming*);
void (*restore)(struct matrox_fb_info *minfo);
void* (*probe)(struct matrox_fb_info* info);
void (*remove)(struct matrox_fb_info* info, void* data);
extern void matroxfb_DAC_out(const struct matrox_fb_info *minfo, int reg,
extern int matroxfb_DAC_in(const struct matrox_fb_info *minfo, int reg);
extern int matroxfb_wait_for_sync(struct matrox_fb_info *minfo, u_int32_t crtc);
extern int matroxfb_enable_irq(struct matrox_fb_info *minfo, int reenable);
struct matrox_fb_info *minfo = m2info->primary_dev;
struct matrox_fb_info *minfo = m2info->primary_dev;
struct matrox_fb_info *minfo = m2info->primary_dev;
struct matrox_fb_info *minfo = m2info->primary_dev;
struct matrox_fb_info *minfo = m2info->primary_dev;
struct matrox_fb_info *minfo = m2info->primary_dev;
struct matrox_fb_info *minfo = m2info->primary_dev;
static int matroxfb_dh_regit(const struct matrox_fb_info *minfo,
static void* matroxfb_crtc2_probe(struct matrox_fb_info* minfo) {
struct matrox_fb_info *minfo = m2info->primary_dev;
static void matroxfb_crtc2_remove(struct matrox_fb_info* minfo, void* crtc2) {
struct matrox_fb_info* primary_dev;
static int cve2_get_reg(struct matrox_fb_info *minfo, int reg)
static void cve2_set_reg(struct matrox_fb_info *minfo, int reg, int val)
static void cve2_set_reg10(struct matrox_fb_info *minfo, int reg, int val)
static void g450_compute_bwlevel(const struct matrox_fb_info *minfo, int *bl,
struct matrox_fb_info *minfo = md;
struct matrox_fb_info *minfo = md;
static void computeRegs(struct matrox_fb_info *minfo, struct mavenregs *r,
}, offsetof(struct matrox_fb_info, altout.tvo_params.brightness) },
}, offsetof(struct matrox_fb_info, altout.tvo_params.contrast) },
static void cve2_init_TV(struct matrox_fb_info *minfo,
}, offsetof(struct matrox_fb_info, altout.tvo_params.saturation) },
struct matrox_fb_info *minfo = md;
}, offsetof(struct matrox_fb_info, altout.tvo_params.hue) },
struct matrox_fb_info *minfo = md;
struct matrox_fb_info *minfo = md;
void matroxfb_g450_connect(struct matrox_fb_info *minfo)
}, offsetof(struct matrox_fb_info, altout.tvo_params.testout) },
void matroxfb_g450_shutdown(struct matrox_fb_info *minfo)
static inline int *get_ctrl_ptr(struct matrox_fb_info *minfo, unsigned int idx)
static void tvo_fill_defaults(struct matrox_fb_info *minfo)
static inline void matroxfb_g450_connect(struct matrox_fb_info *minfo) { };
static inline void matroxfb_g450_shutdown(struct matrox_fb_info *minfo) { };
void matroxfb_g450_connect(struct matrox_fb_info *minfo);
void matroxfb_g450_shutdown(struct matrox_fb_info *minfo);
}, offsetof(struct matrox_fb_info, altout.tvo_params.deflicker) },
struct matrox_fb_info *minfo = container_of(clnt->adapter,
struct matrox_fb_info *minfo = md->primary_head;
struct matrox_fb_info* primary_head;
struct matrox_fb_info *minfo = md->primary_head;
}, offsetof(struct matrox_fb_info, altout.tvo_params.brightness) },
struct matrox_fb_info *minfo = md->primary_head;
}, offsetof(struct matrox_fb_info, altout.tvo_params.contrast) },
}, offsetof(struct matrox_fb_info, altout.tvo_params.saturation) },
}, offsetof(struct matrox_fb_info, altout.tvo_params.hue) },
}, offsetof(struct matrox_fb_info, altout.tvo_params.gamma) },
}, offsetof(struct matrox_fb_info, altout.tvo_params.testout) },
struct matrox_fb_info* minfo;
int matroxfb_DAC_in(const struct matrox_fb_info *minfo, int reg)
int matroxfb_vgaHWinit(struct matrox_fb_info *minfo, struct my_timming *m)
void matroxfb_vgaHWrestore(struct matrox_fb_info *minfo)
static int parse_pins1(struct matrox_fb_info *minfo,
static void default_pins1(struct matrox_fb_info *minfo)
static int parse_pins2(struct matrox_fb_info *minfo,
static void default_pins2(struct matrox_fb_info *minfo)
static int parse_pins3(struct matrox_fb_info *minfo,
static void default_pins3(struct matrox_fb_info *minfo)
static int parse_pins4(struct matrox_fb_info *minfo,
static void default_pins4(struct matrox_fb_info *minfo)
static int parse_pins5(struct matrox_fb_info *minfo,
static void default_pins5(struct matrox_fb_info *minfo)
static int matroxfb_set_limits(struct matrox_fb_info *minfo,
void matroxfb_read_pins(struct matrox_fb_info *minfo)
void matroxfb_DAC_out(const struct matrox_fb_info *minfo, int reg, int val)
static inline int PLL_calcclock(const struct matrox_fb_info *minfo,
int matroxfb_vgaHWinit(struct matrox_fb_info *minfo, struct my_timming* m);
void matroxfb_vgaHWrestore(struct matrox_fb_info *minfo);
void matroxfb_read_pins(struct matrox_fb_info *minfo);