Lines Matching refs:fab
3403 pcie_fabric_data_t *fab = arg; in pcie_fabric_feature_scan() local
3433 fab->pfd_flags |= PCIE_FABRIC_F_COMPLEX; in pcie_fabric_feature_scan()
3447 fab->pfd_flags |= PCIE_FABRIC_F_COMPLEX; in pcie_fabric_feature_scan()
3465 if (mps < fab->pfd_mps_found) { in pcie_fabric_feature_scan()
3466 fab->pfd_mps_found = mps; in pcie_fabric_feature_scan()
3470 fab->pfd_tag_found &= ~PCIE_TAG_8B; in pcie_fabric_feature_scan()
3477 fab->pfd_tag_found &= ~PCIE_TAG_10B_COMP; in pcie_fabric_feature_scan()
3480 fab->pfd_tag_found &= ~PCIE_TAG_10B_COMP; in pcie_fabric_feature_scan()
3487 fab->pfd_tag_found &= ~PCIE_TAG_14B_COMP; in pcie_fabric_feature_scan()
3490 fab->pfd_tag_found &= ~PCIE_TAG_14B_COMP; in pcie_fabric_feature_scan()
3517 fab->pfd_flags |= PCIE_FABRIC_F_COMPLEX; in pcie_fabric_feature_scan()
3521 fab->pfd_flags |= PCIE_FABRIC_F_RP_HP; in pcie_fabric_feature_scan()
3542 pcie_fabric_data_t *fab = arg; in pcie_fabric_feature_set() local
3567 (fab->pfd_tag_act & PCIE_TAG_8B) != 0) { in pcie_fabric_feature_set()
3572 ASSERT0(fab->pfd_mps_act & ~PCIE_DEVCAP_MAX_PAYLOAD_MASK); in pcie_fabric_feature_set()
3573 devctl |= fab->pfd_mps_act << PCIE_DEVCTL_MAX_PAYLOAD_SHIFT; in pcie_fabric_feature_set()
3579 (fab->pfd_tag_act & PCIE_TAG_10B_COMP) != 0) { in pcie_fabric_feature_set()
3593 (fab->pfd_tag_act & PCIE_TAG_14B_COMP) != 0) { in pcie_fabric_feature_set()
3636 pcie_fabric_data_t *fab; in pcie_fabric_setup() local
3645 fab = bus_p->bus_fab; in pcie_fabric_setup()
3662 fab->pfd_flags |= PCIE_FABRIC_F_SCANNING; in pcie_fabric_setup()
3668 fab->pfd_mps_found = PCIE_DEVCAP_MAX_PAYLOAD_4096; in pcie_fabric_setup()
3669 fab->pfd_tag_found = PCIE_TAG_ALL; in pcie_fabric_setup()
3670 fab->pfd_flags &= ~PCIE_FABRIC_F_COMPLEX; in pcie_fabric_setup()
3672 ddi_walk_devs(dip, pcie_fabric_feature_scan, fab); in pcie_fabric_setup()
3674 if ((fab->pfd_flags & PCIE_FABRIC_F_COMPLEX) != 0) { in pcie_fabric_setup()
3675 fab->pfd_tag_act = PCIE_TAG_5B; in pcie_fabric_setup()
3676 fab->pfd_mps_act = PCIE_DEVCAP_MAX_PAYLOAD_128; in pcie_fabric_setup()
3678 fab->pfd_tag_act = fab->pfd_tag_found; in pcie_fabric_setup()
3679 fab->pfd_mps_act = fab->pfd_mps_found; in pcie_fabric_setup()
3682 ddi_walk_devs(dip, pcie_fabric_feature_set, fab); in pcie_fabric_setup()
3684 fab->pfd_flags &= ~PCIE_FABRIC_F_SCANNING; in pcie_fabric_setup()