Home
last modified time | relevance | path

Searched refs:SISCR (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/video/fbdev/sis/
Dsis_main.c783 temp = SiS_GetReg(SISCR, 0x17); in sisfballowretracecrt1()
888 reg1 = SiS_GetReg(SISCR, 0x20); in sisfb_setupvbblankflags()
889 reg1 = SiS_GetReg(SISCR, 0x1b); in sisfb_setupvbblankflags()
890 reg2 = SiS_GetReg(SISCR, 0x1c); in sisfb_setupvbblankflags()
891 reg3 = SiS_GetReg(SISCR, 0x1d); in sisfb_setupvbblankflags()
962 SiS_SetRegANDOR(SISCR, ivideo->SiS_Pr.SiS_MyCR63, 0xbf, cr63); in sisfb_myblank()
1146 SiS_SetReg(SISCR, 0x13, (HDisplay1 & 0xFF)); in sisfb_set_pitch()
1342 SiS_SetReg(SISCR, 0x0D, base & 0xFF); in sisfb_set_base_CRT1()
1343 SiS_SetReg(SISCR, 0x0C, (base >> 8) & 0xFF); in sisfb_set_base_CRT1()
2021 reg = SiS_GetReg(SISCR, 0x79); in sisfb_get_dram_size()
[all …]
Dsis.h141 #define SISCR ivideo->SiS_Pr.SiS_P3d4 macro
/Linux-v5.4/drivers/usb/misc/sisusbvga/
Dsisusb_con.c89 if (sisusb_setidxreg(sisusb, SISCR, 0x0c, 0x00)) in sisusb_initialize()
91 if (sisusb_setidxreg(sisusb, SISCR, 0x0d, 0x00)) in sisusb_initialize()
93 if (sisusb_setidxreg(sisusb, SISCR, 0x0e, 0x00)) in sisusb_initialize()
95 sisusb_setidxreg(sisusb, SISCR, 0x0f, 0x00); in sisusb_initialize()
103 sisusb_setidxreg(sisusb, SISCR, 0x0c, (sisusb->cur_start_addr >> 8)); in sisusbcon_set_start_address()
104 sisusb_setidxreg(sisusb, SISCR, 0x0d, (sisusb->cur_start_addr & 0xff)); in sisusbcon_set_start_address()
123 if (sisusb_setidxregandor(sisusb, SISCR, 0x0b, 0x1f, 0x20)) in sisusb_set_cursor()
126 if (sisusb_setidxregand(sisusb, SISCR, 0x0b, 0x1f)) in sisusb_set_cursor()
131 if (sisusb_setidxreg(sisusb, SISCR, 0x0e, (location >> 8))) in sisusb_set_cursor()
133 sisusb_setidxreg(sisusb, SISCR, 0x0f, (location & 0xff)); in sisusb_set_cursor()
[all …]
Dsisusb.c1779 GETIREG(SISCR, 0x63, &cr63); in sisusb_set_default_mode()
1781 SETIREG(SISCR, 0x63, cr63 & 0xbf); in sisusb_set_default_mode()
1782 SETIREGOR(SISCR, 0x17, 0x80); in sisusb_set_default_mode()
1792 SETIREG(SISCR, i, crtcrdata[i]); in sisusb_set_default_mode()
1814 SETIREG(SISCR, 0x11, 0x00); /* crtc */ in sisusb_set_default_mode()
1816 SETIREG(SISCR, j, crtcdata[i]); in sisusb_set_default_mode()
1819 SETIREG(SISCR, j, crtcdata[i]); in sisusb_set_default_mode()
1822 SETIREG(SISCR, j, crtcdata[i]); in sisusb_set_default_mode()
1828 SETIREGANDOR(SISCR, 0x09, 0x5f, ((crtcdata[16] & 0x01) << 5)); in sisusb_set_default_mode()
1829 SETIREG(SISCR, 0x14, 0x4f); in sisusb_set_default_mode()
[all …]
Dsisusb.h224 #define SISCR SISUSB_PCI_IOPORTBASE + CROFFSET macro