Home
last modified time | relevance | path

Searched refs:cdns_pcie (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/pci/controller/cadence/
Dpcie-cadence.h229 struct cdns_pcie;
263 int (*start_link)(struct cdns_pcie *pcie);
264 void (*stop_link)(struct cdns_pcie *pcie);
265 bool (*link_up)(struct cdns_pcie *pcie);
266 u64 (*cpu_addr_fixup)(struct cdns_pcie *pcie, u64 cpu_addr);
278 struct cdns_pcie { struct
305 struct cdns_pcie pcie; argument
346 struct cdns_pcie pcie;
363 static inline void cdns_pcie_writel(struct cdns_pcie *pcie, u32 reg, u32 value) in cdns_pcie_writel()
368 static inline u32 cdns_pcie_readl(struct cdns_pcie *pcie, u32 reg) in cdns_pcie_readl()
[all …]
Dpci-j721e.c55 struct cdns_pcie *cdns_pcie; member
121 static int j721e_pcie_start_link(struct cdns_pcie *cdns_pcie) in j721e_pcie_start_link() argument
123 struct j721e_pcie *pcie = dev_get_drvdata(cdns_pcie->dev); in j721e_pcie_start_link()
133 static void j721e_pcie_stop_link(struct cdns_pcie *cdns_pcie) in j721e_pcie_stop_link() argument
135 struct j721e_pcie *pcie = dev_get_drvdata(cdns_pcie->dev); in j721e_pcie_stop_link()
143 static bool j721e_pcie_link_up(struct cdns_pcie *cdns_pcie) in j721e_pcie_link_up() argument
145 struct j721e_pcie *pcie = dev_get_drvdata(cdns_pcie->dev); in j721e_pcie_link_up()
346 struct cdns_pcie *cdns_pcie; in j721e_pcie_probe() local
435 cdns_pcie = &rc->pcie; in j721e_pcie_probe()
436 cdns_pcie->dev = dev; in j721e_pcie_probe()
[all …]
Dpcie-cadence.c10 void cdns_pcie_detect_quiet_min_delay_set(struct cdns_pcie *pcie) in cdns_pcie_detect_quiet_min_delay_set()
26 void cdns_pcie_set_outbound_region(struct cdns_pcie *pcie, u8 busnr, u8 fn, in cdns_pcie_set_outbound_region()
103 void cdns_pcie_set_outbound_region_for_normal_msg(struct cdns_pcie *pcie, in cdns_pcie_set_outbound_region_for_normal_msg()
137 void cdns_pcie_reset_outbound_region(struct cdns_pcie *pcie, u32 r) in cdns_pcie_reset_outbound_region()
149 void cdns_pcie_disable_phy(struct cdns_pcie *pcie) in cdns_pcie_disable_phy()
159 int cdns_pcie_enable_phy(struct cdns_pcie *pcie) in cdns_pcie_enable_phy()
187 int cdns_pcie_init_phy(struct device *dev, struct cdns_pcie *pcie) in cdns_pcie_init_phy()
249 struct cdns_pcie *pcie = dev_get_drvdata(dev); in cdns_pcie_suspend_noirq()
258 struct cdns_pcie *pcie = dev_get_drvdata(dev); in cdns_pcie_resume_noirq()
Dpcie-cadence-ep.c23 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_write_header()
55 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_set_bar()
125 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_clear_bar()
154 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_map_addr()
175 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_unmap_addr()
194 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_set_msi()
214 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_get_msi()
235 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_get_msix()
253 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_set_msix()
279 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_assert_intx()
[all …]
Dpcie-cadence-host.c31 struct cdns_pcie *pcie = &rc->pcie; in cdns_pci_map_bus()
80 static int cdns_pcie_host_wait_for_link(struct cdns_pcie *pcie) in cdns_pcie_host_wait_for_link()
97 static int cdns_pcie_retrain(struct cdns_pcie *pcie) in cdns_pcie_retrain()
128 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_start_link()
145 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_init_root_port()
188 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_bar_ib_config()
280 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_bar_config()
361 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_map_dma_ranges()
398 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_init_address_translation()
472 struct cdns_pcie *pcie; in cdns_pcie_host_setup()
Dpcie-cadence-plat.c25 struct cdns_pcie *pcie;
35 static u64 cdns_plat_cpu_addr_fixup(struct cdns_pcie *pcie, u64 cpu_addr) in cdns_plat_cpu_addr_fixup()
147 struct cdns_pcie *pcie = dev_get_drvdata(dev); in cdns_plat_pcie_shutdown()