Lines Matching refs:tdfx_outl
247 static inline void tdfx_outl(struct tdfx_par *par, unsigned int reg, u32 val) in tdfx_outl() function
266 tdfx_outl(par, COMMAND_3D, COMMAND_3D_NOP); in banshee_wait_idle()
282 tdfx_outl(par, DACADDR, regno); in do_setpalentry()
285 tdfx_outl(par, DACDATA, c); in do_setpalentry()
344 tdfx_outl(par, MISCINIT1, tdfx_inl(par, MISCINIT1) | 0x01); in do_write_regs()
349 tdfx_outl(par, VGAINIT1, reg->vgainit1 & 0x001FFFFF); in do_write_regs()
350 tdfx_outl(par, VIDPROCCFG, reg->vidcfg & ~0x00000001); in do_write_regs()
352 tdfx_outl(par, PLLCTRL1, reg->mempll); in do_write_regs()
353 tdfx_outl(par, PLLCTRL2, reg->gfxpll); in do_write_regs()
355 tdfx_outl(par, PLLCTRL0, reg->vidpll); in do_write_regs()
378 tdfx_outl(par, VGAINIT0, reg->vgainit0); in do_write_regs()
379 tdfx_outl(par, DACMODE, reg->dacmode); in do_write_regs()
380 tdfx_outl(par, VIDDESKSTRIDE, reg->stride); in do_write_regs()
381 tdfx_outl(par, HWCURPATADDR, reg->curspataddr); in do_write_regs()
383 tdfx_outl(par, VIDSCREENSIZE, reg->screensize); in do_write_regs()
384 tdfx_outl(par, VIDDESKSTART, reg->startaddr); in do_write_regs()
385 tdfx_outl(par, VIDPROCCFG, reg->vidcfg); in do_write_regs()
386 tdfx_outl(par, VGAINIT1, reg->vgainit1); in do_write_regs()
387 tdfx_outl(par, MISCINIT0, reg->miscinit0); in do_write_regs()
390 tdfx_outl(par, SRCBASE, reg->startaddr); in do_write_regs()
391 tdfx_outl(par, DSTBASE, reg->startaddr); in do_write_regs()
392 tdfx_outl(par, COMMANDEXTRA_2D, 0); in do_write_regs()
393 tdfx_outl(par, CLIP0MIN, 0); in do_write_regs()
394 tdfx_outl(par, CLIP0MAX, 0x0fff0fff); in do_write_regs()
395 tdfx_outl(par, CLIP1MIN, 0); in do_write_regs()
396 tdfx_outl(par, CLIP1MAX, 0x0fff0fff); in do_write_regs()
397 tdfx_outl(par, SRCXY, 0); in do_write_regs()
429 tdfx_outl(par, MISCINIT1, miscinit1); in do_lfb_size()
814 tdfx_outl(par, DACMODE, dacmode); in tdfxfb_blank()
835 tdfx_outl(par, VIDDESKSTART, addr); in tdfxfb_pan_display()
872 tdfx_outl(par, DSTFORMAT, fmt); in tdfxfb_fillrect()
874 tdfx_outl(par, COLORFORE, rect->color); in tdfxfb_fillrect()
876 tdfx_outl(par, COLORFORE, par->palette[rect->color]); in tdfxfb_fillrect()
878 tdfx_outl(par, COMMAND_2D, COMMAND_2D_FILLRECT | (tdfx_rop << 24)); in tdfxfb_fillrect()
879 tdfx_outl(par, DSTBASE, dstbase); in tdfxfb_fillrect()
880 tdfx_outl(par, DSTSIZE, rect->width | (rect->height << 16)); in tdfxfb_fillrect()
881 tdfx_outl(par, LAUNCH_2D, dx | (dy << 16)); in tdfxfb_fillrect()
935 tdfx_outl(par, SRCFORMAT, fmt); in tdfxfb_copyarea()
936 tdfx_outl(par, DSTFORMAT, fmt); in tdfxfb_copyarea()
937 tdfx_outl(par, COMMAND_2D, blitcmd); in tdfxfb_copyarea()
938 tdfx_outl(par, DSTSIZE, area->width | (area->height << 16)); in tdfxfb_copyarea()
939 tdfx_outl(par, DSTXY, dx | (dy << 16)); in tdfxfb_copyarea()
940 tdfx_outl(par, SRCBASE, srcbase); in tdfxfb_copyarea()
941 tdfx_outl(par, DSTBASE, dstbase); in tdfxfb_copyarea()
942 tdfx_outl(par, LAUNCH_2D, sx | (sy << 16)); in tdfxfb_copyarea()
972 tdfx_outl(par, COLORFORE, image->fg_color); in tdfxfb_imageblit()
973 tdfx_outl(par, COLORBACK, image->bg_color); in tdfxfb_imageblit()
977 tdfx_outl(par, COLORFORE, in tdfxfb_imageblit()
979 tdfx_outl(par, COLORBACK, in tdfxfb_imageblit()
998 tdfx_outl(par, DSTBASE, dstbase); in tdfxfb_imageblit()
999 tdfx_outl(par, SRCXY, 0); in tdfxfb_imageblit()
1000 tdfx_outl(par, DSTXY, dx | (dy << 16)); in tdfxfb_imageblit()
1001 tdfx_outl(par, COMMAND_2D, in tdfxfb_imageblit()
1003 tdfx_outl(par, SRCFORMAT, srcfmt); in tdfxfb_imageblit()
1004 tdfx_outl(par, DSTFORMAT, dstfmt); in tdfxfb_imageblit()
1005 tdfx_outl(par, DSTSIZE, image->width | (image->height << 16)); in tdfxfb_imageblit()
1017 tdfx_outl(par, LAUNCH_2D, *(u32 *)chardata); in tdfxfb_imageblit()
1027 tdfx_outl(par, LAUNCH_2D, *chardata); in tdfxfb_imageblit()
1030 tdfx_outl(par, LAUNCH_2D, *(u16 *)chardata); in tdfxfb_imageblit()
1033 tdfx_outl(par, LAUNCH_2D, in tdfxfb_imageblit()
1056 tdfx_outl(par, VIDPROCCFG, vidcfg | VIDCFG_HWCURSOR_ENABLE); in tdfxfb_cursor()
1058 tdfx_outl(par, VIDPROCCFG, vidcfg & ~VIDCFG_HWCURSOR_ENABLE); in tdfxfb_cursor()
1082 tdfx_outl(par, HWCURC0, bg_color); in tdfxfb_cursor()
1083 tdfx_outl(par, HWCURC1, fg_color); in tdfxfb_cursor()
1093 tdfx_outl(par, HWCURLOC, (y << 16) + x); in tdfxfb_cursor()
1178 tdfx_outl(par, VIDSERPARPORT, r); in tdfxfb_i2c_setscl()
1193 tdfx_outl(par, VIDSERPARPORT, r); in tdfxfb_i2c_setsda()
1228 tdfx_outl(par, VIDSERPARPORT, r); in tdfxfb_ddc_setscl()
1243 tdfx_outl(par, VIDSERPARPORT, r); in tdfxfb_ddc_setsda()
1324 tdfx_outl(par, VIDINFORMAT, 0x8160); in tdfxfb_create_i2c_busses()
1325 tdfx_outl(par, VIDSERPARPORT, 0xcffc0020); in tdfxfb_create_i2c_busses()