Lines Matching refs:bdf
437 pf_in_bus_range(pcie_bus_t *bus_p, pcie_req_id_t bdf) in pf_in_bus_range() argument
440 uint8_t bus_no = (bdf & PCIE_REQ_ID_BUS_MASK) >> in pf_in_bus_range()
2278 pcie_req_id_t *bdf) in pf_pci_find_trans_type() argument
2290 *bdf = PCIE_INVALID_BDF; in pf_pci_find_trans_type()
2299 *bdf = PCIE_INVALID_BDF; in pf_pci_find_trans_type()
2304 *bdf = PCIE_INVALID_BDF; in pf_pci_find_trans_type()
2335 pcie_req_id_t bdf = PCIE_INVALID_BDF; in pf_pci_decode() local
2346 bdf = attr->rid; in pf_pci_decode()
2357 bdf = attr->rid; in pf_pci_decode()
2359 pf_pci_find_trans_type(pfd_p, &addr, &trans_type, &bdf); in pf_pci_decode()
2368 bdf = attr->rid; in pf_pci_decode()
2377 bdf = attr->rid; in pf_pci_decode()
2398 PCIE_ADV_BDG_REG(pfd_p)->pcie_sue_tgt_bdf = bdf; in pf_pci_decode()
2409 pcie_req_id_t bdf) in pf_hdl_lookup() argument
2414 if ((addr == 0) && !PCIE_CHECK_VALID_BDF(bdf)) in pf_hdl_lookup()
2431 return (pf_hdl_child_lookup(dip, &derr, flag, addr, bdf)); in pf_hdl_lookup()
2436 uint64_t addr, pcie_req_id_t bdf) in pf_hdl_child_lookup() argument
2463 if (!PCIE_IS_RC(bus_p) && (!PCIE_CHECK_VALID_BDF(bdf) || in pf_hdl_child_lookup()
2464 dip_bdf == bdf)) { in pf_hdl_child_lookup()
2472 bdf, fcp); in pf_hdl_child_lookup()
2483 bdf, fcp); in pf_hdl_child_lookup()
2487 if (!PCIE_IS_RC(bus_p) && ((dip_bdf == bdf) || in pf_hdl_child_lookup()
2502 ((bus_p->bus_bdg_secbus << PCIE_REQ_ID_BUS_SHIFT) == bdf)) in pf_hdl_child_lookup()
2512 if (pf_in_bus_range(bus_p, bdf) || in pf_hdl_child_lookup()
2515 bdf); in pf_hdl_child_lookup()
2530 uint64_t addr, pcie_req_id_t bdf, ndi_fmc_t *fcp) in pf_hdl_compare() argument
2560 (void *)&addr, (void *)&bdf); in pf_hdl_compare()
2589 if ((addr != 0) && PCIE_CHECK_VALID_BDF(bdf) && (found == 0)) { in pf_hdl_compare()
2590 status = pf_hdl_compare(dip, derr, flag, addr, bdf, fcp); in pf_hdl_compare()
3278 pf_find_busp_by_bdf(pf_impl_t *impl, pcie_req_id_t bdf) in pf_find_busp_by_bdf() argument
3288 if (bdf == temp_bus_p->bus_bdf) { in pf_find_busp_by_bdf()
3320 pcie_req_id_t bdf; in pf_find_busp_by_aer() local
3329 bdf = (cpl_tlp->rid > cpl_tlp->cid) ? cpl_tlp->rid : in pf_find_busp_by_aer()
3331 temp_bus_p = pf_find_busp_by_bdf(impl, bdf); in pf_find_busp_by_aer()
3337 bdf = reg_p->pcie_ue_tgt_bdf; in pf_find_busp_by_aer()
3338 temp_bus_p = pf_find_busp_by_bdf(impl, bdf); in pf_find_busp_by_aer()
3349 pcie_req_id_t bdf; in pf_find_busp_by_saer() local
3353 bdf = reg_p->pcie_sue_tgt_bdf; in pf_find_busp_by_saer()
3357 } else if (PCIE_CHECK_VALID_BDF(bdf)) { in pf_find_busp_by_saer()
3358 temp_bus_p = pf_find_busp_by_bdf(impl, bdf); in pf_find_busp_by_saer()