Lines Matching defs:port0
98 struct resource *port0;
138 port0 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
139 if (port0 == NULL)
147 bus_release_resource(dev, SYS_RES_IOPORT, 0, port0);
160 tag = rman_get_bustag(port0);
169 bus_release_resource(dev, SYS_RES_IOPORT, 0, port0);
179 error = atkbdc_probe_unit(device_get_unit(dev), port0, port1);
181 bus_release_resource(dev, SYS_RES_IOPORT, 0, port0);
212 sc->port0 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,
214 if (sc->port0 == NULL)
220 bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->port0);
232 error = atkbdc_attach_unit(unit, sc, sc->port0, sc->port1);
234 bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->port0);