Home
last modified time | relevance | path

Searched refs:plda (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/pci/controller/plda/
Dpcie-starfive.c54 struct plda_pcie_rp plda; member
173 struct device *dev = pcie->plda.dev; in starfive_pcie_clk_rst_init()
195 static bool starfive_pcie_link_up(struct plda_pcie_rp *plda) in starfive_pcie_link_up() argument
198 container_of(plda, struct starfive_jh7110_pcie, plda); in starfive_pcie_link_up()
206 dev_err(pcie->plda.dev, "failed to read link status\n"); in starfive_pcie_link_up()
219 if (starfive_pcie_link_up(&pcie->plda)) { in starfive_pcie_host_wait_for_link()
220 dev_info(pcie->plda.dev, "port link up\n"); in starfive_pcie_host_wait_for_link()
267 static void starfive_pcie_host_deinit(struct plda_pcie_rp *plda) in starfive_pcie_host_deinit() argument
270 container_of(plda, struct starfive_jh7110_pcie, plda); in starfive_pcie_host_deinit()
278 static int starfive_pcie_host_init(struct plda_pcie_rp *plda) in starfive_pcie_host_init() argument
[all …]
Dpcie-plda.h219 static inline void plda_pcie_enable_root_port(struct plda_pcie_rp *plda) in plda_pcie_enable_root_port() argument
223 value = readl_relaxed(plda->bridge_addr + GEN_SETTINGS); in plda_pcie_enable_root_port()
225 writel_relaxed(value, plda->bridge_addr + GEN_SETTINGS); in plda_pcie_enable_root_port()
228 static inline void plda_pcie_set_standard_class(struct plda_pcie_rp *plda) in plda_pcie_set_standard_class() argument
233 value = readl_relaxed(plda->bridge_addr + PCIE_PCI_IDS_DW1); in plda_pcie_set_standard_class()
236 writel_relaxed(value, plda->bridge_addr + PCIE_PCI_IDS_DW1); in plda_pcie_set_standard_class()
239 static inline void plda_pcie_set_pref_win_64bit(struct plda_pcie_rp *plda) in plda_pcie_set_pref_win_64bit() argument
243 value = readl_relaxed(plda->bridge_addr + PCIE_WINROM); in plda_pcie_set_pref_win_64bit()
245 writel_relaxed(value, plda->bridge_addr + PCIE_WINROM); in plda_pcie_set_pref_win_64bit()
248 static inline void plda_pcie_disable_ltr(struct plda_pcie_rp *plda) in plda_pcie_disable_ltr() argument
[all …]
Dpcie-microchip-host.c181 struct plda_pcie_rp plda; member
300 struct plda_msi *msi = &port->plda.msi; in mc_pcie_enable_msi()
380 struct mc_pcie *mc_port = container_of(port, struct mc_pcie, plda); in mc_get_events()
410 struct mc_pcie *mc_port = container_of(port, struct mc_pcie, plda); in mc_ack_event_irq()
426 struct mc_pcie *mc_port = container_of(port, struct mc_pcie, plda); in mc_mask_event_irq()
457 struct mc_pcie *mc_port = container_of(port, struct mc_pcie, plda); in mc_unmask_event_irq()
538 static int mc_request_event_irq(struct plda_pcie_rp *plda, int event_irq, in mc_request_event_irq() argument
541 return devm_request_irq(plda->dev, event_irq, mc_event_handler, in mc_request_event_irq()
542 0, event_cause[event].sym, plda); in mc_request_event_irq()
633 ret = plda_pcie_setup_iomems(bridge, &port->plda); in mc_platform_init()
[all …]
DMakefile2 obj-$(CONFIG_PCIE_PLDA_HOST) += pcie-plda-host.o
/linux-6.12.1/drivers/pci/controller/
DMakefile46 obj-y += plda/
DKconfig351 source "drivers/pci/controller/plda/Kconfig"
/linux-6.12.1/arch/arm64/boot/dts/arm/
Djuno-base.dtsi688 compatible = "arm,juno-r1-pcie", "plda,xpressrich3-axi", "pci-host-ecam-generic";
/linux-6.12.1/
DMAINTAINERS17726 F: Documentation/devicetree/bindings/pci/plda,xpressrich3-axi-common.yaml
17727 F: drivers/pci/controller/plda/pcie-plda-host.c
17728 F: drivers/pci/controller/plda/pcie-plda.h
17969 F: drivers/pci/controller/plda/*microchip*
18005 F: drivers/pci/controller/plda/pcie-starfive.c
19864 F: drivers/pci/controller/plda/pcie-microchip-host.c