Searched refs:port_res (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-stable/sys/dev/fb/
H A Ds3_pci.c91 struct resource *port_res; member in struct:s3pci_softc
483 if (!(sc->port_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid,
488 sc->st = rman_get_bustag(sc->port_res);
489 sc->sh = rman_get_bushandle(sc->port_res);
548 if (sc->port_res)
549 bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->port_res);
/freebsd-13-stable/sys/dev/an/
H A Dif_anreg.h50 #define CSR_WRITE_2(sc, reg, val) bus_write_2(sc->port_res, reg, val)
52 #define CSR_READ_2(sc, reg) bus_read_2(sc->port_res, reg)
54 #define CSR_WRITE_1(sc, reg, val) bus_write_1(sc->port_res, reg, val)
56 #define CSR_READ_1(sc, reg) bus_read_1(sc->port_res, reg)
444 struct resource* port_res; /* resource for port range */ member in struct:an_softc
H A Dif_an.c332 if (rman_get_start(sc->port_res) == -1)
390 sc->port_res = res;
513 if (sc->port_res) {
515 sc->port_rid, sc->port_res);
516 sc->port_res = 0;
/freebsd-13-stable/sys/x86/isa/
H A Datrtc.c202 struct resource *port_res; member in struct:atrtc_softc
449 sc->port_res = bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->port_rid,
451 if (sc->port_res == NULL)
H A Dclock.c96 struct resource *port_res; member in struct:attimer_softc
565 if (!(sc->port_res = bus_alloc_resource(dev, SYS_RES_IOPORT,

Completed in 91 milliseconds