Lines Matching refs:SETIREG
1442 #define SETIREG(r,i,d) sisusb_setidxreg(sisusb, r, i, d) macro
1461 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1463 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1466 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1468 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1470 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1472 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1474 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1476 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1478 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1494 ret |= SETIREG(SISSR, 0x13, 0x00); in sisusb_getbuswidth()
1497 ret |= SETIREG(SISSR, 0x14, 0x12); in sisusb_getbuswidth()
1500 ret |= SETIREG(SISSR, 0x14, 0x02); in sisusb_getbuswidth()
1560 ret |= SETIREG(SISSR, 0x14, 0x00); in sisusb_getbuswidth()
1566 ret |= SETIREG(SISSR, 0x14, 0x03); in sisusb_getbuswidth()
1588 ret |= SETIREG(SISSR, 0x14, 0x01); in sisusb_getbuswidth()
1613 ret |= SETIREG(SISSR, 0x21, tmp1); in sisusb_verify_mclk()
1649 ret = SETIREG(SISSR, 0x14, tmp); in sisusb_set_rank()
1827 SETIREG(SISCR, 0x63, cr63 & 0xbf); in sisusb_set_default_mode()
1831 SETIREG(SISSR, 0x00, 0x03); /* seq */ in sisusb_set_default_mode()
1832 SETIREG(SISSR, 0x01, 0x21); in sisusb_set_default_mode()
1833 SETIREG(SISSR, 0x02, 0x0f); in sisusb_set_default_mode()
1834 SETIREG(SISSR, 0x03, 0x00); in sisusb_set_default_mode()
1835 SETIREG(SISSR, 0x04, 0x0e); in sisusb_set_default_mode()
1838 SETIREG(SISCR, i, crtcrdata[i]); in sisusb_set_default_mode()
1852 SETIREG(SISGR, i, grcdata[i]); in sisusb_set_default_mode()
1856 SETIREG(SISSR, i, 0x00); in sisusb_set_default_mode()
1860 SETIREG(SISCR, 0x11, 0x00); /* crtc */ in sisusb_set_default_mode()
1862 SETIREG(SISCR, j, crtcdata[i]); in sisusb_set_default_mode()
1865 SETIREG(SISCR, j, crtcdata[i]); in sisusb_set_default_mode()
1868 SETIREG(SISCR, j, crtcdata[i]); in sisusb_set_default_mode()
1871 SETIREG(SISSR, j, crtcdata[i]); in sisusb_set_default_mode()
1873 SETIREG(SISSR, 0x0E, (crtcdata[16] & 0xE0)); in sisusb_set_default_mode()
1875 SETIREG(SISCR, 0x14, 0x4f); in sisusb_set_default_mode()
1879 SETIREG(SISCR, 0x13, (du & 0xff)); in sisusb_set_default_mode()
1883 SETIREG(SISSR, 0x10, tmp8); in sisusb_set_default_mode()
1884 SETIREG(SISSR, 0x31, 0x00); /* VCLK */ in sisusb_set_default_mode()
1885 SETIREG(SISSR, 0x2b, 0x1b); in sisusb_set_default_mode()
1886 SETIREG(SISSR, 0x2c, 0xe1); in sisusb_set_default_mode()
1887 SETIREG(SISSR, 0x2d, 0x01); in sisusb_set_default_mode()
1889 SETIREG(SISSR, 0x08, 0xae); in sisusb_set_default_mode()
1891 SETIREG(SISSR, 0x08, 0x34); in sisusb_set_default_mode()
1895 SETIREG(SISCR, 0x19, 0x00); in sisusb_set_default_mode()
1902 SETIREG(SISCR, 0x52, 0x6c); in sisusb_set_default_mode()
1904 SETIREG(SISCR, 0x0d, 0x00); /* adjust frame */ in sisusb_set_default_mode()
1905 SETIREG(SISCR, 0x0c, 0x00); in sisusb_set_default_mode()
1906 SETIREG(SISSR, 0x0d, 0x00); in sisusb_set_default_mode()
1909 SETIREG(SISCR, 0x32, 0x20); in sisusb_set_default_mode()
1911 SETIREG(SISCR, 0x63, (cr63 & 0xbf)); in sisusb_set_default_mode()
1912 SETIREG(SISSR, 0x31, (sr31 & 0xfb)); in sisusb_set_default_mode()
1915 SETIREG(SISSR, 0x20, 0xa1); /* enable engines */ in sisusb_set_default_mode()
1918 SETIREG(SISSR, 0x26, 0x01); /* disable cmdqueue */ in sisusb_set_default_mode()
1919 SETIREG(SISSR, 0x27, 0x1f); in sisusb_set_default_mode()
1920 SETIREG(SISSR, 0x26, 0x00); in sisusb_set_default_mode()
1923 SETIREG(SISCR, 0x34, 0x44); /* we just set std mode #44 */ in sisusb_set_default_mode()
1977 ret |= SETIREG(SISSR, 0x05, 0x86); in sisusb_init_gfxcore()
1983 ret |= SETIREG(SISSR, i, 0x00); in sisusb_init_gfxcore()
1986 ret |= SETIREG(SISSR, i, 0x00); in sisusb_init_gfxcore()
1989 ret |= SETIREG(SISSR, i, 0x00); in sisusb_init_gfxcore()
1992 ret |= SETIREG(SISSR, i, 0x00); in sisusb_init_gfxcore()
1995 ret |= SETIREG(SISCR, i, 0x00); in sisusb_init_gfxcore()
2000 ret |= SETIREG(SISCR, 0x63, 0x80); in sisusb_init_gfxcore()
2005 ret |= SETIREG(SISSR, 0x28, mclktable[ramtype * 4]); in sisusb_init_gfxcore()
2006 ret |= SETIREG(SISSR, 0x29, mclktable[(ramtype * 4) + 1]); in sisusb_init_gfxcore()
2007 ret |= SETIREG(SISSR, 0x2a, mclktable[(ramtype * 4) + 2]); in sisusb_init_gfxcore()
2009 ret |= SETIREG(SISSR, 0x2e, eclktable[ramtype * 4]); in sisusb_init_gfxcore()
2010 ret |= SETIREG(SISSR, 0x2f, eclktable[(ramtype * 4) + 1]); in sisusb_init_gfxcore()
2011 ret |= SETIREG(SISSR, 0x30, eclktable[(ramtype * 4) + 2]); in sisusb_init_gfxcore()
2013 ret |= SETIREG(SISSR, 0x07, 0x18); in sisusb_init_gfxcore()
2014 ret |= SETIREG(SISSR, 0x11, 0x0f); in sisusb_init_gfxcore()
2019 ret |= SETIREG(SISSR, i, ramtypetable1[(j*4) + ramtype]); in sisusb_init_gfxcore()
2022 ret |= SETIREG(SISCR, i, ramtypetable2[(j*4) + ramtype]); in sisusb_init_gfxcore()
2025 ret |= SETIREG(SISCR, 0x49, 0xaa); in sisusb_init_gfxcore()
2027 ret |= SETIREG(SISSR, 0x1f, 0x00); in sisusb_init_gfxcore()
2028 ret |= SETIREG(SISSR, 0x20, 0xa0); in sisusb_init_gfxcore()
2029 ret |= SETIREG(SISSR, 0x23, 0xf6); in sisusb_init_gfxcore()
2030 ret |= SETIREG(SISSR, 0x24, 0x0d); in sisusb_init_gfxcore()
2031 ret |= SETIREG(SISSR, 0x25, 0x33); in sisusb_init_gfxcore()
2033 ret |= SETIREG(SISSR, 0x11, 0x0f); in sisusb_init_gfxcore()
2041 ret |= SETIREG(SISPART1, 0x00, 0x00); in sisusb_init_gfxcore()
2046 ret |= SETIREG(SISPART1, 0x02, 0x00); in sisusb_init_gfxcore()
2047 ret |= SETIREG(SISPART1, 0x2e, 0x08); in sisusb_init_gfxcore()
2052 ret |= SETIREG(SISSR, 0x25, tmp8); in sisusb_init_gfxcore()
2054 ret |= SETIREG(SISCR, 0x49, tmp8); in sisusb_init_gfxcore()
2056 ret |= SETIREG(SISSR, 0x27, 0x1f); in sisusb_init_gfxcore()
2057 ret |= SETIREG(SISSR, 0x31, 0x00); in sisusb_init_gfxcore()
2058 ret |= SETIREG(SISSR, 0x32, 0x11); in sisusb_init_gfxcore()
2059 ret |= SETIREG(SISSR, 0x33, 0x00); in sisusb_init_gfxcore()
2063 ret |= SETIREG(SISCR, 0x83, 0x00); in sisusb_init_gfxcore()
2084 ret |= SETIREG(SISSR,0x14,0x31); in sisusb_init_gfxcore()
2089 ret |= SETIREG(SISSR,0x14,0x31); in sisusb_init_gfxcore()
2094 ret |= SETIREG(SISSR, 0x16, ramtypetable1[4 + ramtype]); in sisusb_init_gfxcore()
2095 ret |= SETIREG(SISSR, 0x17, ramtypetable1[8 + ramtype]); in sisusb_init_gfxcore()
2096 ret |= SETIREG(SISSR, 0x19, ramtypetable1[16 + ramtype]); in sisusb_init_gfxcore()
2100 ret |= SETIREG(SISSR, 0x22, 0xfb); in sisusb_init_gfxcore()
2101 ret |= SETIREG(SISSR, 0x21, 0xa5); in sisusb_init_gfxcore()
2112 #undef SETIREG