Home
last modified time | relevance | path

Searched refs:drv_regp (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/uts/common/os/
H A Dpcifm.c1214 pci_regspec_t *drv_regp; in pci_check_regs() local
1224 "reg", (caddr_t)&drv_regp, &reglen) != DDI_SUCCESS) in pci_check_regs()
1230 PCI_REG_ADDR_G(drv_regp[rn].pci_phys_hi) && in pci_check_regs()
1233 (drv_regp[rn].pci_phys_hi & (PCI_REG_BUS_M | in pci_check_regs()
1236 kmem_free(drv_regp, reglen); in pci_check_regs()
1240 kmem_free(drv_regp, reglen); in pci_check_regs()
1248 "reg", (caddr_t)&drv_regp, &reglen) != DDI_SUCCESS) in pci_check_regs()
1253 if ((drv_regp[rn].pci_phys_hi & PCI_RELOCAT_B) && in pci_check_regs()
1256 PCI_REG_ADDR_G(drv_regp[rn].pci_phys_hi)) && in pci_check_regs()
1258 (uint64_t)drv_regp[rn].pci_phys_low + in pci_check_regs()
[all …]
/titanic_50/usr/src/uts/i86pc/io/pci/
H A Dpci.c538 pci_regspec_t *drv_regp; in pci_ctlops() local
571 DDI_PROP_DONTPASS, "reg", (int **)&drv_regp, in pci_ctlops()
585 ddi_prop_free(drv_regp); in pci_ctlops()
588 val = drv_regp[rn].pci_size_low | in pci_ctlops()
589 (uint64_t)drv_regp[rn].pci_size_hi << 32; in pci_ctlops()
602 ddi_prop_free(drv_regp); in pci_ctlops()
/titanic_50/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c708 pci_regspec_t *drv_regp; in npe_ctlops() local
739 DDI_PROP_DONTPASS, "reg", (int **)&drv_regp, in npe_ctlops()
753 ddi_prop_free(drv_regp); in npe_ctlops()
756 val = drv_regp[rn].pci_size_low | in npe_ctlops()
757 (uint64_t)drv_regp[rn].pci_size_hi << 32; in npe_ctlops()
770 ddi_prop_free(drv_regp); in npe_ctlops()
/titanic_50/usr/src/uts/sun4u/io/pci/
H A Dsimba.c585 pci_regspec_t *drv_regp; in simba_ctlops() local
626 (caddr_t)&drv_regp, &reglen) != DDI_SUCCESS) in simba_ctlops()
635 kmem_free(drv_regp, reglen); in simba_ctlops()
638 *(off_t *)result = drv_regp[rn].pci_size_low | in simba_ctlops()
639 ((uint64_t)drv_regp[rn].pci_size_hi << 32); in simba_ctlops()
642 kmem_free(drv_regp, reglen); in simba_ctlops()
H A Dpci_pci.c560 pci_regspec_t *drv_regp; in ppb_ctlops() local
625 (caddr_t)&drv_regp, &reglen) != DDI_SUCCESS) in ppb_ctlops()
634 kmem_free(drv_regp, reglen); in ppb_ctlops()
637 *(off_t *)result = drv_regp[rn].pci_size_low | in ppb_ctlops()
638 ((uint64_t)drv_regp[rn].pci_size_hi << 32); in ppb_ctlops()
641 kmem_free(drv_regp, reglen); in ppb_ctlops()
/titanic_50/usr/src/uts/intel/io/pci/
H A Dpci_pci.c476 pci_regspec_t *drv_regp; in ppb_ctlops() local
557 (caddr_t)&drv_regp, &reglen) != DDI_SUCCESS) in ppb_ctlops()
566 kmem_free(drv_regp, reglen); in ppb_ctlops()
569 *(off_t *)result = drv_regp[rn].pci_size_low; in ppb_ctlops()
572 kmem_free(drv_regp, reglen); in ppb_ctlops()
/titanic_50/usr/src/uts/common/io/pciex/
H A Dpcieb.c570 pci_regspec_t *drv_regp; in pcieb_ctlops() local
700 DDI_PROP_DONTPASS | DDI_PROP_CANSLEEP, "reg", (caddr_t)&drv_regp, in pcieb_ctlops()
710 kmem_free(drv_regp, reglen); in pcieb_ctlops()
714 *(off_t *)result = drv_regp[rn].pci_size_low | in pcieb_ctlops()
715 ((uint64_t)drv_regp[rn].pci_size_hi << 32); in pcieb_ctlops()
718 kmem_free(drv_regp, reglen); in pcieb_ctlops()