Lines Matching defs:bdf

540 		PCIE_DBG("No I/O range found for %s, bdf 0x%x\n",
546 PCIE_DBG("No Mem range found for %s, bdf 0x%x\n",
892 * partially init pcie_bus_t for device (dip,bdf) for accessing pci
959 pcie_init_bus(dev_info_t *dip, pcie_req_id_t bdf, uint8_t flags)
975 bus_p->bus_bdf = bdf;
981 bus_p->bus_dev_ven_id = pci_cfgacc_get32(rcdip, bdf, PCI_CONF_VENID);
982 bus_p->bus_rev_id = pci_cfgacc_get8(rcdip, bdf, PCI_CONF_REVID);
984 bus_p->bus_hdr_type = pci_cfgacc_get8(rcdip, bdf, PCI_CONF_HEADER);
993 status = pci_cfgacc_get16(rcdip, bdf, PCI_CONF_STAT);
1019 for (base = pci_cfgacc_get8(rcdip, bdf, base); base && num_cap;
1020 base = pci_cfgacc_get8(rcdip, bdf, base + PCI_CAP_NEXT_PTR)) {
1021 capid = pci_cfgacc_get8(rcdip, bdf, base);
1025 bus_p->bus_dev_type = pci_cfgacc_get16(rcdip, bdf,
1030 (pci_cfgacc_get16(rcdip, bdf, base + PCIE_PCIECAP)
1032 (pci_cfgacc_get32(rcdip, bdf, base + PCIE_SLOTCAP)
1042 pci_cfgacc_get16(rcdip, bdf, base +
1046 pci_cfgacc_get16(rcdip, bdf, base +
1058 for (base = pci_cfgacc_get8(rcdip, bdf, base);
1059 base; base = pci_cfgacc_get8(rcdip, bdf,
1061 capid = pci_cfgacc_get8(rcdip, bdf, base);
1078 capid = pci_cfgacc_get32(rcdip, bdf, base);
1089 /* save RP dip and RP bdf */
1099 * If RP dip and RP bdf in parent's bus_t have
1182 PCIE_DBG("Add %s(dip 0x%p, bdf 0x%x, secbus 0x%x)\n",
1304 pcie_req_id_t bdf;
1311 if (pcie_get_bdf_from_dip(dip, &bdf) != DDI_SUCCESS)
1314 (void) pcie_init_bus(dip, bdf, bus_arg->flags);
1598 * Extract bdf from "reg" property.
1601 pcie_get_bdf_from_dip(dev_info_t *dip, pcie_req_id_t *bdf)
1615 /* Get phys_hi from first element. All have same bdf. */
1616 *bdf = (regspec->pci_phys_hi & (PCI_REG_BDFR_M ^ PCI_REG_REG_M)) >> 8;
1642 * case, return a invalid value for the bdf since we cannot get to the
1643 * bdf value of the actual device which will be initiating this DMA.
1651 * For a given rdip, return the bdf value of dip's (px or pcieb)
1654 * XXX - For now, return a invalid bdf value for all PCI and PCI-X