Lines Matching defs:port0
100 struct resource *port0;
140 port0 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
141 if (port0 == NULL)
149 bus_release_resource(dev, SYS_RES_IOPORT, 0, port0);
162 tag = rman_get_bustag(port0);
171 bus_release_resource(dev, SYS_RES_IOPORT, 0, port0);
181 error = atkbdc_probe_unit(device_get_unit(dev), port0, port1);
183 bus_release_resource(dev, SYS_RES_IOPORT, 0, port0);
214 sc->port0 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,
216 if (sc->port0 == NULL)
222 bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->port0);
234 error = atkbdc_attach_unit(unit, sc, sc->port0, sc->port1);
236 bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->port0);