Lines Matching refs:i810_writeb
173 i810_writeb(SR_INDEX, mmio, SR01); in i810_screen_off()
179 i810_writeb(SR_INDEX, mmio, SR01); in i810_screen_off()
180 i810_writeb(SR_DATA, mmio, val); in i810_screen_off()
199 i810_writeb(DRAMCH, mmio, val); in i810_dram_off()
215 i810_writeb(CR_INDEX_CGA, mmio, CR11); in i810_protect_regs()
220 i810_writeb(CR_INDEX_CGA, mmio, CR11); in i810_protect_regs()
221 i810_writeb(CR_DATA_CGA, mmio, reg); in i810_protect_regs()
246 i810_writeb(MSR_WRITE, mmio, par->regs.msr | 0xC8 | 1); in i810_load_pll()
262 i810_writeb(CR_INDEX_CGA, mmio, CR70); in i810_load_vga()
263 i810_writeb(CR_DATA_CGA, mmio, par->interlace); in i810_load_vga()
265 i810_writeb(CR_INDEX_CGA, mmio, CR00); in i810_load_vga()
266 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr00); in i810_load_vga()
267 i810_writeb(CR_INDEX_CGA, mmio, CR01); in i810_load_vga()
268 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr01); in i810_load_vga()
269 i810_writeb(CR_INDEX_CGA, mmio, CR02); in i810_load_vga()
270 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr02); in i810_load_vga()
271 i810_writeb(CR_INDEX_CGA, mmio, CR03); in i810_load_vga()
272 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr03); in i810_load_vga()
273 i810_writeb(CR_INDEX_CGA, mmio, CR04); in i810_load_vga()
274 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr04); in i810_load_vga()
275 i810_writeb(CR_INDEX_CGA, mmio, CR05); in i810_load_vga()
276 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr05); in i810_load_vga()
277 i810_writeb(CR_INDEX_CGA, mmio, CR06); in i810_load_vga()
278 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr06); in i810_load_vga()
279 i810_writeb(CR_INDEX_CGA, mmio, CR09); in i810_load_vga()
280 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr09); in i810_load_vga()
281 i810_writeb(CR_INDEX_CGA, mmio, CR10); in i810_load_vga()
282 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr10); in i810_load_vga()
283 i810_writeb(CR_INDEX_CGA, mmio, CR11); in i810_load_vga()
284 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr11); in i810_load_vga()
285 i810_writeb(CR_INDEX_CGA, mmio, CR12); in i810_load_vga()
286 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr12); in i810_load_vga()
287 i810_writeb(CR_INDEX_CGA, mmio, CR15); in i810_load_vga()
288 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr15); in i810_load_vga()
289 i810_writeb(CR_INDEX_CGA, mmio, CR16); in i810_load_vga()
290 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr16); in i810_load_vga()
304 i810_writeb(CR_INDEX_CGA, mmio, CR30); in i810_load_vgax()
305 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr30); in i810_load_vgax()
306 i810_writeb(CR_INDEX_CGA, mmio, CR31); in i810_load_vgax()
307 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr31); in i810_load_vgax()
308 i810_writeb(CR_INDEX_CGA, mmio, CR32); in i810_load_vgax()
309 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr32); in i810_load_vgax()
310 i810_writeb(CR_INDEX_CGA, mmio, CR33); in i810_load_vgax()
311 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr33); in i810_load_vgax()
312 i810_writeb(CR_INDEX_CGA, mmio, CR35); in i810_load_vgax()
313 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr35); in i810_load_vgax()
314 i810_writeb(CR_INDEX_CGA, mmio, CR39); in i810_load_vgax()
315 i810_writeb(CR_DATA_CGA, mmio, par->regs.cr39); in i810_load_vgax()
338 i810_writeb(GR_INDEX, mmio, GR10); in i810_load_2d()
341 i810_writeb(GR_INDEX, mmio, GR10); in i810_load_2d()
342 i810_writeb(GR_DATA, mmio, tmp8); in i810_load_2d()
353 i810_writeb(CR_INDEX_CGA, mmio, CR80); in i810_hires()
355 i810_writeb(CR_INDEX_CGA, mmio, CR80); in i810_hires()
356 i810_writeb(CR_DATA_CGA, mmio, val | 1); in i810_hires()
375 i810_writeb(SR_INDEX, mmio, SR01); in i810_load_pitch()
379 i810_writeb(SR_INDEX, mmio, SR01); in i810_load_pitch()
380 i810_writeb(SR_DATA, mmio, val); in i810_load_pitch()
383 i810_writeb(CR_INDEX_CGA, mmio, CR13); in i810_load_pitch()
384 i810_writeb(CR_DATA_CGA, mmio, (u8) tmp); in i810_load_pitch()
387 i810_writeb(CR_INDEX_CGA, mmio, CR41); in i810_load_pitch()
389 i810_writeb(CR_INDEX_CGA, mmio, CR41); in i810_load_pitch()
390 i810_writeb(CR_DATA_CGA, mmio, (u8) tmp | val); in i810_load_pitch()
444 i810_writeb(CLUT_INDEX_WRITE, mmio, regno); in i810_write_dac()
445 i810_writeb(CLUT_DATA, mmio, red); in i810_write_dac()
446 i810_writeb(CLUT_DATA, mmio, green); in i810_write_dac()
447 i810_writeb(CLUT_DATA, mmio, blue); in i810_write_dac()
453 i810_writeb(CLUT_INDEX_READ, mmio, regno); in i810_read_dac()
500 i810_writeb(CR_INDEX_CGA, mmio, CR30+i); in i810_restore_vgax()
501 i810_writeb(CR_DATA_CGA, mmio, *(&(par->hw_state.cr30) + i)); in i810_restore_vgax()
503 i810_writeb(CR_INDEX_CGA, mmio, CR35); in i810_restore_vgax()
504 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr35); in i810_restore_vgax()
505 i810_writeb(CR_INDEX_CGA, mmio, CR39); in i810_restore_vgax()
506 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr39); in i810_restore_vgax()
507 i810_writeb(CR_INDEX_CGA, mmio, CR41); in i810_restore_vgax()
508 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr39); in i810_restore_vgax()
511 i810_writeb(CR_INDEX_CGA, mmio, CR70); in i810_restore_vgax()
515 i810_writeb(CR_INDEX_CGA, mmio, CR70); in i810_restore_vgax()
516 i810_writeb(CR_DATA_CGA, mmio, j | i); in i810_restore_vgax()
518 i810_writeb(CR_INDEX_CGA, mmio, CR80); in i810_restore_vgax()
519 i810_writeb(CR_DATA_CGA, mmio, par->hw_state.cr80); in i810_restore_vgax()
520 i810_writeb(MSR_WRITE, mmio, par->hw_state.msr); in i810_restore_vgax()
521 i810_writeb(SR_INDEX, mmio, SR01); in i810_restore_vgax()
524 i810_writeb(SR_INDEX, mmio, SR01); in i810_restore_vgax()
525 i810_writeb(SR_DATA, mmio, i | j); in i810_restore_vgax()
534 i810_writeb(CR_INDEX_CGA, mmio, CR00 + i); in i810_restore_vga()
535 i810_writeb(CR_DATA_CGA, mmio, *((&par->hw_state.cr00) + i)); in i810_restore_vga()
538 i810_writeb(CR_INDEX_CGA, mmio, CR10 + i); in i810_restore_vga()
539 i810_writeb(CR_DATA_CGA, mmio, *((&par->hw_state.cr10) + i)); in i810_restore_vga()
548 i810_writeb(GR_INDEX, mmio, GR10); in i810_restore_addr_map()
552 i810_writeb(GR_INDEX, mmio, GR10); in i810_restore_addr_map()
553 i810_writeb(GR_DATA, mmio, tmp); in i810_restore_addr_map()
615 i810_writeb(CR_INDEX_CGA, mmio, CR30 + i); in i810_save_vgax()
618 i810_writeb(CR_INDEX_CGA, mmio, CR35); in i810_save_vgax()
620 i810_writeb(CR_INDEX_CGA, mmio, CR39); in i810_save_vgax()
622 i810_writeb(CR_INDEX_CGA, mmio, CR41); in i810_save_vgax()
624 i810_writeb(CR_INDEX_CGA, mmio, CR70); in i810_save_vgax()
627 i810_writeb(CR_INDEX_CGA, mmio, CR80); in i810_save_vgax()
629 i810_writeb(SR_INDEX, mmio, SR01); in i810_save_vgax()
639 i810_writeb(CR_INDEX_CGA, mmio, CR00 + i); in i810_save_vga()
643 i810_writeb(CR_INDEX_CGA, mmio, CR10 + i); in i810_save_vga()
791 i810_writeb(j, addr, 0xff); in i810_reset_cursor_image()
792 i810_writeb(j+8, addr, 0x00); in i810_reset_cursor_image()
809 i810_writeb(j+0, addr, 0x00); in i810_load_cursor_image()
810 i810_writeb(j+8, addr, *data++); in i810_load_cursor_image()
813 i810_writeb(j+0, addr, t_mask); in i810_load_cursor_image()
814 i810_writeb(j+8, addr, *data++ & d_mask); in i810_load_cursor_image()
829 i810_writeb(PIXCONF1, mmio, temp | EXTENDED_PALETTE); in i810_load_cursor_colors()
833 i810_writeb(PIXCONF1, mmio, temp); in i810_load_cursor_colors()
837 i810_writeb(PIXCONF1, mmio, temp | EXTENDED_PALETTE); in i810_load_cursor_colors()
841 i810_writeb(PIXCONF1, mmio, temp); in i810_load_cursor_colors()
1214 i810_writeb(PIXCONF1, mmio, temp & ~EXTENDED_PALETTE); in i810fb_getcolreg()
1231 i810_writeb(PIXCONF1, mmio, temp); in i810fb_getcolreg()
1304 i810_writeb(PIXCONF1, mmio, temp & ~EXTENDED_PALETTE); in i810fb_setcolreg()
1330 i810_writeb(PIXCONF1, mmio, temp); in i810fb_setcolreg()