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 …]
5080 u8 ramtype; in sisfb_post_xgi_ramtype() local5084 ramtype = 0x00; v1 = 0x10; in sisfb_post_xgi_ramtype()5086 ramtype = bios[0x62]; in sisfb_post_xgi_ramtype()5089 if (!(ramtype & 0x80)) { in sisfb_post_xgi_ramtype()5095 ramtype = reg & 0x01; /* GPIOH */ in sisfb_post_xgi_ramtype()5100 ramtype = (reg & 0x01) << 1; in sisfb_post_xgi_ramtype()5104 ramtype = reg & 0x02; in sisfb_post_xgi_ramtype()5105 if (!(ramtype)) { in sisfb_post_xgi_ramtype()5107 ramtype = (reg >> 1) & 0x01; in sisfb_post_xgi_ramtype()5111 ramtype &= 0x07; in sisfb_post_xgi_ramtype()[all …]