Home
last modified time | relevance | path

Searched refs:ACCESS_FBINFO (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_DAC1064.c44 ACCESS_FBINFO(cursor.timer.expires) = jiffies + HZ/2; in matroxfb_DAC1064_flashcursor()
45 add_timer(&ACCESS_FBINFO(cursor.timer)); in matroxfb_DAC1064_flashcursor()
57 if (ACCESS_FBINFO(currcon_display) != p) in matroxfb_DAC1064_createcursor()
62 xline = (~0) << (32 - ACCESS_FBINFO(cursor.w)); in matroxfb_DAC1064_createcursor()
63 cursorbase = ACCESS_FBINFO(video.vbase); in matroxfb_DAC1064_createcursor()
64 h = ACCESS_FBINFO(features.DAC1064.cursorimage); in matroxfb_DAC1064_createcursor()
72 to = ACCESS_FBINFO(cursor.u); in matroxfb_DAC1064_createcursor()
80 to = ACCESS_FBINFO(cursor.d); in matroxfb_DAC1064_createcursor()
96 mga_outl(M_OPMODE, ACCESS_FBINFO(accel.m_opmode)); in matroxfb_DAC1064_createcursor()
106 if (ACCESS_FBINFO(currcon_display) != p) in matroxfb_DAC1064_cursor()
[all …]
Dmatroxfb_base.c156 if (ACCESS_FBINFO(crtc1.panpos) >= 0) { in matroxfb_crtc1_panpos()
161 panpos = ACCESS_FBINFO(crtc1.panpos); in matroxfb_crtc1_panpos()
165 ACCESS_FBINFO(crtc1.panpos) = -1; /* No update pending anymore */ in matroxfb_crtc1_panpos()
187 ACCESS_FBINFO(crtc1.vsync.cnt)++; in matrox_irq()
189 wake_up_interruptible(&ACCESS_FBINFO(crtc1.vsync.wait)); in matrox_irq()
194 ACCESS_FBINFO(crtc2.vsync.cnt)++; in matrox_irq()
195 wake_up_interruptible(&ACCESS_FBINFO(crtc2.vsync.wait)); in matrox_irq()
204 if (ACCESS_FBINFO(devflags.accelerator) == FB_ACCEL_MATROX_MGAG400) in matroxfb_enable_irq()
209 if (!test_and_set_bit(0, &ACCESS_FBINFO(irq_flags))) { in matroxfb_enable_irq()
210 if (request_irq(ACCESS_FBINFO(pcidev)->irq, matrox_irq, in matroxfb_enable_irq()
[all …]
Dmatroxfb_Ti3026.c290 ACCESS_FBINFO(cursor.timer.expires) = jiffies + HZ/2; in matroxfb_ti3026_flashcursor()
291 add_timer(&ACCESS_FBINFO(cursor.timer)); in matroxfb_ti3026_flashcursor()
302 if (ACCESS_FBINFO(currcon_display) != p) in matroxfb_ti3026_createcursor()
309 xline = (~0) << (32 - ACCESS_FBINFO(cursor.w)); in matroxfb_ti3026_createcursor()
312 to = ACCESS_FBINFO(cursor.u); in matroxfb_ti3026_createcursor()
323 to = ACCESS_FBINFO(cursor.d); in matroxfb_ti3026_createcursor()
355 if (ACCESS_FBINFO(currcon_display) != p) in matroxfb_ti3026_cursor()
359 if (ACCESS_FBINFO(cursor.state) != CM_ERASE) { in matroxfb_ti3026_cursor()
360 del_timer_sync(&ACCESS_FBINFO(cursor.timer)); in matroxfb_ti3026_cursor()
362 ACCESS_FBINFO(cursor.state) = CM_ERASE; in matroxfb_ti3026_cursor()
[all …]
Dmatroxfb_g450.c131 const int b = ACCESS_FBINFO(altout.tvo_params.brightness) + BLMIN; in g450_compute_bwlevel()
132 const int c = ACCESS_FBINFO(altout.tvo_params.contrast); in g450_compute_bwlevel()
516 dprintk(KERN_DEBUG "Computing, mode=%u\n", ACCESS_FBINFO(outputs[1]).mode); in matroxfb_g450_compute()
519 ACCESS_FBINFO(outputs[1]).mode != MATROXFB_OUTPUT_MODE_MONITOR) { in matroxfb_g450_compute()
522 cve2_init_TVdata(ACCESS_FBINFO(outputs[1]).mode, &ACCESS_FBINFO(hw).maven, &outd); in matroxfb_g450_compute()
526 ACCESS_FBINFO(hw).maven.regs[0x0E] = blacklevel >> 2; in matroxfb_g450_compute()
527 ACCESS_FBINFO(hw).maven.regs[0x0F] = blacklevel & 3; in matroxfb_g450_compute()
528 ACCESS_FBINFO(hw).maven.regs[0x1E] = whitelevel >> 2; in matroxfb_g450_compute()
529 ACCESS_FBINFO(hw).maven.regs[0x1F] = whitelevel & 3; in matroxfb_g450_compute()
531 ACCESS_FBINFO(hw).maven.regs[0x20] = in matroxfb_g450_compute()
[all …]
Dmatroxfb_crtc2.c122 if (ACCESS_FBINFO(outputs[1]).src == MATROXFB_SRC_CRTC2) { in matroxfb_dh_restore()
123 if (ACCESS_FBINFO(devflags.g450dac)) { in matroxfb_dh_restore()
126 if (ACCESS_FBINFO(outputs[1]).mode != MATROXFB_OUTPUT_MODE_MONITOR) { in matroxfb_dh_restore()
134 } else if (ACCESS_FBINFO(outputs[0]).src == MATROXFB_SRC_CRTC2) { in matroxfb_dh_restore()
138 if (ACCESS_FBINFO(outputs[0]).src == MATROXFB_SRC_CRTC2) { in matroxfb_dh_restore()
192 ACCESS_FBINFO(hw).crtc2.ctl = c2.ctl; in matroxfb_dh_restore()
209 ACCESS_FBINFO(hw).crtc2.ctl = 0x00000004; in matroxfb_dh_disable()
343 if (ACCESS_FBINFO(dead)) { in matroxfb_dh_open()
346 err = ACCESS_FBINFO(fbcon.fbops)->fb_open(&ACCESS_FBINFO(fbcon), user); in matroxfb_dh_open()
361 err = ACCESS_FBINFO(fbcon.fbops)->fb_release(&ACCESS_FBINFO(fbcon), user); in matroxfb_dh_release()
[all …]
Dmatroxfb_accel.c130 if (ACCESS_FBINFO(capable.plnwt)) in matrox_cfbX_init()
132 if (ACCESS_FBINFO(capable.srcorg)) { in matrox_cfbX_init()
141ACCESS_FBINFO(accel.m_dwg_rect) = M_DWG_TRAP | M_DWG_SOLID | M_DWG_ARZERO | M_DWG_SGNZERO | M_DWG_… in matrox_cfbX_init()
142 if (isMilleniumII(MINFO)) ACCESS_FBINFO(accel.m_dwg_rect) |= M_DWG_TRANSC; in matrox_cfbX_init()
143 ACCESS_FBINFO(accel.m_opmode) = mopmode; in matrox_cfbX_init()
256 mga_outl(M_DWGCTL, ACCESS_FBINFO(accel.m_dwg_rect) | M_DWG_REPLACE); in matroxfb_accel_clear()
306 mga_outl(M_DWGCTL, ACCESS_FBINFO(accel.m_dwg_rect) | M_DWG_REPLACE2); in matrox_cfb4_clear()
315 vaddr_t vbase = ACCESS_FBINFO(video.vbase); in matrox_cfb4_clear()
393 ar3 = ACCESS_FBINFO(fastfont.mgabase) + (c & p->charmask) * charcell; in matrox_cfbX_fastputc()
438 mga_memcpy_toio(ACCESS_FBINFO(mmio.vbase), 0, p->fontdata+(c&p->charmask)*charcell, charcell); in matrox_cfbX_putc()
[all …]
Dmatroxfb_misc.c102 switch (ACCESS_FBINFO(cursor.type) = (p->conp->vc_cursor_type & CUR_HWMASK)) { in matroxfb_createcursorshape()
124 ACCESS_FBINFO(cursor.w) = fontwidth(p); in matroxfb_createcursorshape()
125 ACCESS_FBINFO(cursor.u) = cu; in matroxfb_createcursorshape()
126 ACCESS_FBINFO(cursor.d) = cd; in matroxfb_createcursorshape()
232 struct matrox_hw_state * const hw = &ACCESS_FBINFO(hw); in matroxfb_vgaHWinit()
313 divider = ACCESS_FBINFO(curr.final_bppShift); in matroxfb_vgaHWinit()
348 wd = p->var.xres_virtual * ACCESS_FBINFO(curr.final_bppShift) / 64; in matroxfb_vgaHWinit()
366 if (ACCESS_FBINFO(outputs[1]).src == MATROXFB_SRC_CRTC1) in matroxfb_vgaHWinit()
413 if (ACCESS_FBINFO(devflags.textmode) == 1) in matroxfb_vgaHWinit()
417 if (ACCESS_FBINFO(devflags.textmode) == 4) in matroxfb_vgaHWinit()
[all …]
Dg450_pll.c33 return (ACCESS_FBINFO(features).pll.ref_freq * n + (m >> 1)) / m; in g450_mnp2vco()
93 …n = ((tvco * (m+1) + ACCESS_FBINFO(features).pll.ref_freq) / (ACCESS_FBINFO(features).pll.ref_freq… in g450_nextpll()
345 pi = &ACCESS_FBINFO(limits.pixel); in __g450_setclk()
346 ci = &ACCESS_FBINFO(cache.pixel); in __g450_setclk()
352 pci_read_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, &opt); in __g450_setclk()
354 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, opt | 0x20); in __g450_setclk()
357 pi = &ACCESS_FBINFO(limits.system); in __g450_setclk()
358 ci = &ACCESS_FBINFO(cache.system); in __g450_setclk()
377 pi = &ACCESS_FBINFO(limits.video); in __g450_setclk()
378 ci = &ACCESS_FBINFO(cache.video); in __g450_setclk()
[all …]
Dmatroxfb_base.h681 #define ACCESS_FBINFO(x) ACCESS_FBINFO2(minfo,x) macro
703 #define ACCESS_FBINFO(x) (matroxfb_global_mxinfo.x) macro
891 #define mga_inb(addr) mga_readb(ACCESS_FBINFO(mmio.vbase), (addr))
892 #define mga_inl(addr) mga_readl(ACCESS_FBINFO(mmio.vbase), (addr))
893 #define mga_outb(addr,val) mga_writeb(ACCESS_FBINFO(mmio.vbase), (addr), (val))
894 #define mga_outw(addr,val) mga_writew(ACCESS_FBINFO(mmio.vbase), (addr), (val))
895 #define mga_outl(addr,val) mga_writel(ACCESS_FBINFO(mmio.vbase), (addr), (val))
918 #define matroxfb_DAC_lock() spin_lock(&ACCESS_FBINFO(lock.DAC))
919 #define matroxfb_DAC_unlock() spin_unlock(&ACCESS_FBINFO(lock.DAC))
920 #define matroxfb_DAC_lock_irqsave(flags) spin_lock_irqsave(&ACCESS_FBINFO(lock.DAC),flags)
[all …]
Dmatroxfb_maven.c475 if (ACCESS_FBINFO(outputs[1].mode) == MODE_PAL) in maven_init_TVdata()
511 data->regs[0x22] = ACCESS_FBINFO(altout.tvo_params.saturation); in maven_init_TVdata()
515 data->regs[0x25] = ACCESS_FBINFO(altout.tvo_params.hue); in maven_init_TVdata()
1144 return maven_compute_timming(md, mt, &ACCESS_FBINFO(hw).maven); in maven_out_compute()
1152 return maven_program_timming(md, &ACCESS_FBINFO(hw).maven); in maven_out_program()
1202 down_write(&ACCESS_FBINFO(altout.lock)); in maven_init_client()
1203 ACCESS_FBINFO(outputs[1]).output = &maven_altout; in maven_init_client()
1204 ACCESS_FBINFO(outputs[1]).src = MATROXFB_SRC_NONE; in maven_init_client()
1205 ACCESS_FBINFO(outputs[1]).data = md; in maven_init_client()
1206 ACCESS_FBINFO(outputs[1]).mode = MATROXFB_OUTPUT_MODE_MONITOR; in maven_init_client()
[all …]
Dmatroxfb_misc.h11 return matroxfb_PLL_calcclock(&ACCESS_FBINFO(features.pll), freq, fmax, in, feed, post); in PLL_calcclock()
Di2c-matroxfb.c169 switch (ACCESS_FBINFO(chip)) { in i2c_matroxfb_probe()
180 if (ACCESS_FBINFO(devflags.dualhead)) { in i2c_matroxfb_probe()