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

/freebsd-10.1-release/sys/dev/pci/
H A Dvga_pci.c55 struct resource *vr_res; member in struct:vga_resource
191 KASSERT(vr->vr_res != NULL, ("vga_pci_unmap_bios: bios not mapped"));
192 KASSERT(rman_get_virtual(vr->vr_res) == bios,
195 vr->vr_res);
312 if (vr->vr_res == NULL)
313 vr->vr_res = bus_alloc_resource(dev, type, rid, start,
315 if (vr->vr_res != NULL)
317 return (vr->vr_res);
339 if (vr->vr_res == NULL)
341 KASSERT(vr->vr_res
[all...]
/freebsd-10.1-release/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.c626 sc->vr_res = bus_alloc_resource_any(dev, sc->vr_res_type,
628 if (sc->vr_res == NULL) {
843 if (sc->vr_res)
845 sc->vr_res);

Completed in 76 milliseconds