kernel_samsung_a53x/drivers/pci/controller/dwc
Ilpo Järvinen d3ba986831 PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields
[ Upstream commit 759574abd78e3b47ec45bbd31a64e8832cf73f97 ]

Use FIELD_GET() to extract PCIe Negotiated Link Width field instead of
custom masking and shifting.

Similarly, change custom code that misleadingly used
PCI_EXP_LNKSTA_NLW_SHIFT to prepare value for PCI_EXP_LNKCAP write
to use FIELD_PREP() with correct field define (PCI_EXP_LNKCAP_MLW).

Link: https://lore.kernel.org/r/20230919125648.1920-5-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:43:14 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-dra7xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-exynos.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-imx6.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-keystone.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-layerscape-ep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-layerscape.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-meson.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-al.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-armada8k.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-artpec6.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-designware-ep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-designware-host.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-designware-plat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-designware.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-designware.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-exynos-common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-exynos-dbg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-exynos-dbg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-exynos-rc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-exynos-rc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-exynosS5E9925-rc-cal.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-exynosS5E9925-rc-cal_s5300.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-hisi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-histb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-intel-gw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-kirin.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-qcom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-spear13xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-tegra194.c PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields 2024-11-18 11:43:14 +01:00
pcie-uniphier-ep.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-uniphier.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00