Searched refs:ramtype (Results 1 – 2 of 2) sorted by relevance
1410 static int sisusb_triggersr16(struct sisusb_usb_data *sisusb, u8 ramtype) in sisusb_triggersr16() argument1416 if (ramtype <= 1) { in sisusb_triggersr16()1444 u8 ramtype, done = 0; in sisusb_getbuswidth() local1448 ret = GETIREG(SISSR, 0x3a, &ramtype); in sisusb_getbuswidth()1449 ramtype &= 3; in sisusb_getbuswidth()1453 if (ramtype <= 1) { in sisusb_getbuswidth()1460 ret |= sisusb_triggersr16(sisusb, ramtype); in sisusb_getbuswidth()1474 if (ramtype <= 1) { in sisusb_getbuswidth()1488 ret |= sisusb_triggersr16(sisusb, ramtype); in sisusb_getbuswidth()1524 ret |= sisusb_triggersr16(sisusb, ramtype); in sisusb_getbuswidth()[all …]
5067 u8 ramtype; in sisfb_post_xgi_ramtype() local5071 ramtype = 0x00; v1 = 0x10; in sisfb_post_xgi_ramtype()5073 ramtype = bios[0x62]; in sisfb_post_xgi_ramtype()5076 if (!(ramtype & 0x80)) { in sisfb_post_xgi_ramtype()5082 ramtype = reg & 0x01; /* GPIOH */ in sisfb_post_xgi_ramtype()5087 ramtype = (reg & 0x01) << 1; in sisfb_post_xgi_ramtype()5091 ramtype = reg & 0x02; in sisfb_post_xgi_ramtype()5092 if (!(ramtype)) { in sisfb_post_xgi_ramtype()5094 ramtype = (reg >> 1) & 0x01; in sisfb_post_xgi_ramtype()5098 ramtype &= 0x07; in sisfb_post_xgi_ramtype()[all …]