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