Lines Matching refs:ACCESS_FBINFO
130 if (ACCESS_FBINFO(capable.plnwt)) in matrox_cfbX_init()
132 if (ACCESS_FBINFO(capable.srcorg)) { in matrox_cfbX_init()
141 …ACCESS_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()
472 mga_memcpy_toio(ACCESS_FBINFO(mmio.vbase), 0, chardata, fontheight(p) * 4); in matrox_cfbX_putc()
478 mga_outl(M_OPMODE, ACCESS_FBINFO(accel.m_opmode)); in matrox_cfbX_putc()
496 ACCESS_FBINFO(curr.putc)(fgx, bgx, p, c, yy, xx); in matrox_cfb8_putc()
511 ACCESS_FBINFO(curr.putc)(fgx, bgx, p, c, yy, xx); in matrox_cfb16_putc()
524 ACCESS_FBINFO(curr.putc)(fgx, bgx, p, c, yy, xx); in matrox_cfb32_putc()
544 u_int32_t ar3 = ACCESS_FBINFO(fastfont.mgabase) + (scr_readw(s++) & p->charmask)*charcell; in matrox_cfbX_fastputcs()
606 mmio = ACCESS_FBINFO(mmio.vbase); in matrox_cfbX_putcs()
652 mga_outl(M_OPMODE, ACCESS_FBINFO(accel.m_opmode)); in matrox_cfbX_putcs()
672 ACCESS_FBINFO(curr.putcs)(fgx, bgx, p, s, count, yy, xx); in matrox_cfb8_putcs()
689 ACCESS_FBINFO(curr.putcs)(fgx, bgx, p, s, count, yy, xx); in matrox_cfb16_putcs()
704 ACCESS_FBINFO(curr.putcs)(fgx, bgx, p, s, count, yy, xx); in matrox_cfb32_putcs()
727 mga_outl(M_DWGCTL, ACCESS_FBINFO(accel.m_dwg_rect) | M_DWG_XOR); in matrox_cfb4_revc()
751 mga_outl(M_DWGCTL, ACCESS_FBINFO(accel.m_dwg_rect) | M_DWG_XOR); in matrox_cfb8_revc()
774 mga_outl(M_DWGCTL, ACCESS_FBINFO(accel.m_dwg_rect) | M_DWG_XOR); in matrox_cfbX_revc()
821 …ine_length : ((p->var.xres_virtual / (fontwidth(p)?fontwidth(p):8)) * ACCESS_FBINFO(devflags.texts… in matrox_text_setup()
835 step = ACCESS_FBINFO(devflags.textstep); in matrox_text_bmove()
842 mga_writew(ACCESS_FBINFO(video.vbase), dstoff, mga_readw(ACCESS_FBINFO(video.vbase), srcoff)); in matrox_text_bmove()
856 mga_writew(ACCESS_FBINFO(video.vbase), dstoff, mga_readw(ACCESS_FBINFO(video.vbase), srcoff)); in matrox_text_bmove()
873 step = ACCESS_FBINFO(devflags.textstep); in matrox_text_clear()
882 mga_writew(ACCESS_FBINFO(video.vbase), offs, val); in matrox_text_clear()
896 step = ACCESS_FBINFO(devflags.textstep); in matrox_text_putc()
903 mga_writew(ACCESS_FBINFO(video.vbase), offs, ntohs(chr)); in matrox_text_putc()
917 step = ACCESS_FBINFO(devflags.textstep); in matrox_text_putcs()
927 mga_writew(ACCESS_FBINFO(video.vbase), offs, ntohs(attr|chr)); in matrox_text_putcs()
940 step = ACCESS_FBINFO(devflags.textstep); in matrox_text_revc()
945 mga_writeb(ACCESS_FBINFO(video.vbase), offs, mga_readb(ACCESS_FBINFO(video.vbase), offs) ^ 0x77); in matrox_text_revc()
953 if (ACCESS_FBINFO(currcon_display) != p) in matrox_text_createcursor()
960 mga_setr(M_CRTC_INDEX, 0x0A, ACCESS_FBINFO(cursor.u)); in matrox_text_createcursor()
961 mga_setr(M_CRTC_INDEX, 0x0B, ACCESS_FBINFO(cursor.d) - 1); in matrox_text_createcursor()
971 if (ACCESS_FBINFO(currcon_display) != p) in matrox_text_cursor()
975 if (ACCESS_FBINFO(cursor.state) != CM_ERASE) { in matrox_text_cursor()
983 ACCESS_FBINFO(cursor.state) = CM_ERASE; in matrox_text_cursor()
987 if ((p->conp->vc_cursor_type & CUR_HWMASK) != ACCESS_FBINFO(cursor.type)) in matrox_text_cursor()
991 ACCESS_FBINFO(cursor.x) = x; in matrox_text_cursor()
992 ACCESS_FBINFO(cursor.y) = y; in matrox_text_cursor()
993 pos = p->next_line / ACCESS_FBINFO(devflags.textstep) * y + x; in matrox_text_cursor()
1000 mga_setr(M_CRTC_INDEX, 0x0A, ACCESS_FBINFO(cursor.u)); in matrox_text_cursor()
1004 ACCESS_FBINFO(cursor.state) = CM_DRAW; in matrox_text_cursor()
1025 ych = ACCESS_FBINFO(devflags.textvram) / vxres; in matrox_text_round()
1029 if (vxres * ych > ACCESS_FBINFO(devflags.textvram)) { in matrox_text_round()
1030 ych = ACCESS_FBINFO(devflags.textvram) / vxres; in matrox_text_round()
1045 …ine_length = ((p->var.xres_virtual / (fontwidth(p)?fontwidth(p):8)) * ACCESS_FBINFO(devflags.texts… in matrox_text_setfont()
1144 if (ACCESS_FBINFO(currcon_display) != p) in initMatrox()
1166 p->dispsw_data = &ACCESS_FBINFO(cmap.cfb16); in initMatrox()
1172 p->dispsw_data = &ACCESS_FBINFO(cmap.cfb24); in initMatrox()
1178 p->dispsw_data = &ACCESS_FBINFO(cmap.cfb32); in initMatrox()
1204 p->dispsw_data = &ACCESS_FBINFO(cmap.cfb16); in initMatrox()
1210 p->dispsw_data = &ACCESS_FBINFO(cmap.cfb24); in initMatrox()
1216 p->dispsw_data = &ACCESS_FBINFO(cmap.cfb32); in initMatrox()
1225 memcpy(&ACCESS_FBINFO(dispsw), swtmp, sizeof(ACCESS_FBINFO(dispsw))); in initMatrox()
1226 p->dispsw = &ACCESS_FBINFO(dispsw); in initMatrox()
1227 if ((p->type != FB_TYPE_TEXT) && ACCESS_FBINFO(devflags.hwcursor)) { in initMatrox()
1228 ACCESS_FBINFO(hw_switch)->selhwcursor(PMINFO p); in initMatrox()
1249 ACCESS_FBINFO(curr.putc) = matrox_cfbX_fastputc; in matrox_init_putc()
1250 ACCESS_FBINFO(curr.putcs) = matrox_cfbX_fastputcs; in matrox_init_putc()
1252 ACCESS_FBINFO(curr.putc) = matrox_cfbX_putc; in matrox_init_putc()
1253 ACCESS_FBINFO(curr.putcs) = matrox_cfbX_putcs; in matrox_init_putc()