Lines Matching refs:_INB

107 #define _INB(port)		(inb(port))  macro
130 #define _INB(port) (inb(port)) macro
652 if (!(_INB(port) & 0x02)) in sdla_mapmem()
698 if (_INB(port) & 0x01) { in sdla_inten()
711 if (!(_INB(port) & 0x02)) /* verify */ in sdla_inten()
720 if (!(_INB(port + 1) & 0x10)) /* verify */ in sdla_inten()
760 if (_INB(port) & 0x01) { in sdla_intde()
772 if (_INB(port) & 0x02) /* verify */ in sdla_intde()
781 if (_INB(port) & 0x10) /* verify */ in sdla_intde()
815 if (_INB(port) & 0x01) { in sdla_intack()
826 if (_INB(port) & 0x04) { in sdla_intack()
899 if (!(_INB(port) & 0x40)) { in sdla_intr()
907 if ((_INB(port) & 0x06) == 0x06) { in sdla_intr()
914 if (_INB(port + 1) & 0x02) { in sdla_intr()
1508 if (_INB(port) & 0x01) { /* verify */ in sdla_start()
1525 if (!(_INB(port) & 0x01)) /* verify */ in sdla_start()
1534 if (!(_INB(port) & 0x04)) /* verify */ in sdla_start()
1543 if (!(_INB(port + 1) & 0x02)) /* verify */ in sdla_start()
1633 return (_INB(port) & 0x02) ? 0 : -EIO; in init_s502e()
1709 if (!(_INB(port) & 0x20)) in init_s507()
1725 return (_INB(port) & 0x08) ? 0 : -EIO; in init_s507()
1753 return (_INB(port + 1) & 0x04) ? 0 : -EIO; in init_s508()
1778 if (_INB(port + j) != 0xFF) in detect_s502a()
1787 if (_INB(port) != 0x40) in detect_s502a()
1791 if (_INB(port) != 0x40) in detect_s502a()
1795 if (_INB(port) != 0x44) in detect_s502a()
1825 if (_INB(port + j) != 0xFF) in detect_s502e()
1832 if (_INB(port) != 0xF8) /* read status */ in detect_s502e()
1836 if (_INB(port) != 0xFC) /* verify */ in detect_s502e()
1863 if (_INB(port + j) != 0xFF) in detect_s503()
1870 if (_INB(port) != 0xF0) /* read status */ in detect_s503()
1874 if (_INB(port) != 0xF2) /* verify */ in detect_s503()
1900 tmp = _INB(port); in detect_s507()
1902 if (_INB(port + j) != tmp) in detect_s507()
1909 if ((_INB(port) & 0x7E) != 0x30) in detect_s507()
1913 if ((_INB(port) & 0x7E) != 0x32) in detect_s507()
1940 if ((_INB(port + 1) & 0x3F) != 0x00) in detect_s508()
1944 if ((_INB(port + 1) & 0x3F) != 0x10) in detect_s508()