Lines Matching refs:SETIREG

1400 #define SETIREG(r, i, d) sisusb_setidxreg(sisusb, r, i, d)  macro
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()
1451 ret |= SETIREG(SISSR, 0x13, 0x00); in sisusb_getbuswidth()
1454 ret |= SETIREG(SISSR, 0x14, 0x12); in sisusb_getbuswidth()
1457 ret |= SETIREG(SISSR, 0x14, 0x02); 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()
1569 ret |= SETIREG(SISSR, 0x21, tmp1); in sisusb_verify_mclk()
1605 ret = SETIREG(SISSR, 0x14, tmp); in sisusb_set_rank()
1781 SETIREG(SISCR, 0x63, cr63 & 0xbf); 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()
1792 SETIREG(SISCR, i, crtcrdata[i]); in sisusb_set_default_mode()
1806 SETIREG(SISGR, i, grcdata[i]); in sisusb_set_default_mode()
1810 SETIREG(SISSR, i, 0x00); 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()
1825 SETIREG(SISSR, j, crtcdata[i]); in sisusb_set_default_mode()
1827 SETIREG(SISSR, 0x0E, (crtcdata[16] & 0xE0)); in sisusb_set_default_mode()
1829 SETIREG(SISCR, 0x14, 0x4f); in sisusb_set_default_mode()
1832 SETIREG(SISCR, 0x13, (du & 0xff)); 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()
1841 SETIREG(SISSR, 0x08, 0xae); in sisusb_set_default_mode()
1843 SETIREG(SISSR, 0x08, 0x34); in sisusb_set_default_mode()
1847 SETIREG(SISCR, 0x19, 0x00); in sisusb_set_default_mode()
1854 SETIREG(SISCR, 0x52, 0x6c); in sisusb_set_default_mode()
1856 SETIREG(SISCR, 0x0d, 0x00); /* adjust frame */ in sisusb_set_default_mode()
1857 SETIREG(SISCR, 0x0c, 0x00); in sisusb_set_default_mode()
1858 SETIREG(SISSR, 0x0d, 0x00); in sisusb_set_default_mode()
1861 SETIREG(SISCR, 0x32, 0x20); in sisusb_set_default_mode()
1863 SETIREG(SISCR, 0x63, (cr63 & 0xbf)); 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()
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()
1875 SETIREG(SISCR, 0x34, 0x44); /* we just set std mode #44 */ in sisusb_set_default_mode()
1927 ret |= SETIREG(SISSR, 0x05, 0x86); 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()
1945 ret |= SETIREG(SISCR, i, 0x00); in sisusb_init_gfxcore()
1950 ret |= SETIREG(SISCR, 0x63, 0x80); 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()
1974 ret |= SETIREG(SISCR, i, in sisusb_init_gfxcore()
1978 ret |= SETIREG(SISCR, 0x49, 0xaa); 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()
1995 ret |= SETIREG(SISPART1, 0x00, 0x00); in sisusb_init_gfxcore()
2000 ret |= SETIREG(SISPART1, 0x02, 0x00); in sisusb_init_gfxcore()
2001 ret |= SETIREG(SISPART1, 0x2e, 0x08); in sisusb_init_gfxcore()
2006 ret |= SETIREG(SISSR, 0x25, tmp8); in sisusb_init_gfxcore()
2008 ret |= SETIREG(SISCR, 0x49, 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()
2018 ret |= SETIREG(SISCR, 0x83, 0x00); 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()
2057 ret |= SETIREG(SISSR, 0x22, 0xfb); in sisusb_init_gfxcore()
2058 ret |= SETIREG(SISSR, 0x21, 0xa5); in sisusb_init_gfxcore()
2069 #undef SETIREG