Home
last modified time | relevance | path

Searched defs:pcie (Results 1 – 25 of 74) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/pci/controller/
Dpcie-altera.c45 #define S10_RP_CFG_ADDR(pcie, reg) \ argument
47 #define S10_RP_SECONDARY(pcie) \ argument
60 #define TLP_CFG_DW0(pcie, cfg) \ argument
63 #define TLP_CFG_DW1(pcie, tag, be) \ argument
125 static inline void cra_writel(struct altera_pcie *pcie, const u32 value, in cra_writel()
131 static inline u32 cra_readl(struct altera_pcie *pcie, const u32 reg) in cra_readl()
136 static bool altera_pcie_link_up(struct altera_pcie *pcie) in altera_pcie_link_up()
141 static bool s10_altera_pcie_link_up(struct altera_pcie *pcie) in s10_altera_pcie_link_up()
169 static void tlp_write_tx(struct altera_pcie *pcie, in tlp_write_tx()
177 static void s10_tlp_write_tx(struct altera_pcie *pcie, u32 reg0, u32 ctrl) in s10_tlp_write_tx()
[all …]
Dpcie-iproc.c410 struct iproc_pcie *pcie = bus->sysdata; in iproc_data() local
419 static inline u16 iproc_pcie_reg_offset(struct iproc_pcie *pcie, in iproc_pcie_reg_offset()
425 static inline u32 iproc_pcie_read_reg(struct iproc_pcie *pcie, in iproc_pcie_read_reg()
436 static inline void iproc_pcie_write_reg(struct iproc_pcie *pcie, in iproc_pcie_write_reg()
456 struct iproc_pcie *pcie = iproc_data(bus); in iproc_pcie_apb_err_disable() local
469 static void __iomem *iproc_pcie_map_ep_cfg_reg(struct iproc_pcie *pcie, in iproc_pcie_map_ep_cfg_reg()
494 static unsigned int iproc_pcie_cfg_retry(struct iproc_pcie *pcie, in iproc_pcie_cfg_retry()
539 static void iproc_pcie_fix_cap(struct iproc_pcie *pcie, int where, u32 *val) in iproc_pcie_fix_cap()
585 struct iproc_pcie *pcie = iproc_data(bus); in iproc_pcie_config_read() local
639 static void __iomem *iproc_pcie_map_cfg_bus(struct iproc_pcie *pcie, in iproc_pcie_map_cfg_bus()
[all …]
Dpcie-rcar.c14 void rcar_pci_write_reg(struct rcar_pcie *pcie, u32 val, unsigned int reg) in rcar_pci_write_reg()
19 u32 rcar_pci_read_reg(struct rcar_pcie *pcie, unsigned int reg) in rcar_pci_read_reg()
24 void rcar_rmw32(struct rcar_pcie *pcie, int where, u32 mask, u32 data) in rcar_rmw32()
34 int rcar_pcie_wait_for_phyrdy(struct rcar_pcie *pcie) in rcar_pcie_wait_for_phyrdy()
48 int rcar_pcie_wait_for_dl(struct rcar_pcie *pcie) in rcar_pcie_wait_for_dl()
63 void rcar_pcie_set_outbound(struct rcar_pcie *pcie, int win, in rcar_pcie_set_outbound()
102 void rcar_pcie_set_inbound(struct rcar_pcie *pcie, u64 cpu_addr, in rcar_pcie_set_inbound()
Dpcie-rcar-host.c52 struct rcar_pcie pcie; member
61 static u32 rcar_read_conf(struct rcar_pcie *pcie, int where) in rcar_read_conf()
74 struct rcar_pcie *pcie = &host->pcie; in rcar_pcie_config_access() local
205 static void rcar_pcie_force_speedup(struct rcar_pcie *pcie) in rcar_pcie_force_speedup()
261 struct rcar_pcie *pcie = &host->pcie; in rcar_pcie_hw_enable() local
303 static int phy_wait_for_ack(struct rcar_pcie *pcie) in phy_wait_for_ack()
320 static void phy_write_reg(struct rcar_pcie *pcie, in phy_write_reg()
346 static int rcar_pcie_hw_init(struct rcar_pcie *pcie) in rcar_pcie_hw_init()
418 struct rcar_pcie *pcie = &host->pcie; in rcar_pcie_phy_init_h1() local
443 struct rcar_pcie *pcie = &host->pcie; in rcar_pcie_phy_init_gen2() local
[all …]
Dpci-aardvark.c298 static inline void advk_writel(struct advk_pcie *pcie, u32 val, u64 reg) in advk_writel()
303 static inline u32 advk_readl(struct advk_pcie *pcie, u64 reg) in advk_readl()
308 static u8 advk_pcie_ltssm_state(struct advk_pcie *pcie) in advk_pcie_ltssm_state()
318 static inline bool advk_pcie_link_up(struct advk_pcie *pcie) in advk_pcie_link_up()
325 static inline bool advk_pcie_link_active(struct advk_pcie *pcie) in advk_pcie_link_active()
339 static inline bool advk_pcie_link_training(struct advk_pcie *pcie) in advk_pcie_link_training()
353 static int advk_pcie_wait_for_link(struct advk_pcie *pcie) in advk_pcie_wait_for_link()
368 static void advk_pcie_wait_for_retrain(struct advk_pcie *pcie) in advk_pcie_wait_for_retrain()
379 static void advk_pcie_issue_perst(struct advk_pcie *pcie) in advk_pcie_issue_perst()
391 static void advk_pcie_train_link(struct advk_pcie *pcie) in advk_pcie_train_link()
[all …]
Dpcie-xilinx-nwl.c176 static inline u32 nwl_bridge_readl(struct nwl_pcie *pcie, u32 off) in nwl_bridge_readl()
181 static inline void nwl_bridge_writel(struct nwl_pcie *pcie, u32 val, u32 off) in nwl_bridge_writel()
186 static bool nwl_pcie_link_up(struct nwl_pcie *pcie) in nwl_pcie_link_up()
193 static bool nwl_phy_link_up(struct nwl_pcie *pcie) in nwl_phy_link_up()
200 static int nwl_wait_for_link(struct nwl_pcie *pcie) in nwl_wait_for_link()
218 struct nwl_pcie *pcie = bus->sysdata; in nwl_pcie_valid_device() local
244 struct nwl_pcie *pcie = bus->sysdata; in nwl_pcie_map_bus() local
265 struct nwl_pcie *pcie = data; in nwl_pcie_misc_handler() local
323 struct nwl_pcie *pcie; in nwl_pcie_leg_handler() local
343 static void nwl_pcie_handle_msi_irq(struct nwl_pcie *pcie, u32 status_reg) in nwl_pcie_handle_msi_irq()
[all …]
Dpcie-rcar-ep.c26 struct rcar_pcie pcie; member
36 static void rcar_pcie_ep_hw_init(struct rcar_pcie *pcie) in rcar_pcie_ep_hw_init()
96 struct rcar_pcie *pcie = &ep->pcie; in rcar_pcie_parse_outbound_ranges() local
134 struct rcar_pcie *pcie = &ep->pcie; in rcar_pcie_ep_get_pdata() local
166 struct rcar_pcie *pcie = &ep->pcie; in rcar_pcie_ep_write_header() local
206 struct rcar_pcie *pcie = &ep->pcie; in rcar_pcie_ep_set_bar() local
265 struct rcar_pcie *pcie = &ep->pcie; in rcar_pcie_ep_set_msi() local
278 struct rcar_pcie *pcie = &ep->pcie; in rcar_pcie_ep_get_msi() local
292 struct rcar_pcie *pcie = &ep->pcie; in rcar_pcie_ep_map_addr() local
351 struct rcar_pcie *pcie = &ep->pcie; in rcar_pcie_ep_assert_intx() local
[all …]
Dpcie-tango.c28 struct tango_pcie *pcie = irq_desc_get_handler_data(desc); in tango_msi_isr() local
50 struct tango_pcie *pcie = d->chip_data; in tango_ack() local
60 struct tango_pcie *pcie = d->chip_data; in update_msi_enable() local
90 struct tango_pcie *pcie = d->chip_data; in tango_compose_msi_msg() local
138 struct tango_pcie *pcie = dom->host_data; in tango_irq_domain_alloc() local
161 struct tango_pcie *pcie = d->chip_data; in tango_irq_domain_free() local
177 struct tango_pcie *pcie = dev_get_drvdata(cfg->parent); in smp8759_config_read() local
200 struct tango_pcie *pcie = dev_get_drvdata(cfg->parent); in smp8759_config_write() local
219 static int tango_pcie_link_up(struct tango_pcie *pcie) in tango_pcie_link_up()
238 struct tango_pcie *pcie; in tango_pcie_probe() local
Dpci-tegra.c376 struct tegra_pcie *pcie; member
394 static inline void afi_writel(struct tegra_pcie *pcie, u32 value, in afi_writel()
400 static inline u32 afi_readl(struct tegra_pcie *pcie, unsigned long offset) in afi_readl()
405 static inline void pads_writel(struct tegra_pcie *pcie, u32 value, in pads_writel()
411 static inline u32 pads_readl(struct tegra_pcie *pcie, unsigned long offset) in pads_readl()
448 struct tegra_pcie *pcie = bus->sysdata; in tegra_pcie_map_bus() local
735 struct tegra_pcie *pcie = port->pcie; in tegra_pcie_port_free() local
767 struct tegra_pcie *pcie = pdev->bus->sysdata; in tegra_pcie_map_irq() local
798 struct tegra_pcie *pcie = arg; in tegra_pcie_isr() local
843 static void tegra_pcie_setup_translations(struct tegra_pcie *pcie) in tegra_pcie_setup_translations()
[all …]
Dpcie-brcmstb.c175 #define IDX_ADDR(pcie) (pcie->reg_offsets[EXT_CFG_INDEX]) argument
176 #define DATA_ADDR(pcie) (pcie->reg_offsets[EXT_CFG_DATA]) argument
177 #define PCIE_RGR1_SW_INIT_1(pcie) (pcie->reg_offsets[RGR1_SW_INIT_1]) argument
366 static int brcm_pcie_set_ssc(struct brcm_pcie *pcie) in brcm_pcie_set_ssc()
402 static void brcm_pcie_set_gen(struct brcm_pcie *pcie, int gen) in brcm_pcie_set_gen()
414 static void brcm_pcie_set_outbound_win(struct brcm_pcie *pcie, in brcm_pcie_set_outbound_win()
603 static void brcm_msi_remove(struct brcm_pcie *pcie) in brcm_msi_remove()
634 static int brcm_pcie_enable_msi(struct brcm_pcie *pcie) in brcm_pcie_enable_msi()
681 static bool brcm_pcie_rc_mode(struct brcm_pcie *pcie) in brcm_pcie_rc_mode()
689 static bool brcm_pcie_link_up(struct brcm_pcie *pcie) in brcm_pcie_link_up()
[all …]
Dpcie-iproc-platform.c43 struct iproc_pcie *pcie; in iproc_pcie_pltfm_probe() local
120 struct iproc_pcie *pcie = platform_get_drvdata(pdev); in iproc_pcie_pltfm_remove() local
127 struct iproc_pcie *pcie = platform_get_drvdata(pdev); in iproc_pcie_pltfm_shutdown() local
Dpcie-mediatek.c186 struct mtk_pcie *pcie; member
222 static void mtk_pcie_subsys_powerdown(struct mtk_pcie *pcie) in mtk_pcie_subsys_powerdown()
234 struct mtk_pcie *pcie = port->pcie; in mtk_pcie_port_free() local
242 static void mtk_pcie_put_resources(struct mtk_pcie *pcie) in mtk_pcie_put_resources()
336 struct mtk_pcie *pcie = bus->sysdata; in mtk_pcie_find_port() local
533 static void mtk_pcie_irq_teardown(struct mtk_pcie *pcie) in mtk_pcie_irq_teardown()
640 struct mtk_pcie *pcie = port->pcie; in mtk_pcie_setup_irq() local
663 struct mtk_pcie *pcie = port->pcie; in mtk_pcie_startup_port_v2() local
746 struct mtk_pcie *pcie = bus->sysdata; in mtk_pcie_map_bus() local
762 struct mtk_pcie *pcie = port->pcie; in mtk_pcie_startup_port() local
[all …]
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
Dpcie-tegra194.c319 static inline void appl_writel(struct tegra_pcie_dw *pcie, const u32 value, in appl_writel()
325 static inline u32 appl_readl(struct tegra_pcie_dw *pcie, const u32 reg) in appl_readl()
337 struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); in apply_bad_link_workaround() local
370 struct tegra_pcie_dw *pcie = arg; in tegra_pcie_rp_irq_handler() local
441 static void pex_ep_event_hot_rst_done(struct tegra_pcie_dw *pcie) in pex_ep_event_hot_rst_done()
469 struct tegra_pcie_dw *pcie = arg; in tegra_pcie_ep_irq_thread() local
515 struct tegra_pcie_dw *pcie = arg; in tegra_pcie_ep_hard_irq() local
597 static void disable_aspm_l11(struct tegra_pcie_dw *pcie) in disable_aspm_l11()
606 static void disable_aspm_l12(struct tegra_pcie_dw *pcie) in disable_aspm_l12()
615 static inline u32 event_counter_prog(struct tegra_pcie_dw *pcie, u32 event) in event_counter_prog()
[all …]
Dpci-layerscape.c56 static bool ls_pcie_is_bridge(struct ls_pcie *pcie) in ls_pcie_is_bridge()
68 static void ls_pcie_clear_multifunction(struct ls_pcie *pcie) in ls_pcie_clear_multifunction()
76 static void ls_pcie_drop_msg_tlp(struct ls_pcie *pcie) in ls_pcie_drop_msg_tlp()
86 static void ls_pcie_disable_outbound_atus(struct ls_pcie *pcie) in ls_pcie_disable_outbound_atus()
97 struct ls_pcie *pcie = to_ls_pcie(pci); in ls1021_pcie_link_up() local
113 struct ls_pcie *pcie = to_ls_pcie(pci); in ls_pcie_link_up() local
127 static void ls_pcie_fix_error_response(struct ls_pcie *pcie) in ls_pcie_fix_error_response()
137 struct ls_pcie *pcie = to_ls_pcie(pci); in ls_pcie_host_init() local
161 struct ls_pcie *pcie = to_ls_pcie(pci); in ls1021_pcie_host_init() local
276 static int __init ls_add_pcie_port(struct ls_pcie *pcie) in ls_add_pcie_port()
[all …]
Dpcie-qcom.c196 static void qcom_ep_reset_assert(struct qcom_pcie *pcie) in qcom_ep_reset_assert()
202 static void qcom_ep_reset_deassert(struct qcom_pcie *pcie) in qcom_ep_reset_deassert()
210 static int qcom_pcie_establish_link(struct qcom_pcie *pcie) in qcom_pcie_establish_link()
224 static void qcom_pcie_2_1_0_ltssm_enable(struct qcom_pcie *pcie) in qcom_pcie_2_1_0_ltssm_enable()
234 static int qcom_pcie_get_resources_2_1_0(struct qcom_pcie *pcie) in qcom_pcie_get_resources_2_1_0()
289 static void qcom_pcie_deinit_2_1_0(struct qcom_pcie *pcie) in qcom_pcie_deinit_2_1_0()
306 static int qcom_pcie_init_2_1_0(struct qcom_pcie *pcie) in qcom_pcie_init_2_1_0()
433 static int qcom_pcie_get_resources_1_0_0(struct qcom_pcie *pcie) in qcom_pcie_get_resources_1_0_0()
463 static void qcom_pcie_deinit_1_0_0(struct qcom_pcie *pcie) in qcom_pcie_deinit_1_0_0()
475 static int qcom_pcie_init_1_0_0(struct qcom_pcie *pcie) in qcom_pcie_init_1_0_0()
[all …]
Dpcie-armada8k.c74 static void armada8k_pcie_disable_phys(struct armada8k_pcie *pcie) in armada8k_pcie_disable_phys()
84 static int armada8k_pcie_enable_phys(struct armada8k_pcie *pcie) in armada8k_pcie_enable_phys()
111 static int armada8k_pcie_setup_phys(struct armada8k_pcie *pcie) in armada8k_pcie_setup_phys()
157 static void armada8k_pcie_establish_link(struct armada8k_pcie *pcie) in armada8k_pcie_establish_link()
211 struct armada8k_pcie *pcie = to_armada8k_pcie(pci); in armada8k_pcie_host_init() local
221 struct armada8k_pcie *pcie = arg; in armada8k_pcie_irq_handler() local
240 static int armada8k_add_pcie_port(struct armada8k_pcie *pcie, in armada8k_add_pcie_port()
277 struct armada8k_pcie *pcie; in armada8k_pcie_probe() local
Dpcie-al.c26 struct al_pcie_acpi *pcie = cfg->priv; in al_pcie_map_bus() local
145 static inline u32 al_pcie_controller_readl(struct al_pcie *pcie, u32 offset) in al_pcie_controller_readl()
150 static inline void al_pcie_controller_writel(struct al_pcie *pcie, u32 offset, in al_pcie_controller_writel()
156 static int al_pcie_rev_id_get(struct al_pcie *pcie, unsigned int *rev_id) in al_pcie_rev_id_get()
187 static int al_pcie_reg_offsets_set(struct al_pcie *pcie) in al_pcie_reg_offsets_set()
206 static inline void al_pcie_target_bus_set(struct al_pcie *pcie, in al_pcie_target_bus_set()
224 struct al_pcie *pcie = to_al_pcie(to_dw_pcie_from_pp(pp)); in al_pcie_conf_addr_map_bus() local
253 static void al_pcie_config_prepare(struct al_pcie *pcie) in al_pcie_config_prepare()
303 struct al_pcie *pcie = to_al_pcie(pci); in al_pcie_host_init() local
/kernel/linux/linux-5.10/drivers/pci/controller/mobiveil/
Dpcie-mobiveil-host.c53 struct mobiveil_pcie *pcie = bus->sysdata; in mobiveil_pcie_map_bus() local
88 struct mobiveil_pcie *pcie = irq_desc_get_handler_data(desc); in mobiveil_pcie_isr() local
171 static int mobiveil_pcie_parse_dt(struct mobiveil_pcie *pcie) in mobiveil_pcie_parse_dt()
205 static void mobiveil_pcie_enable_msi(struct mobiveil_pcie *pcie) in mobiveil_pcie_enable_msi()
221 int mobiveil_host_init(struct mobiveil_pcie *pcie, bool reinit) in mobiveil_host_init()
310 struct mobiveil_pcie *pcie; in mobiveil_mask_intx_irq() local
328 struct mobiveil_pcie *pcie; in mobiveil_unmask_intx_irq() local
380 struct mobiveil_pcie *pcie = irq_data_get_irq_chip_data(data); in mobiveil_compose_msi_msg() local
407 struct mobiveil_pcie *pcie = domain->host_data; in mobiveil_irq_msi_domain_alloc() local
434 struct mobiveil_pcie *pcie = irq_data_get_irq_chip_data(d); in mobiveil_irq_msi_domain_free() local
[all …]
Dpcie-layerscape-gen4.c45 static inline u32 ls_pcie_g4_lut_readl(struct ls_pcie_g4 *pcie, u32 off) in ls_pcie_g4_lut_readl()
50 static inline void ls_pcie_g4_lut_writel(struct ls_pcie_g4 *pcie, in ls_pcie_g4_lut_writel()
56 static inline u32 ls_pcie_g4_pf_readl(struct ls_pcie_g4 *pcie, u32 off) in ls_pcie_g4_pf_readl()
61 static inline void ls_pcie_g4_pf_writel(struct ls_pcie_g4 *pcie, in ls_pcie_g4_pf_writel()
69 struct ls_pcie_g4 *pcie = to_ls_pcie_g4(pci); in ls_pcie_g4_link_up() local
81 static void ls_pcie_g4_disable_interrupt(struct ls_pcie_g4 *pcie) in ls_pcie_g4_disable_interrupt()
88 static void ls_pcie_g4_enable_interrupt(struct ls_pcie_g4 *pcie) in ls_pcie_g4_enable_interrupt()
101 static int ls_pcie_g4_reinit_hw(struct ls_pcie_g4 *pcie) in ls_pcie_g4_reinit_hw()
147 struct ls_pcie_g4 *pcie = (struct ls_pcie_g4 *)dev_id; in ls_pcie_g4_isr() local
167 struct ls_pcie_g4 *pcie = to_ls_pcie_g4(mv_pci); in ls_pcie_g4_interrupt_init() local
[all …]
Dpcie-mobiveil.c28 static void mobiveil_pcie_sel_page(struct mobiveil_pcie *pcie, u8 pg_idx) in mobiveil_pcie_sel_page()
39 static void __iomem *mobiveil_pcie_comp_addr(struct mobiveil_pcie *pcie, in mobiveil_pcie_comp_addr()
99 u32 mobiveil_csr_read(struct mobiveil_pcie *pcie, u32 off, size_t size) in mobiveil_csr_read()
114 void mobiveil_csr_write(struct mobiveil_pcie *pcie, u32 val, u32 off, in mobiveil_csr_write()
127 bool mobiveil_pcie_link_up(struct mobiveil_pcie *pcie) in mobiveil_pcie_link_up()
136 void program_ib_windows(struct mobiveil_pcie *pcie, int win_num, in program_ib_windows()
173 void program_ob_windows(struct mobiveil_pcie *pcie, int win_num, in program_ob_windows()
216 int mobiveil_bringup_link(struct mobiveil_pcie *pcie) in mobiveil_bringup_link()
/kernel/linux/linux-5.10/drivers/pci/controller/cadence/
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() local
258 struct cdns_pcie *pcie = dev_get_drvdata(dev); in cdns_pcie_resume_noirq() local
Dpci-j721e.c74 static inline u32 j721e_pcie_user_readl(struct j721e_pcie *pcie, u32 offset) in j721e_pcie_user_readl()
79 static inline void j721e_pcie_user_writel(struct j721e_pcie *pcie, u32 offset, in j721e_pcie_user_writel()
85 static inline u32 j721e_pcie_intd_readl(struct j721e_pcie *pcie, u32 offset) in j721e_pcie_intd_readl()
90 static inline void j721e_pcie_intd_writel(struct j721e_pcie *pcie, u32 offset, in j721e_pcie_intd_writel()
98 struct j721e_pcie *pcie = priv; in j721e_pcie_link_irq_handler() local
112 static void j721e_pcie_config_link_irq(struct j721e_pcie *pcie) in j721e_pcie_config_link_irq()
123 struct j721e_pcie *pcie = dev_get_drvdata(cdns_pcie->dev); in j721e_pcie_start_link() local
135 struct j721e_pcie *pcie = dev_get_drvdata(cdns_pcie->dev); in j721e_pcie_stop_link() local
145 struct j721e_pcie *pcie = dev_get_drvdata(cdns_pcie->dev); in j721e_pcie_link_up() local
162 static int j721e_pcie_set_mode(struct j721e_pcie *pcie, struct regmap *syscon) in j721e_pcie_set_mode()
[all …]
Dpcie-cadence-ep.c23 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_write_header() local
55 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_set_bar() local
125 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_clear_bar() local
154 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_map_addr() local
176 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_unmap_addr() local
195 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_set_msi() local
215 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_get_msi() local
236 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_get_msix() local
254 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_set_msix() local
280 struct cdns_pcie *pcie = &ep->pcie; in cdns_pcie_ep_assert_intx() local
[all …]
Dpcie-cadence-host.c31 struct cdns_pcie *pcie = &rc->pcie; in cdns_pci_map_bus() local
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() local
145 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_init_root_port() local
188 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_bar_ib_config() local
280 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_bar_config() local
361 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_map_dma_ranges() local
398 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_init_address_translation() local
472 struct cdns_pcie *pcie; in cdns_pcie_host_setup() local
/kernel/linux/linux-5.10/drivers/staging/mt7621-pci/
Dpci-mt7621.c106 struct mt7621_pcie *pcie; member
145 static inline u32 pcie_read(struct mt7621_pcie *pcie, u32 reg) in pcie_read()
150 static inline void pcie_write(struct mt7621_pcie *pcie, u32 val, u32 reg) in pcie_write()
155 static inline void pcie_rmw(struct mt7621_pcie *pcie, u32 reg, u32 clr, u32 set) in pcie_rmw()
185 struct mt7621_pcie *pcie = bus->sysdata; in mt7621_pcie_map_bus() local
200 static u32 read_config(struct mt7621_pcie *pcie, unsigned int dev, u32 reg) in read_config()
208 static void write_config(struct mt7621_pcie *pcie, unsigned int dev, in write_config()
246 struct mt7621_pcie *pcie = port->pcie; in mt7621_control_assert() local
256 struct mt7621_pcie *pcie = port->pcie; in mt7621_control_deassert() local
264 static void setup_cm_memory_region(struct mt7621_pcie *pcie) in setup_cm_memory_region()
[all …]

123