Lines Matching refs:pci_rp
87 static void pcirp2rp(const pci_regspec_t *pci_rp, struct regspec *rp);
991 pci_regspec_t *pci_rp; in cardbus_ctlops() local
996 DDI_PROP_DONTPASS, "reg", (int **)&pci_rp, in cardbus_ctlops()
1000 if (pci_rp->pci_phys_hi == 0) in cardbus_ctlops()
1010 bus = PCI_REG_BUS_G(pci_rp->pci_phys_hi); in cardbus_ctlops()
1011 device = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in cardbus_ctlops()
1012 function = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in cardbus_ctlops()
1059 ddi_prop_free(pci_rp); in cardbus_ctlops()
1302 pci_regspec_t *pci_rp; in cardbus_name_child() local
1337 "reg", (int **)&pci_rp, &n) != DDI_SUCCESS) { in cardbus_name_child()
1341 bus = PCI_REG_BUS_G(pci_rp->pci_phys_hi); in cardbus_name_child()
1342 device = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in cardbus_name_child()
1343 func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in cardbus_name_child()
1344 ddi_prop_free(pci_rp); in cardbus_name_child()
1888 pcirp2rp(const pci_regspec_t *pci_rp, struct regspec *rp) in pcirp2rp() argument
1891 if (PCI_REG_ADDR_G(pci_rp->pci_phys_hi) == in pcirp2rp()
1899 rp->regspec_addr = pci_rp->pci_phys_low; in pcirp2rp()
1900 rp->regspec_size = pci_rp->pci_size_low; in pcirp2rp()