Searched refs:vr_res (Results 1 – 3 of 3) sorted by relevance
| /freebsd-12-stable/sys/dev/pci/ |
| D | vga_pci.c | 58 struct resource *vr_res; member 248 vr->vr_res); in vga_pci_map_bios() 272 vr->vr_res); in vga_pci_map_bios() 312 KASSERT(vr->vr_res != NULL, ("vga_pci_unmap_bios: bios not mapped")); in vga_pci_unmap_bios() 313 KASSERT(rman_get_virtual(vr->vr_res) == bios, in vga_pci_unmap_bios() 316 vr->vr_res); in vga_pci_unmap_bios() 474 if (vr->vr_res == NULL) in vga_pci_alloc_resource() 475 vr->vr_res = bus_alloc_resource(dev, type, rid, start, in vga_pci_alloc_resource() 477 if (vr->vr_res != NULL) in vga_pci_alloc_resource() 479 return (vr->vr_res); in vga_pci_alloc_resource() [all …]
|
| /freebsd-12-stable/sys/dev/vr/ |
| D | if_vrreg.h | 718 struct resource *vr_res; member 753 #define CSR_WRITE_4(sc, reg, val) bus_write_4(sc->vr_res, reg, val) 754 #define CSR_WRITE_2(sc, reg, val) bus_write_2(sc->vr_res, reg, val) 755 #define CSR_WRITE_1(sc, reg, val) bus_write_1(sc->vr_res, reg, val) 757 #define CSR_READ_2(sc, reg) bus_read_2(sc->vr_res, reg) 758 #define CSR_READ_1(sc, reg) bus_read_1(sc->vr_res, reg)
|
| D | if_vr.c | 629 sc->vr_res = bus_alloc_resource_any(dev, sc->vr_res_type, in vr_attach() 631 if (sc->vr_res == NULL) { in vr_attach() 846 if (sc->vr_res) in vr_detach() 848 sc->vr_res); in vr_detach()
|