Lines Matching full:port1
98 struct resource *port1; in atkbdc_isa_probe() local
144 port1 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); in atkbdc_isa_probe()
145 if (port1 == NULL) { in atkbdc_isa_probe()
160 ioh1 = rman_get_bushandle(port1); in atkbdc_isa_probe()
169 bus_release_resource(dev, SYS_RES_IOPORT, 1, port1); in atkbdc_isa_probe()
178 error = atkbdc_probe_unit(device_get_unit(dev), port0, port1); in atkbdc_isa_probe()
181 bus_release_resource(dev, SYS_RES_IOPORT, 1, port1); in atkbdc_isa_probe()
216 sc->port1 = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, in atkbdc_isa_attach()
218 if (sc->port1 == NULL) { in atkbdc_isa_attach()
231 error = atkbdc_attach_unit(unit, sc, sc->port0, sc->port1); in atkbdc_isa_attach()
234 bus_release_resource(dev, SYS_RES_IOPORT, 1, sc->port1); in atkbdc_isa_attach()