Lines Matching refs:ACCESS_FBINFO
290 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()
363 outTi3026(PMINFO TVP3026_XCURCTRL, ACCESS_FBINFO(hw.DACreg[POS3026_XCURCTRL])); in matroxfb_ti3026_cursor()
368 if ((p->conp->vc_cursor_type & CUR_HWMASK) != ACCESS_FBINFO(cursor.type)) in matroxfb_ti3026_cursor()
375 del_timer_sync(&ACCESS_FBINFO(cursor.timer)); in matroxfb_ti3026_cursor()
377 …if ((x != ACCESS_FBINFO(cursor.x)) || (y != ACCESS_FBINFO(cursor.y)) || ACCESS_FBINFO(cursor.redra… in matroxfb_ti3026_cursor()
378 ACCESS_FBINFO(cursor.redraw) = 0; in matroxfb_ti3026_cursor()
379 ACCESS_FBINFO(cursor.x) = x; in matroxfb_ti3026_cursor()
380 ACCESS_FBINFO(cursor.y) = y; in matroxfb_ti3026_cursor()
383 outTi3026(PMINFO TVP3026_XCURCTRL, ACCESS_FBINFO(hw.DACreg[POS3026_XCURCTRL])); in matroxfb_ti3026_cursor()
389 ACCESS_FBINFO(cursor.state) = CM_DRAW; in matroxfb_ti3026_cursor()
390 if (ACCESS_FBINFO(devflags.blink)) in matroxfb_ti3026_cursor()
391 mod_timer(&ACCESS_FBINFO(cursor.timer), jiffies + HZ/2); in matroxfb_ti3026_cursor()
392 …outTi3026(PMINFO TVP3026_XCURCTRL, ACCESS_FBINFO(hw.DACreg[POS3026_XCURCTRL]) | TVP3026_XCURCTRL_X… in matroxfb_ti3026_cursor()
406 ACCESS_FBINFO(dispsw.cursor) = matroxfb_ti3026_cursor; in matroxfb_ti3026_selhwcursor()
407 ACCESS_FBINFO(dispsw.set_font) = matroxfb_ti3026_setfont; in matroxfb_ti3026_selhwcursor()
427 struct matrox_hw_state* hw = &ACCESS_FBINFO(hw); in Ti3026_setpclk()
431 f_pll = Ti3026_calcclock(PMINFO clk, ACCESS_FBINFO(max_pixel_clock), &pixin, &pixfeed, &pixpost); in Ti3026_setpclk()
446 Bpp = ACCESS_FBINFO(curr.final_bppShift); in Ti3026_setpclk()
470 if (ACCESS_FBINFO(accel.ramdac_rev) > 0x20) { in Ti3026_setpclk()
486 if (ACCESS_FBINFO(devflags.mga_24bpp_fix)) in Ti3026_setpclk()
500 struct matrox_hw_state* hw = &ACCESS_FBINFO(hw); in Ti3026_init()
558 if (ACCESS_FBINFO(video.len) < 0x400000) in Ti3026_init()
560 else if (ACCESS_FBINFO(video.len) > 0x400000) in Ti3026_init()
588 f_pll = Ti3026_calcclock(PMINFO fout, ACCESS_FBINFO(max_pixel_clock), &mclk_n, &mclk_m, &mclk_p); in ti3026_setMCLK()
651 ACCESS_FBINFO(hw).MXoptionReg = (ACCESS_FBINFO(hw).MXoptionReg & ~0x000F0000) | (rfhcnt << 16); in ti3026_setMCLK()
652 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, ACCESS_FBINFO(hw).MXoptionReg); in ti3026_setMCLK()
682 ACCESS_FBINFO(features.pll.vco_freq_min) = 110000; in ti3026_ramdac_init()
683 ACCESS_FBINFO(features.pll.ref_freq) = 114545; in ti3026_ramdac_init()
684 ACCESS_FBINFO(features.pll.feed_div_min) = 2; in ti3026_ramdac_init()
685 ACCESS_FBINFO(features.pll.feed_div_max) = 24; in ti3026_ramdac_init()
686 ACCESS_FBINFO(features.pll.in_div_min) = 2; in ti3026_ramdac_init()
687 ACCESS_FBINFO(features.pll.in_div_max) = 63; in ti3026_ramdac_init()
688 ACCESS_FBINFO(features.pll.post_shift_max) = 3; in ti3026_ramdac_init()
689 if (ACCESS_FBINFO(devflags.noinit)) in ti3026_ramdac_init()
697 struct matrox_hw_state* hw = &ACCESS_FBINFO(hw); in Ti3026_restore()
711 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, hw->MXoptionReg); in Ti3026_restore()
719 ACCESS_FBINFO(crtc1.panpos) = -1; in Ti3026_restore()
828 struct matrox_hw_state* hw = &ACCESS_FBINFO(hw); in Ti3026_preinit()
832 ACCESS_FBINFO(millenium) = 1; in Ti3026_preinit()
833 ACCESS_FBINFO(milleniumII) = (ACCESS_FBINFO(pcidev)->device != PCI_DEVICE_ID_MATROX_MIL); in Ti3026_preinit()
834 ACCESS_FBINFO(capable.cfb4) = 1; in Ti3026_preinit()
835 ACCESS_FBINFO(capable.text) = 1; /* isMilleniumII(MINFO); */ in Ti3026_preinit()
836 ACCESS_FBINFO(capable.vxres) = isMilleniumII(MINFO)?vxres_mill2:vxres_mill1; in Ti3026_preinit()
837 ACCESS_FBINFO(cursor.timer.function) = matroxfb_ti3026_flashcursor; in Ti3026_preinit()
839 ACCESS_FBINFO(outputs[0]).data = MINFO; in Ti3026_preinit()
840 ACCESS_FBINFO(outputs[0]).output = &ti3026_output; in Ti3026_preinit()
841 ACCESS_FBINFO(outputs[0]).src = MATROXFB_SRC_CRTC1; in Ti3026_preinit()
842 ACCESS_FBINFO(outputs[0]).mode = MATROXFB_OUTPUT_MODE_MONITOR; in Ti3026_preinit()
844 if (ACCESS_FBINFO(devflags.noinit)) in Ti3026_preinit()
849 if (ACCESS_FBINFO(devflags.novga)) in Ti3026_preinit()
851 if (ACCESS_FBINFO(devflags.nobios)) in Ti3026_preinit()
853 if (ACCESS_FBINFO(devflags.nopciretry)) in Ti3026_preinit()
855 pci_write_config_dword(ACCESS_FBINFO(pcidev), PCI_OPTION_REG, hw->MXoptionReg); in Ti3026_preinit()
857 ACCESS_FBINFO(accel.ramdac_rev) = inTi3026(PMINFO TVP3026_XSILICONREV); in Ti3026_preinit()