Lines Matching refs:minfo
499 int (*preinit)(struct matrox_fb_info *minfo);
500 void (*reset)(struct matrox_fb_info *minfo);
501 int (*init)(struct matrox_fb_info *minfo, struct my_timming*);
502 void (*restore)(struct matrox_fb_info *minfo);
665 #define mga_inb(addr) mga_readb(minfo->mmio.vbase, (addr))
666 #define mga_inl(addr) mga_readl(minfo->mmio.vbase, (addr))
667 #define mga_outb(addr,val) mga_writeb(minfo->mmio.vbase, (addr), (val))
668 #define mga_outw(addr,val) mga_writew(minfo->mmio.vbase, (addr), (val))
669 #define mga_outl(addr,val) mga_writel(minfo->mmio.vbase, (addr), (val))
688 #define matroxfb_DAC_lock() spin_lock(&minfo->lock.DAC)
689 #define matroxfb_DAC_unlock() spin_unlock(&minfo->lock.DAC)
690 #define matroxfb_DAC_lock_irqsave(flags) spin_lock_irqsave(&minfo->lock.DAC, flags)
691 #define matroxfb_DAC_unlock_irqrestore(flags) spin_unlock_irqrestore(&minfo->lock.DAC, flags)
692 extern void matroxfb_DAC_out(const struct matrox_fb_info *minfo, int reg,
694 extern int matroxfb_DAC_in(const struct matrox_fb_info *minfo, int reg);
696 extern int matroxfb_wait_for_sync(struct matrox_fb_info *minfo, u_int32_t crtc);
697 extern int matroxfb_enable_irq(struct matrox_fb_info *minfo, int reenable);
700 #define CRITBEGIN spin_lock_irqsave(&minfo->lock.accel, critflags);
701 #define CRITEND spin_unlock_irqrestore(&minfo->lock.accel, critflags);