Home
last modified time | relevance | path

Searched refs:vga_wseq (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/drivers/video/
Dvgastate.c77 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x1); in save_vga_text()
78 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1 | 1 << 5); in save_vga_text()
79 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x3); in save_vga_text()
83 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x4); in save_vga_text()
84 vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x6); in save_vga_text()
94 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x8); in save_vga_text()
95 vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x6); in save_vga_text()
105 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x1); in save_vga_text()
106 vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x6); in save_vga_text()
113 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x2); in save_vga_text()
[all …]
/linux-6.6.21/drivers/video/fbdev/
Dcirrusfb.c649 vga_wseq(cinfo->regbase, CL_SEQR1E, old1e); in cirrusfb_set_mclk_as_source()
651 vga_wseq(cinfo->regbase, CL_SEQR1F, old1f); in cirrusfb_set_mclk_as_source()
897 vga_wseq(regbase, CL_SEQRE, tmp); in cirrusfb_set_par_foo()
898 vga_wseq(regbase, CL_SEQR1E, nom); in cirrusfb_set_par_foo()
900 vga_wseq(regbase, CL_SEQRE, nom); in cirrusfb_set_par_foo()
901 vga_wseq(regbase, CL_SEQR1E, tmp); in cirrusfb_set_par_foo()
954 vga_wseq(regbase, CL_SEQR7, in cirrusfb_set_par_foo()
961 vga_wseq(regbase, CL_SEQR7, in cirrusfb_set_par_foo()
976 vga_wseq(regbase, CL_SEQRF, 0xb0); in cirrusfb_set_par_foo()
981 vga_wseq(regbase, CL_SEQRF, 0xd0); in cirrusfb_set_par_foo()
[all …]
Darkfb.c463 vga_wseq(par->state.vgabase, 0x1C, regval | (code[0] & 4 ? 0x80 : 0)); in ark_dac_read_regs()
469 vga_wseq(par->state.vgabase, 0x1C, regval); in ark_dac_read_regs()
482 vga_wseq(par->state.vgabase, 0x1C, regval | (code[0] & 4 ? 0x80 : 0)); in ark_dac_write_regs()
488 vga_wseq(par->state.vgabase, 0x1C, regval); in ark_dac_write_regs()
668 vga_wseq(par->state.vgabase, 0x13, info->fix.smem_start >> 16); in arkfb_set_par()
669 vga_wseq(par->state.vgabase, 0x14, info->fix.smem_start >> 24); in arkfb_set_par()
670 vga_wseq(par->state.vgabase, 0x15, 0); in arkfb_set_par()
671 vga_wseq(par->state.vgabase, 0x16, 0); in arkfb_set_par()
676 vga_wseq(par->state.vgabase, 0x18, regval); in arkfb_set_par()
705 vga_wseq(par->state.vgabase, 0x11, 0x10); /* basic VGA mode */ in arkfb_set_par()
[all …]
Ds3fb.c484 vga_wseq(par->state.vgabase, 0x12, (n - 2) | ((r & 3) << 6)); /* n and two bits of r */ in s3_set_pixclock()
485 vga_wseq(par->state.vgabase, 0x29, r >> 2); /* remaining highest bit of r */ in s3_set_pixclock()
487 vga_wseq(par->state.vgabase, 0x12, (n - 2) | (r << 5)); in s3_set_pixclock()
488 vga_wseq(par->state.vgabase, 0x13, m - 2); in s3_set_pixclock()
494 vga_wseq(par->state.vgabase, 0x15, regval & ~(1<<5)); in s3_set_pixclock()
495 vga_wseq(par->state.vgabase, 0x15, regval | (1<<5)); in s3_set_pixclock()
496 vga_wseq(par->state.vgabase, 0x15, regval & ~(1<<5)); in s3_set_pixclock()
648 vga_wseq(par->state.vgabase, 0x08, 0x06); in s3fb_set_par()
1187 vga_wseq(par->state.vgabase, 0x08, 0x06); in s3_pci_probe()
Dvt8623fb.c269 vga_wseq(par->state.vgabase, 0x46, (n | (r << 6))); in vt8623_set_pixclock()
270 vga_wseq(par->state.vgabase, 0x47, m); in vt8623_set_pixclock()
456 vga_wseq(par->state.vgabase, 0x17, 0x1F); // FIFO depth in vt8623fb_set_par()
457 vga_wseq(par->state.vgabase, 0x18, 0x4E); in vt8623fb_set_par()
Dneofb.c428 vga_wseq(NULL, 0x00, 0x01); /* Synchronous Reset */ in vgaHWProtect()
429 vga_wseq(NULL, 0x01, tmp | 0x20); /* disable the display */ in vgaHWProtect()
436 vga_wseq(NULL, 0x01, tmp & ~0x20); /* reenable display */ in vgaHWProtect()
437 vga_wseq(NULL, 0x00, 0x03); /* clear synchronousreset */ in vgaHWProtect()
451 vga_wseq(NULL, i, par->Sequencer[i]); in vgaHWRestore()
1351 vga_wseq(NULL, 0x01, reg); in neofb_blank()
Duvesafb.c1127 vga_wseq(NULL, 0x00, 0x01); in uvesafb_blank()
1129 vga_wseq(NULL, 0x00, seq); in uvesafb_blank()
1134 vga_wseq(NULL, 0x00, 0x03); in uvesafb_blank()
/linux-6.6.21/drivers/video/console/
Dvgacon.c689 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, vga_state.ClockingMode | 0x20); in vga_vesa_blank()
750 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, vga_state.ClockingMode); in vga_vesa_unblank()
853 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x1); in vgacon_do_font_op()
855 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x04); in vgacon_do_font_op()
857 vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x07); in vgacon_do_font_op()
859 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x03); in vgacon_do_font_op()
904 vga_wseq(state->vgabase, VGA_SEQ_RESET, 0x01); in vgacon_do_font_op()
906 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, 0x03); in vgacon_do_font_op()
908 vga_wseq(state->vgabase, VGA_SEQ_MEMORY_MODE, 0x03); in vgacon_do_font_op()
911 vga_wseq(state->vgabase, VGA_SEQ_CHARACTER_MAP, font_select); in vgacon_do_font_op()
[all …]
/linux-6.6.21/arch/mips/sni/
Dsetup.c252 vga_wseq(NULL, CL_SEQR6, 0x12); /* unlock all extension registers */ in quirk_cirrus_ram_size()
253 vga_wseq(NULL, CL_SEQRF, 0x18); in quirk_cirrus_ram_size()
/linux-6.6.21/drivers/video/fbdev/core/
Dsvgalib.c58 vga_wseq(regbase, regset->regnum, regval); in svga_wseq_multi()
123 vga_wseq(regbase, VGA_SEQ_CLOCK_MODE, VGA_SR01_CHAR_CLK_8DOTS); in svga_set_default_seq_regs()
124 vga_wseq(regbase, VGA_SEQ_PLANE_WRITE, VGA_SR02_ALL_PLANES); in svga_set_default_seq_regs()
125 vga_wseq(regbase, VGA_SEQ_CHARACTER_MAP, 0x00); in svga_set_default_seq_regs()
127 vga_wseq(regbase, VGA_SEQ_MEMORY_MODE, VGA_SR04_EXT_MEM | VGA_SR04_SEQ_MODE); in svga_set_default_seq_regs()
144 vga_wseq(regbase, VGA_SEQ_MEMORY_MODE, VGA_SR04_EXT_MEM); in svga_set_textmode_vga_regs()
145 vga_wseq(regbase, VGA_SEQ_PLANE_WRITE, 0x03); in svga_set_textmode_vga_regs()
/linux-6.6.21/include/linux/
Dsvga.h82 vga_wseq(regbase, index, (data & mask) | (vga_rseq(regbase, index) & ~mask)); in svga_wseq_mask()
/linux-6.6.21/include/video/
Dvga.h326 static inline void vga_wseq (void __iomem *regbase, unsigned char reg, unsigned char val) in vga_wseq() function