Lines Matching refs:port0
220 int port0, last_port0; /* Double read for stabilising */
231 port0 = inb_p(pcwd_private.io_addr);
233 last_port0 = port0;
234 port0 = inb_p(pcwd_private.io_addr);
236 if (port0 == last_port0)
244 "cmd=0x%02x: port0=0x%02x last_port0=0x%02x\n",
245 cmd, port0, last_port0);
247 return port0;
825 int port0, last_port0; /* Reg 0, in case it's REV A */
841 port0 = inb_p(base_addr); /* For REV A boards */
843 if (port0 != 0xff || port1 != 0xff) {
849 last_port0 = port0;
852 port0 = inb_p(base_addr);
856 if ((port0 ^ last_port0) & WD_HRTBT ||