Lines Matching full:port0
222 int port0, last_port0; /* Double read for stabilising */ in send_isa_command() local
232 port0 = inb_p(pcwd_private.io_addr); in send_isa_command()
234 last_port0 = port0; in send_isa_command()
235 port0 = inb_p(pcwd_private.io_addr); in send_isa_command()
237 if (port0 == last_port0) in send_isa_command()
244 pr_debug("received following data for cmd=0x%02x: port0=0x%02x last_port0=0x%02x\n", in send_isa_command()
245 cmd, port0, last_port0); in send_isa_command()
247 return port0; in send_isa_command()
807 int port0, last_port0; /* Reg 0, in case it's REV A */ in pcwd_isa_match() local
822 port0 = inb_p(base_addr); /* For REV A boards */ in pcwd_isa_match()
824 if (port0 != 0xff || port1 != 0xff) { in pcwd_isa_match()
830 last_port0 = port0; in pcwd_isa_match()
833 port0 = inb_p(base_addr); in pcwd_isa_match()
837 if ((port0 ^ last_port0) & WD_HRTBT || in pcwd_isa_match()