Lines Matching refs:write3X4

701 static inline void write3X4(struct tridentfb_par *par, int reg,  in write3X4()  function
758 write3X4(par, VGA_CRTC_V_SYNC_END, in crtc_unlock()
795 write3X4(par, VGA_CRTC_OFFSET, width & 0xFF); in set_lwidth()
799 write3X4(par, AddColReg, in set_lwidth()
802 write3X4(par, AddColReg, in set_lwidth()
828 write3X4(par, VGA_CRTC_START_LO, base & 0xFF); in set_screen_start()
829 write3X4(par, VGA_CRTC_START_HI, (base & 0xFF00) >> 8); in set_screen_start()
831 write3X4(par, CRTCModuleTest, tmp | ((base & 0x10000) >> 11)); in set_screen_start()
833 write3X4(par, CRTHiOrd, tmp | ((base & 0xE0000) >> 17)); in set_screen_start()
1197 write3X4(par, VGA_CRTC_V_TOTAL, vtotal & 0xFF); in tridentfb_set_par()
1198 write3X4(par, VGA_CRTC_V_DISP_END, vdispend & 0xFF); in tridentfb_set_par()
1199 write3X4(par, VGA_CRTC_V_SYNC_START, vsyncstart & 0xFF); in tridentfb_set_par()
1200 write3X4(par, VGA_CRTC_V_SYNC_END, (vsyncend & 0x0F)); in tridentfb_set_par()
1201 write3X4(par, VGA_CRTC_V_BLANK_START, vblankstart & 0xFF); in tridentfb_set_par()
1202 write3X4(par, VGA_CRTC_V_BLANK_END, vblankend & 0xFF); in tridentfb_set_par()
1205 write3X4(par, VGA_CRTC_H_TOTAL, htotal & 0xFF); in tridentfb_set_par()
1206 write3X4(par, VGA_CRTC_H_DISP, hdispend & 0xFF); in tridentfb_set_par()
1207 write3X4(par, VGA_CRTC_H_SYNC_START, hsyncstart & 0xFF); in tridentfb_set_par()
1208 write3X4(par, VGA_CRTC_H_SYNC_END, in tridentfb_set_par()
1210 write3X4(par, VGA_CRTC_H_BLANK_START, hblankstart & 0xFF); in tridentfb_set_par()
1211 write3X4(par, VGA_CRTC_H_BLANK_END, hblankend & 0x1F); in tridentfb_set_par()
1223 write3X4(par, VGA_CRTC_OVERFLOW, tmp); in tridentfb_set_par()
1231 write3X4(par, CRTHiOrd, tmp); in tridentfb_set_par()
1237 write3X4(par, HorizOverflow, tmp); in tridentfb_set_par()
1242 write3X4(par, VGA_CRTC_MAX_SCAN, tmp); in tridentfb_set_par()
1244 write3X4(par, VGA_CRTC_LINE_COMPARE, 0xFF); in tridentfb_set_par()
1245 write3X4(par, VGA_CRTC_PRESET_ROW, 0); in tridentfb_set_par()
1246 write3X4(par, VGA_CRTC_MODE, 0xC3); in tridentfb_set_par()
1248 write3X4(par, LinearAddReg, 0x20); /* enable linear addressing */ in tridentfb_set_par()
1252 write3X4(par, CRTCModuleTest, tmp); in tridentfb_set_par()
1259 write3X4(par, GraphEngReg, 0x80); in tridentfb_set_par()
1276 write3X4(par, PixelBusReg, tmp); in tridentfb_set_par()
1283 write3X4(par, DRAMControl, tmp); /* both IO, linear enable */ in tridentfb_set_par()
1285 write3X4(par, InterfaceSel, read3X4(par, InterfaceSel) | 0x40); in tridentfb_set_par()
1287 write3X4(par, Performance, read3X4(par, Performance) | 0x10); in tridentfb_set_par()
1290 write3X4(par, PCIReg, read3X4(par, PCIReg) | 0x06); in tridentfb_set_par()