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()
813 tdfx_outl(par, DACMODE, dacmode); in tdfxfb_blank()
834 tdfx_outl(par, VIDDESKSTART, addr); in tdfxfb_pan_display()
871 tdfx_outl(par, DSTFORMAT, fmt); in tdfxfb_fillrect()
873 tdfx_outl(par, COLORFORE, rect->color); in tdfxfb_fillrect()
875 tdfx_outl(par, COLORFORE, par->palette[rect->color]); in tdfxfb_fillrect()
877 tdfx_outl(par, COMMAND_2D, COMMAND_2D_FILLRECT | (tdfx_rop << 24)); in tdfxfb_fillrect()
878 tdfx_outl(par, DSTBASE, dstbase); in tdfxfb_fillrect()
879 tdfx_outl(par, DSTSIZE, rect->width | (rect->height << 16)); in tdfxfb_fillrect()
880 tdfx_outl(par, LAUNCH_2D, dx | (dy << 16)); in tdfxfb_fillrect()
934 tdfx_outl(par, SRCFORMAT, fmt); in tdfxfb_copyarea()
935 tdfx_outl(par, DSTFORMAT, fmt); in tdfxfb_copyarea()
936 tdfx_outl(par, COMMAND_2D, blitcmd); in tdfxfb_copyarea()
937 tdfx_outl(par, DSTSIZE, area->width | (area->height << 16)); in tdfxfb_copyarea()
938 tdfx_outl(par, DSTXY, dx | (dy << 16)); in tdfxfb_copyarea()
939 tdfx_outl(par, SRCBASE, srcbase); in tdfxfb_copyarea()
940 tdfx_outl(par, DSTBASE, dstbase); in tdfxfb_copyarea()
941 tdfx_outl(par, LAUNCH_2D, sx | (sy << 16)); in tdfxfb_copyarea()
971 tdfx_outl(par, COLORFORE, image->fg_color); in tdfxfb_imageblit()
972 tdfx_outl(par, COLORBACK, image->bg_color); in tdfxfb_imageblit()
976 tdfx_outl(par, COLORFORE, in tdfxfb_imageblit()
978 tdfx_outl(par, COLORBACK, in tdfxfb_imageblit()
997 tdfx_outl(par, DSTBASE, dstbase); in tdfxfb_imageblit()
998 tdfx_outl(par, SRCXY, 0); in tdfxfb_imageblit()
999 tdfx_outl(par, DSTXY, dx | (dy << 16)); in tdfxfb_imageblit()
1000 tdfx_outl(par, COMMAND_2D, in tdfxfb_imageblit()
1002 tdfx_outl(par, SRCFORMAT, srcfmt); in tdfxfb_imageblit()
1003 tdfx_outl(par, DSTFORMAT, dstfmt); in tdfxfb_imageblit()
1004 tdfx_outl(par, DSTSIZE, image->width | (image->height << 16)); in tdfxfb_imageblit()
1016 tdfx_outl(par, LAUNCH_2D, *(u32 *)chardata); in tdfxfb_imageblit()
1026 tdfx_outl(par, LAUNCH_2D, *chardata); in tdfxfb_imageblit()
1029 tdfx_outl(par, LAUNCH_2D, *(u16 *)chardata); in tdfxfb_imageblit()
1032 tdfx_outl(par, LAUNCH_2D, in tdfxfb_imageblit()
1055 tdfx_outl(par, VIDPROCCFG, vidcfg | VIDCFG_HWCURSOR_ENABLE); in tdfxfb_cursor()
1057 tdfx_outl(par, VIDPROCCFG, vidcfg & ~VIDCFG_HWCURSOR_ENABLE); in tdfxfb_cursor()
1081 tdfx_outl(par, HWCURC0, bg_color); in tdfxfb_cursor()
1082 tdfx_outl(par, HWCURC1, fg_color); in tdfxfb_cursor()
1092 tdfx_outl(par, HWCURLOC, (y << 16) + x); in tdfxfb_cursor()
1177 tdfx_outl(par, VIDSERPARPORT, r); in tdfxfb_i2c_setscl()
1192 tdfx_outl(par, VIDSERPARPORT, r); in tdfxfb_i2c_setsda()
1227 tdfx_outl(par, VIDSERPARPORT, r); in tdfxfb_ddc_setscl()
1242 tdfx_outl(par, VIDSERPARPORT, r); in tdfxfb_ddc_setsda()
1323 tdfx_outl(par, VIDINFORMAT, 0x8160); in tdfxfb_create_i2c_busses()
1324 tdfx_outl(par, VIDSERPARPORT, 0xcffc0020); in tdfxfb_create_i2c_busses()