Lines Matching full:speed
11 * and notify the operating system when the Link Width or Speed changes. The
17 * the cached Current Link Speed that is exposed to user space through sysfs.
40 * @set_speed_mutex: Serializes link speed changes
51 * Prevent port removal during LBMS count accessors and Link Speed changes.
61 static bool pcie_valid_speed(enum pci_bus_speed speed) in pcie_valid_speed() argument
63 return (speed >= PCIE_SPEED_2_5GT) && (speed <= PCIE_SPEED_64_0GT); in pcie_valid_speed()
66 static u16 pci_bus_speed2lnkctl2(enum pci_bus_speed speed) in pci_bus_speed2lnkctl2() argument
77 if (WARN_ON_ONCE(!pcie_valid_speed(speed))) in pci_bus_speed2lnkctl2()
80 return speed_conv[speed]; in pci_bus_speed2lnkctl2()
89 * pcie_bwctrl_select_speed - Select Target Link Speed
91 * @speed_req: Requested PCIe Link Speed
93 * Select Target Link Speed by take into account Supported Link Speeds of
96 * Return: Target Link Speed (1=2.5GT/s, 2=5GT/s, 3=8GT/s, etc.)
135 * Ensure link speed updates also with platforms that have problems in pcie_bwctrl_change_speed()
145 * pcie_set_target_speed - Set downstream Link Speed for PCIe Port
147 * @speed_req: Requested PCIe Link Speed
150 * Attempt to set PCIe Port Link Speed to @speed_req. @speed_req may be
151 * adjusted downwards to the best speed supported by both the Port and PCIe
156 * * -EINVAL - @speed_req is not a PCIe Link Speed
158 * * -ETIMEDOUT - changing Link Speed took too long
159 * * -EAGAIN - Link Speed was changed but @speed_req was not achieved
181 * e.g. from the Target Speed quirk. in pcie_set_target_speed()
193 * Despite setting higher speed into the Target Link Speed, empty in pcie_set_target_speed()
222 * link speed is up to date. in pcie_bwnotif_enable()
255 * Interrupts will not be triggered from any further Link Speed in pcie_bwnotif_irq()
257 * speed (inside pcie_update_link_speed()) after LBMS has been in pcie_bwnotif_irq()
258 * cleared to avoid missing link speed changes. in pcie_bwnotif_irq()