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

/freebsd-13-stable/sys/dev/pci/
H A Dvga_pci.c58 struct resource *vr_res; member in struct:vga_resource
247 vr->vr_res);
271 vr->vr_res);
311 KASSERT(vr->vr_res != NULL, ("vga_pci_unmap_bios: bios not mapped"));
312 KASSERT(rman_get_virtual(vr->vr_res) == bios,
315 vr->vr_res);
473 if (vr->vr_res == NULL)
474 vr->vr_res = bus_alloc_resource(dev, type, rid, start,
476 if (vr->vr_res != NULL)
478 return (vr->vr_res);
[all...]
/freebsd-13-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.c642 sc->vr_res = bus_alloc_resource_any(dev, sc->vr_res_type,
644 if (sc->vr_res == NULL) {
859 if (sc->vr_res)
861 sc->vr_res);

Completed in 188 milliseconds