• Home
  • Raw
  • Download

Lines Matching full:mps

1802 	int mps, mpss, p_mps, rc;  in pci_configure_mps()  local
1807 /* MPS and MRRS fields are of type 'RsvdP' for VFs, short-circuit out */ in pci_configure_mps()
1817 mps = 128; in pci_configure_mps()
1819 mps = 128 << dev->pcie_mpss; in pci_configure_mps()
1820 rc = pcie_set_mps(dev, mps); in pci_configure_mps()
1823 mps); in pci_configure_mps()
1831 mps = pcie_get_mps(dev); in pci_configure_mps()
1834 if (mps == p_mps) in pci_configure_mps()
1839 mps, pci_name(bridge), p_mps); in pci_configure_mps()
1844 * Fancier MPS configuration is done later by in pci_configure_mps()
1866 p_mps, mps, mpss); in pci_configure_mps()
1959 * Don't allow _HPX to change MPS or MRRS settings. We manage in program_hpp_type2()
2647 * We don't have a way to change MPS settings on devices that have in pcie_find_smpss()
2649 * MPS setting (MPS=128). Therefore, if the fabric contains a bridge in pcie_find_smpss()
2650 * where devices may be hot-added, we limit the fabric MPS to 128 so in pcie_find_smpss()
2655 * the port. We don't limit the MPS in this case because we can in pcie_find_smpss()
2656 * reconfigure MPS on both the Root Port and the hot-added device, in pcie_find_smpss()
2671 static void pcie_write_mps(struct pci_dev *dev, int mps) in pcie_write_mps() argument
2676 mps = 128 << dev->pcie_mpss; in pcie_write_mps()
2684 * the MRRS. So, the MPS only needs to be configured in pcie_write_mps()
2686 * walk from the top down and set the MPS of the child in pcie_write_mps()
2689 * Configure the device MPS with the smaller of the in pcie_write_mps()
2690 * device MPSS or the bridge MPS (which is assumed to be in pcie_write_mps()
2692 * allowable MPS based on its parent bus). in pcie_write_mps()
2694 mps = min(mps, pcie_get_mps(dev->bus->self)); in pcie_write_mps()
2697 rc = pcie_set_mps(dev, mps); in pcie_write_mps()
2699 pci_err(dev, "Failed attempting to set the MPS\n"); in pcie_write_mps()
2715 * value. However, it cannot be configured larger than the MPS the in pcie_write_mrrs()
2742 int mps, orig_mps; in pcie_bus_configure_set() local
2751 mps = 128 << *(u8 *)data; in pcie_bus_configure_set()
2754 pcie_write_mps(dev, mps); in pcie_bus_configure_set()
2781 * to be aware of the MPS of the destination. To work around this, in pcie_bus_configure_settings()
2782 * simply force the MPS of the entire system to the smallest possible. in pcie_bus_configure_settings()