Home
last modified time | relevance | path

Searched refs:TGA_WRITE_REG (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/video/
Dtgafb.c484 TGA_WRITE_REG(TGA_VALID_VIDEO | TGA_VALID_BLANK, TGA_VALID_REG); in tgafb_set_par()
491 TGA_WRITE_REG(deep_presets[fb_info.tga_type], TGA_DEEP_REG); in tgafb_set_par()
497 TGA_WRITE_REG(rasterop_presets[fb_info.tga_type], TGA_RASTEROP_REG); in tgafb_set_par()
498 TGA_WRITE_REG(mode_presets[fb_info.tga_type], TGA_MODE_REG); in tgafb_set_par()
499 TGA_WRITE_REG(base_addr_presets[fb_info.tga_type], TGA_BASE_ADDR_REG); in tgafb_set_par()
505 TGA_WRITE_REG(0xffffffff, TGA_PLANEMASK_REG); in tgafb_set_par()
506 TGA_WRITE_REG(0xffffffff, TGA_PIXELMASK_REG); in tgafb_set_par()
507 TGA_WRITE_REG(0x12345678, TGA_BLOCK_COLOR0_REG); in tgafb_set_par()
508 TGA_WRITE_REG(0x12345678, TGA_BLOCK_COLOR1_REG); in tgafb_set_par()
511 TGA_WRITE_REG(par->htimings, TGA_HORIZ_REG); in tgafb_set_par()
[all …]
Dtgafb.h147 #define TGA_WRITE_REG(v,r) \ macro
153 TGA_WRITE_REG((r),TGA_RAMDAC_SETUP_REG); \
154 TGA_WRITE_REG(((v)&0xff)|((r)<<8),TGA_RAMDAC_REG);
157 TGA_WRITE_REG(BT463_ADDR_LO<<2, TGA_RAMDAC_SETUP_REG); \
158 TGA_WRITE_REG((BT463_ADDR_LO<<10)|((a)&0xff), TGA_RAMDAC_REG); \
159 TGA_WRITE_REG(BT463_ADDR_HI<<2, TGA_RAMDAC_SETUP_REG); \
160 TGA_WRITE_REG((BT463_ADDR_HI<<10)|(((a)>>8)&0xff), TGA_RAMDAC_REG);
164 TGA_WRITE_REG(((m)<<2),TGA_RAMDAC_SETUP_REG); \
165 TGA_WRITE_REG(((m)<<10)|((v)&0xff),TGA_RAMDAC_REG);