Lines Matching defs:port0
135 atkbdc_probe_unit(int unit, struct resource *port0, struct resource *port1)
137 if (rman_get_start(port0) <= 0)
145 atkbdc_attach_unit(int unit, atkbdc_softc_t *sc, struct resource *port0,
148 return atkbdc_setup(sc, rman_get_bustag(port0),
149 rman_get_bushandle(port0),
168 bus_addr_t port0;
172 int port0;
206 if (OF_decode_addr(node, 0, &space, &port0) != 0)
208 h0 = sparc64_fake_bustag(space, port0, tag);
215 port0 = IO_KBD;
216 resource_int_value("atkbdc", 0, "port", &port0);
219 bus_space_map(tag, port0, IO_KBDSIZE, 0, &h0);
222 h0 = (bus_space_handle_t)port0;
312 if ((atkbdc_softc[unit]->port0 != NULL)