Lines Matching refs:tdfx_outl
266 static inline void tdfx_outl(struct tdfx_par *par, unsigned int reg, u32 val) in tdfx_outl() function
285 tdfx_outl(par, COMMAND_3D, COMMAND_3D_NOP); in banshee_wait_idle()
301 tdfx_outl(par, DACADDR, regno); in do_setpalentry()
304 tdfx_outl(par, DACDATA, c); in do_setpalentry()
363 tdfx_outl(par, MISCINIT1, tdfx_inl(par, MISCINIT1) | 0x01); in do_write_regs()
368 tdfx_outl(par, VGAINIT1, reg->vgainit1 & 0x001FFFFF); in do_write_regs()
369 tdfx_outl(par, VIDPROCCFG, reg->vidcfg & ~0x00000001); in do_write_regs()
371 tdfx_outl(par, PLLCTRL1, reg->mempll); in do_write_regs()
372 tdfx_outl(par, PLLCTRL2, reg->gfxpll); in do_write_regs()
374 tdfx_outl(par, PLLCTRL0, reg->vidpll); in do_write_regs()
397 tdfx_outl(par, VGAINIT0, reg->vgainit0); in do_write_regs()
398 tdfx_outl(par, DACMODE, reg->dacmode); in do_write_regs()
399 tdfx_outl(par, VIDDESKSTRIDE, reg->stride); in do_write_regs()
400 tdfx_outl(par, HWCURPATADDR, reg->curspataddr); in do_write_regs()
402 tdfx_outl(par, VIDSCREENSIZE, reg->screensize); in do_write_regs()
403 tdfx_outl(par, VIDDESKSTART, reg->startaddr); in do_write_regs()
404 tdfx_outl(par, VIDPROCCFG, reg->vidcfg); in do_write_regs()
405 tdfx_outl(par, VGAINIT1, reg->vgainit1); in do_write_regs()
406 tdfx_outl(par, MISCINIT0, reg->miscinit0); in do_write_regs()
409 tdfx_outl(par, SRCBASE, reg->startaddr); in do_write_regs()
410 tdfx_outl(par, DSTBASE, reg->startaddr); in do_write_regs()
411 tdfx_outl(par, COMMANDEXTRA_2D, 0); in do_write_regs()
412 tdfx_outl(par, CLIP0MIN, 0); in do_write_regs()
413 tdfx_outl(par, CLIP0MAX, 0x0fff0fff); in do_write_regs()
414 tdfx_outl(par, CLIP1MIN, 0); in do_write_regs()
415 tdfx_outl(par, CLIP1MAX, 0x0fff0fff); in do_write_regs()
416 tdfx_outl(par, SRCXY, 0); in do_write_regs()
448 tdfx_outl(par, MISCINIT1, miscinit1); in do_lfb_size()
832 tdfx_outl(par, DACMODE, dacmode); in tdfxfb_blank()
853 tdfx_outl(par, VIDDESKSTART, addr); in tdfxfb_pan_display()
890 tdfx_outl(par, DSTFORMAT, fmt); in tdfxfb_fillrect()
892 tdfx_outl(par, COLORFORE, rect->color); in tdfxfb_fillrect()
894 tdfx_outl(par, COLORFORE, par->palette[rect->color]); in tdfxfb_fillrect()
896 tdfx_outl(par, COMMAND_2D, COMMAND_2D_FILLRECT | (tdfx_rop << 24)); in tdfxfb_fillrect()
897 tdfx_outl(par, DSTBASE, dstbase); in tdfxfb_fillrect()
898 tdfx_outl(par, DSTSIZE, rect->width | (rect->height << 16)); in tdfxfb_fillrect()
899 tdfx_outl(par, LAUNCH_2D, dx | (dy << 16)); in tdfxfb_fillrect()
953 tdfx_outl(par, SRCFORMAT, fmt); in tdfxfb_copyarea()
954 tdfx_outl(par, DSTFORMAT, fmt); in tdfxfb_copyarea()
955 tdfx_outl(par, COMMAND_2D, blitcmd); in tdfxfb_copyarea()
956 tdfx_outl(par, DSTSIZE, area->width | (area->height << 16)); in tdfxfb_copyarea()
957 tdfx_outl(par, DSTXY, dx | (dy << 16)); in tdfxfb_copyarea()
958 tdfx_outl(par, SRCBASE, srcbase); in tdfxfb_copyarea()
959 tdfx_outl(par, DSTBASE, dstbase); in tdfxfb_copyarea()
960 tdfx_outl(par, LAUNCH_2D, sx | (sy << 16)); in tdfxfb_copyarea()
990 tdfx_outl(par, COLORFORE, image->fg_color); in tdfxfb_imageblit()
991 tdfx_outl(par, COLORBACK, image->bg_color); in tdfxfb_imageblit()
995 tdfx_outl(par, COLORFORE, in tdfxfb_imageblit()
997 tdfx_outl(par, COLORBACK, in tdfxfb_imageblit()
1016 tdfx_outl(par, DSTBASE, dstbase); in tdfxfb_imageblit()
1017 tdfx_outl(par, SRCXY, 0); in tdfxfb_imageblit()
1018 tdfx_outl(par, DSTXY, dx | (dy << 16)); in tdfxfb_imageblit()
1019 tdfx_outl(par, COMMAND_2D, in tdfxfb_imageblit()
1021 tdfx_outl(par, SRCFORMAT, srcfmt); in tdfxfb_imageblit()
1022 tdfx_outl(par, DSTFORMAT, dstfmt); in tdfxfb_imageblit()
1023 tdfx_outl(par, DSTSIZE, image->width | (image->height << 16)); in tdfxfb_imageblit()
1035 tdfx_outl(par, LAUNCH_2D, *(u32 *)chardata); in tdfxfb_imageblit()
1045 tdfx_outl(par, LAUNCH_2D, *chardata); in tdfxfb_imageblit()
1048 tdfx_outl(par, LAUNCH_2D, *(u16 *)chardata); in tdfxfb_imageblit()
1051 tdfx_outl(par, LAUNCH_2D, in tdfxfb_imageblit()
1074 tdfx_outl(par, VIDPROCCFG, vidcfg | VIDCFG_HWCURSOR_ENABLE); in tdfxfb_cursor()
1076 tdfx_outl(par, VIDPROCCFG, vidcfg & ~VIDCFG_HWCURSOR_ENABLE); in tdfxfb_cursor()
1100 tdfx_outl(par, HWCURC0, bg_color); in tdfxfb_cursor()
1101 tdfx_outl(par, HWCURC1, fg_color); in tdfxfb_cursor()
1111 tdfx_outl(par, HWCURLOC, (y << 16) + x); in tdfxfb_cursor()
1196 tdfx_outl(par, VIDSERPARPORT, r); in tdfxfb_i2c_setscl()
1211 tdfx_outl(par, VIDSERPARPORT, r); in tdfxfb_i2c_setsda()
1246 tdfx_outl(par, VIDSERPARPORT, r); in tdfxfb_ddc_setscl()
1261 tdfx_outl(par, VIDSERPARPORT, r); in tdfxfb_ddc_setsda()
1342 tdfx_outl(par, VIDINFORMAT, 0x8160); in tdfxfb_create_i2c_busses()
1343 tdfx_outl(par, VIDSERPARPORT, 0xcffc0020); in tdfxfb_create_i2c_busses()