Lines Matching refs:SISSR
1415 ret = GETIREG(SISSR, 0x16, &tmp8); in sisusb_triggersr16()
1418 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1420 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1423 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1425 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1427 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1429 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1431 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1433 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1435 ret |= SETIREG(SISSR, 0x16, tmp8); in sisusb_triggersr16()
1448 ret = GETIREG(SISSR, 0x3a, &ramtype); in sisusb_getbuswidth()
1451 ret |= SETIREG(SISSR, 0x13, 0x00); in sisusb_getbuswidth()
1454 ret |= SETIREG(SISSR, 0x14, 0x12); in sisusb_getbuswidth()
1455 ret |= SETIREGAND(SISSR, 0x15, 0xef); in sisusb_getbuswidth()
1457 ret |= SETIREG(SISSR, 0x14, 0x02); in sisusb_getbuswidth()
1481 ret |= SETIREGAND(SISSR, 0x14, 0xfd); in sisusb_getbuswidth()
1486 ret |= SETIREGANDOR(SISSR, 0x14, 0xfc, 0x01); in sisusb_getbuswidth()
1499 ret |= SETIREGOR(SISSR, 0x15, 0x10); in sisusb_getbuswidth()
1517 ret |= SETIREG(SISSR, 0x14, 0x00); in sisusb_getbuswidth()
1523 ret |= SETIREG(SISSR, 0x14, 0x03); in sisusb_getbuswidth()
1545 ret |= SETIREG(SISSR, 0x14, 0x01); in sisusb_getbuswidth()
1565 ret |= GETIREG(SISSR, 0x21, &tmp1); in sisusb_verify_mclk()
1566 ret |= SETIREGAND(SISSR, 0x21, (tmp1 & 0xfb)); in sisusb_verify_mclk()
1567 ret |= SETIREGOR(SISSR, 0x3c, 0x01); /* not on 330 */ in sisusb_verify_mclk()
1568 ret |= SETIREGAND(SISSR, 0x3c, 0xfe); /* not on 330 */ in sisusb_verify_mclk()
1569 ret |= SETIREG(SISSR, 0x21, tmp1); in sisusb_verify_mclk()
1605 ret = SETIREG(SISSR, 0x14, tmp); in sisusb_set_rank()
1691 ret |= SETIREGANDOR(SISSR, 0x13, 0x80, sdramtype[i][4]); in sisusb_get_sdram_size()
1778 GETIREG(SISSR, 0x31, &sr31); in sisusb_set_default_mode()
1780 SETIREGOR(SISSR, 0x01, 0x20); in sisusb_set_default_mode()
1783 SETIREGOR(SISSR, 0x1f, 0x04); in sisusb_set_default_mode()
1784 SETIREGAND(SISSR, 0x07, 0xfb); in sisusb_set_default_mode()
1785 SETIREG(SISSR, 0x00, 0x03); /* seq */ in sisusb_set_default_mode()
1786 SETIREG(SISSR, 0x01, 0x21); in sisusb_set_default_mode()
1787 SETIREG(SISSR, 0x02, 0x0f); in sisusb_set_default_mode()
1788 SETIREG(SISSR, 0x03, 0x00); in sisusb_set_default_mode()
1789 SETIREG(SISSR, 0x04, 0x0e); in sisusb_set_default_mode()
1810 SETIREG(SISSR, i, 0x00); in sisusb_set_default_mode()
1812 SETIREGAND(SISSR, 0x37, 0xfe); in sisusb_set_default_mode()
1825 SETIREG(SISSR, j, crtcdata[i]); in sisusb_set_default_mode()
1827 SETIREG(SISSR, 0x0E, (crtcdata[16] & 0xE0)); in sisusb_set_default_mode()
1831 SETIREGANDOR(SISSR, 0x0e, 0xf0, ((du >> 8) & 0x0f)); in sisusb_set_default_mode()
1835 SETIREG(SISSR, 0x10, tmp8); in sisusb_set_default_mode()
1836 SETIREG(SISSR, 0x31, 0x00); /* VCLK */ in sisusb_set_default_mode()
1837 SETIREG(SISSR, 0x2b, 0x1b); in sisusb_set_default_mode()
1838 SETIREG(SISSR, 0x2c, 0xe1); in sisusb_set_default_mode()
1839 SETIREG(SISSR, 0x2d, 0x01); in sisusb_set_default_mode()
1840 SETIREGAND(SISSR, 0x3d, 0xfe); /* FIFO */ in sisusb_set_default_mode()
1841 SETIREG(SISSR, 0x08, 0xae); in sisusb_set_default_mode()
1842 SETIREGAND(SISSR, 0x09, 0xf0); in sisusb_set_default_mode()
1843 SETIREG(SISSR, 0x08, 0x34); in sisusb_set_default_mode()
1844 SETIREGOR(SISSR, 0x3d, 0x01); in sisusb_set_default_mode()
1845 SETIREGAND(SISSR, 0x1f, 0x3f); /* mode regs */ in sisusb_set_default_mode()
1846 SETIREGANDOR(SISSR, 0x06, 0xc0, 0x0a); in sisusb_set_default_mode()
1849 SETIREGAND(SISSR, 0x0f, 0xb7); in sisusb_set_default_mode()
1850 SETIREGAND(SISSR, 0x31, 0xfb); in sisusb_set_default_mode()
1851 SETIREGANDOR(SISSR, 0x21, 0x1f, 0xa0); in sisusb_set_default_mode()
1852 SETIREGAND(SISSR, 0x32, 0xf3); in sisusb_set_default_mode()
1853 SETIREGANDOR(SISSR, 0x07, 0xf8, 0x03); in sisusb_set_default_mode()
1858 SETIREG(SISSR, 0x0d, 0x00); in sisusb_set_default_mode()
1859 SETIREGAND(SISSR, 0x37, 0xfe); in sisusb_set_default_mode()
1862 SETIREGAND(SISSR, 0x01, 0xdf); /* enable display */ in sisusb_set_default_mode()
1864 SETIREG(SISSR, 0x31, (sr31 & 0xfb)); in sisusb_set_default_mode()
1867 SETIREG(SISSR, 0x20, 0xa1); /* enable engines */ in sisusb_set_default_mode()
1868 SETIREGOR(SISSR, 0x1e, 0x5a); in sisusb_set_default_mode()
1870 SETIREG(SISSR, 0x26, 0x01); /* disable cmdqueue */ in sisusb_set_default_mode()
1871 SETIREG(SISSR, 0x27, 0x1f); in sisusb_set_default_mode()
1872 SETIREG(SISSR, 0x26, 0x00); in sisusb_set_default_mode()
1927 ret |= SETIREG(SISSR, 0x05, 0x86); in sisusb_init_gfxcore()
1928 ret |= SETIREGOR(SISSR, 0x20, 0x01); in sisusb_init_gfxcore()
1933 ret |= SETIREG(SISSR, i, 0x00); in sisusb_init_gfxcore()
1936 ret |= SETIREG(SISSR, i, 0x00); in sisusb_init_gfxcore()
1939 ret |= SETIREG(SISSR, i, 0x00); in sisusb_init_gfxcore()
1942 ret |= SETIREG(SISSR, i, 0x00); in sisusb_init_gfxcore()
1952 ret |= GETIREG(SISSR, 0x3a, &ramtype); in sisusb_init_gfxcore()
1955 ret |= SETIREG(SISSR, 0x28, mclktable[ramtype * 4]); in sisusb_init_gfxcore()
1956 ret |= SETIREG(SISSR, 0x29, mclktable[(ramtype * 4) + 1]); in sisusb_init_gfxcore()
1957 ret |= SETIREG(SISSR, 0x2a, mclktable[(ramtype * 4) + 2]); in sisusb_init_gfxcore()
1959 ret |= SETIREG(SISSR, 0x2e, eclktable[ramtype * 4]); in sisusb_init_gfxcore()
1960 ret |= SETIREG(SISSR, 0x2f, eclktable[(ramtype * 4) + 1]); in sisusb_init_gfxcore()
1961 ret |= SETIREG(SISSR, 0x30, eclktable[(ramtype * 4) + 2]); in sisusb_init_gfxcore()
1963 ret |= SETIREG(SISSR, 0x07, 0x18); in sisusb_init_gfxcore()
1964 ret |= SETIREG(SISSR, 0x11, 0x0f); in sisusb_init_gfxcore()
1970 ret |= SETIREG(SISSR, i, in sisusb_init_gfxcore()
1980 ret |= SETIREG(SISSR, 0x1f, 0x00); in sisusb_init_gfxcore()
1981 ret |= SETIREG(SISSR, 0x20, 0xa0); in sisusb_init_gfxcore()
1982 ret |= SETIREG(SISSR, 0x23, 0xf6); in sisusb_init_gfxcore()
1983 ret |= SETIREG(SISSR, 0x24, 0x0d); in sisusb_init_gfxcore()
1984 ret |= SETIREG(SISSR, 0x25, 0x33); in sisusb_init_gfxcore()
1986 ret |= SETIREG(SISSR, 0x11, 0x0f); in sisusb_init_gfxcore()
1997 ret |= GETIREG(SISSR, 0x13, &tmp8); in sisusb_init_gfxcore()
2006 ret |= SETIREG(SISSR, 0x25, tmp8); in sisusb_init_gfxcore()
2010 ret |= SETIREG(SISSR, 0x27, 0x1f); in sisusb_init_gfxcore()
2011 ret |= SETIREG(SISSR, 0x31, 0x00); in sisusb_init_gfxcore()
2012 ret |= SETIREG(SISSR, 0x32, 0x11); in sisusb_init_gfxcore()
2013 ret |= SETIREG(SISSR, 0x33, 0x00); in sisusb_init_gfxcore()
2022 ret |= SETIREGAND(SISSR, 0x21, 0xdf); in sisusb_init_gfxcore()
2023 ret |= SETIREGOR(SISSR, 0x01, 0x20); in sisusb_init_gfxcore()
2024 ret |= SETIREGOR(SISSR, 0x16, 0x0f); in sisusb_init_gfxcore()
2029 ret |= SETIREGAND(SISSR, 0x17, 0xf8); in sisusb_init_gfxcore()
2030 ret |= SETIREGOR(SISSR, 0x19, 0x03); in sisusb_init_gfxcore()
2040 ret |= SETIREG(SISSR, 0x14, 0x31); in sisusb_init_gfxcore()
2046 ret |= SETIREG(SISSR, 0x14, 0x31); in sisusb_init_gfxcore()
2051 ret |= SETIREG(SISSR, 0x16, ramtypetable1[4 + ramtype]); in sisusb_init_gfxcore()
2052 ret |= SETIREG(SISSR, 0x17, ramtypetable1[8 + ramtype]); in sisusb_init_gfxcore()
2053 ret |= SETIREG(SISSR, 0x19, ramtypetable1[16 + ramtype]); in sisusb_init_gfxcore()
2055 ret |= SETIREGOR(SISSR, 0x21, 0x20); in sisusb_init_gfxcore()
2057 ret |= SETIREG(SISSR, 0x22, 0xfb); in sisusb_init_gfxcore()
2058 ret |= SETIREG(SISSR, 0x21, 0xa5); in sisusb_init_gfxcore()
2088 sisusb_getidxreg(sisusb, SISSR, 0x14, &tmp8); in sisusb_get_ramconfig()
2089 sisusb_getidxreg(sisusb, SISSR, 0x15, &tmp82); in sisusb_get_ramconfig()
2090 sisusb_getidxreg(sisusb, SISSR, 0x3a, &ramtype); in sisusb_get_ramconfig()