1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/pci/controller/dwc
Yoshihiro Shimoda 70fa02ca14
PCI: dwc: Add dw_pcie_ep_{read,write}_dbi[2] helpers
The current code calculated some dbi[2] registers' offset by calling
dw_pcie_ep_get_dbi[2]_offset() in each function. To improve the code
readability, add dw_pcie_ep_{read,write}_dbi[2} and some data-width
related helpers.

Link: https://lore.kernel.org/linux-pci/20231220053829.1921187-5-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
2024-01-06 07:51:09 +00:00
..
Kconfig PCI: dwc: Convert SOC_SIFIVE to ARCH_SIFIVE 2023-12-16 00:22:37 +00:00
Makefile PCI: rcar-gen4: Add R-Car Gen4 PCIe controller support for host mode 2023-10-23 12:40:10 +00:00
pci-dra7xx.c PCI: dwc: Rename .ep_init to .init in struct dw_pcie_ep_ops 2024-01-06 07:51:08 +00:00
pci-exynos.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pci-imx6.c PCI: dwc: Rename .ep_init to .init in struct dw_pcie_ep_ops 2024-01-06 07:51:08 +00:00
pci-keystone.c PCI: dwc: Rename .ep_init to .init in struct dw_pcie_ep_ops 2024-01-06 07:51:08 +00:00
pci-layerscape-ep.c PCI: dwc: Rename .func_conf_select to .get_dbi_offset in struct dw_pcie_ep_ops 2024-01-06 07:51:08 +00:00
pci-layerscape.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pci-meson.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-al.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-armada8k.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-artpec6.c PCI: dwc: Rename .ep_init to .init in struct dw_pcie_ep_ops 2024-01-06 07:51:08 +00:00
pcie-bt1.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-designware-ep.c PCI: dwc: Add dw_pcie_ep_{read,write}_dbi[2] helpers 2024-01-06 07:51:09 +00:00
pcie-designware-host.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-designware-plat.c PCI: dwc: Rename .ep_init to .init in struct dw_pcie_ep_ops 2024-01-06 07:51:08 +00:00
pcie-designware.c PCI: dwc: Expose dw_pcie_write_dbi2() to module 2023-10-23 12:39:17 +00:00
pcie-designware.h PCI: dwc: Add dw_pcie_ep_{read,write}_dbi[2] helpers 2024-01-06 07:51:09 +00:00
pcie-dw-rockchip.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-fu740.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-hisi.c PCI: hisi: Avoid invalid address space conversions 2022-01-03 15:05:28 -06:00
pcie-histb.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-intel-gw.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-keembay.c PCI: dwc: Rename .ep_init to .init in struct dw_pcie_ep_ops 2024-01-06 07:51:08 +00:00
pcie-kirin.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-qcom-ep.c PCI: dwc: Rename .ep_init to .init in struct dw_pcie_ep_ops 2024-01-06 07:51:08 +00:00
pcie-qcom.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-rcar-gen4.c PCI: dwc: Rename .func_conf_select to .get_dbi_offset in struct dw_pcie_ep_ops 2024-01-06 07:51:08 +00:00
pcie-spear13xx.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-tegra194-acpi.c PCI: dwc: Simplify in/outbound iATU setup methods 2022-08-01 15:15:09 -05:00
pcie-tegra194.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-uniphier-ep.c PCI: dwc: Rename .ep_init to .init in struct dw_pcie_ep_ops 2024-01-06 07:51:08 +00:00
pcie-uniphier.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00
pcie-visconti.c PCI: dwc: Drop host prefix from struct dw_pcie_host_ops members 2024-01-06 07:51:08 +00:00