Searched refs:vr_res (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/sys/dev/pci/
H A Dvga_pci.c56 struct resource *vr_res; member in struct:vga_resource
199 KASSERT(vr->vr_res != NULL, ("vga_pci_unmap_bios: bios not mapped"));
200 KASSERT(rman_get_virtual(vr->vr_res) == bios,
203 vr->vr_res);
350 if (vr->vr_res == NULL)
351 vr->vr_res = bus_alloc_resource(dev, type, rid, start,
353 if (vr->vr_res != NULL)
355 return (vr->vr_res);
377 if (vr->vr_res == NULL)
379 KASSERT(vr->vr_res
[all...]
/freebsd-11-stable/sys/dev/vr/
H A Dif_vrreg.h716 struct resource *vr_res; member in struct:vr_softc
751 #define CSR_WRITE_4(sc, reg, val) bus_write_4(sc->vr_res, reg, val)
752 #define CSR_WRITE_2(sc, reg, val) bus_write_2(sc->vr_res, reg, val)
753 #define CSR_WRITE_1(sc, reg, val) bus_write_1(sc->vr_res, reg, val)
755 #define CSR_READ_2(sc, reg) bus_read_2(sc->vr_res, reg)
756 #define CSR_READ_1(sc, reg) bus_read_1(sc->vr_res, reg)
H A Dif_vr.c627 sc->vr_res = bus_alloc_resource_any(dev, sc->vr_res_type,
629 if (sc->vr_res == NULL) {
844 if (sc->vr_res)
846 sc->vr_res);

Completed in 120 milliseconds