Lines Matching refs:port0
99 struct resource *port0;
139 port0 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE);
140 if (port0 == NULL)
148 bus_release_resource(dev, SYS_RES_IOPORT, 0, port0);
161 tag = rman_get_bustag(port0);
170 bus_release_resource(dev, SYS_RES_IOPORT, 0, port0);
180 error = atkbdc_probe_unit(device_get_unit(dev), port0, port1);
182 bus_release_resource(dev, SYS_RES_IOPORT, 0, port0);
213 sc->port0 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,
215 if (sc->port0 == NULL)
221 bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->port0);
233 error = atkbdc_attach_unit(unit, sc, sc->port0, sc->port1);
235 bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->port0);