diff options
author | Krishna chaitanya chundru <quic_krichai@quicinc.com> | 2024-06-19 20:41:12 +0530 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2024-07-09 16:56:36 -0500 |
commit | 100ae5d77f07f9f046106e228778c7aa1c6d3af3 (patch) | |
tree | 8f2f8f8ffcfd45b7149b08ef778eff576170e87b /drivers/pci/controller/dwc/pcie-qcom.c | |
parent | 980136d1c2b95644b96df6c7ec00ca5d7c87f37f (diff) |
PCI: Bring the PCIe speed to MBps logic to new pcie_dev_speed_mbps()
Bring the switch case in pcie_link_speed_mbps() to new function to
the header file so that it can be used in other places like
in controller driver.
Link: https://lore.kernel.org/linux-pci/20240619-opp_support-v15-3-aa769a2173a3@quicinc.com
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: Krzysztof WilczyĆski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-qcom.c')
0 files changed, 0 insertions, 0 deletions