Home
last modified time | relevance | path

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

1234

/linux/drivers/pci/controller/dwc/
H A Dpcie-intel-gw.c84 static inline void pcie_app_wr(struct intel_pcie *pcie, u32 ofs, u32 val) in pcie_app_wr()
89 static void pcie_app_wr_mask(struct intel_pcie *pcie, u32 ofs, in pcie_app_wr_mask()
95 static inline u32 pcie_rc_cfg_rd(struct intel_pcie *pcie, u32 ofs) in pcie_rc_cfg_rd()
100 static inline void pcie_rc_cfg_wr(struct intel_pcie *pcie, u32 ofs, u32 val) in pcie_rc_cfg_wr()
105 static void pcie_rc_cfg_wr_mask(struct intel_pcie *pcie, u32 ofs, in pcie_rc_cfg_wr_mask()
111 static void intel_pcie_ltssm_enable(struct intel_pcie *pcie) in intel_pcie_ltssm_enable()
117 static void intel_pcie_ltssm_disable(struct intel_pcie *pcie) in intel_pcie_ltssm_disable()
122 static void intel_pcie_link_setup(struct intel_pcie *pcie) in intel_pcie_link_setup()
149 static int intel_pcie_ep_rst_init(struct intel_pcie *pcie) in intel_pcie_ep_rst_init()
168 static void intel_pcie_core_rst_assert(struct intel_pcie *pcie) in intel_pcie_core_rst_assert()
[all …]
H A Dpcie-tegra194.c293 static inline void appl_writel(struct tegra_pcie_dw *pcie, const u32 value, in appl_writel()
299 static inline u32 appl_readl(struct tegra_pcie_dw *pcie, const u32 reg) in appl_readl()
304 static void tegra_pcie_icc_set(struct tegra_pcie_dw *pcie) in tegra_pcie_icc_set()
328 struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); in apply_bad_link_workaround() local
360 struct tegra_pcie_dw *pcie = arg; in tegra_pcie_rp_irq_handler() local
436 static void pex_ep_event_hot_rst_done(struct tegra_pcie_dw *pcie) in pex_ep_event_hot_rst_done()
464 struct tegra_pcie_dw *pcie = arg; in tegra_pcie_ep_irq_thread() local
519 struct tegra_pcie_dw *pcie = arg; in tegra_pcie_ep_hard_irq() local
567 struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); in tegra_pcie_dw_rd_own_conf() local
589 struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); in tegra_pcie_dw_wr_own_conf() local
[all …]
H A Dpcie-qcom.c282 static void qcom_ep_reset_assert(struct qcom_pcie *pcie) in qcom_ep_reset_assert()
288 static void qcom_ep_reset_deassert(struct qcom_pcie *pcie) in qcom_ep_reset_deassert()
298 struct qcom_pcie *pcie = to_qcom_pcie(pci); in qcom_pcie_start_link() local
314 struct qcom_pcie *pcie = to_qcom_pcie(pci); in qcom_pcie_clear_aspm_l0s() local
346 static void qcom_pcie_configure_dbi_base(struct qcom_pcie *pcie) in qcom_pcie_configure_dbi_base()
362 static void qcom_pcie_configure_dbi_atu_base(struct qcom_pcie *pcie) in qcom_pcie_configure_dbi_atu_base()
390 static void qcom_pcie_2_1_0_ltssm_enable(struct qcom_pcie *pcie) in qcom_pcie_2_1_0_ltssm_enable()
400 static int qcom_pcie_get_resources_2_1_0(struct qcom_pcie *pcie) in qcom_pcie_get_resources_2_1_0()
438 static void qcom_pcie_deinit_2_1_0(struct qcom_pcie *pcie) in qcom_pcie_deinit_2_1_0()
450 static int qcom_pcie_init_2_1_0(struct qcom_pcie *pcie) in qcom_pcie_init_2_1_0()
[all …]
H A Dpci-layerscape.c75 static bool ls_pcie_is_bridge(struct ls_pcie *pcie) in ls_pcie_is_bridge()
87 static void ls_pcie_clear_multifunction(struct ls_pcie *pcie) in ls_pcie_clear_multifunction()
95 static void ls_pcie_drop_msg_tlp(struct ls_pcie *pcie) in ls_pcie_drop_msg_tlp()
106 static void ls_pcie_fix_error_response(struct ls_pcie *pcie) in ls_pcie_fix_error_response()
113 static u32 ls_pcie_pf_lut_readl(struct ls_pcie *pcie, u32 off) in ls_pcie_pf_lut_readl()
121 static void ls_pcie_pf_lut_writel(struct ls_pcie *pcie, u32 off, u32 val) in ls_pcie_pf_lut_writel()
132 struct ls_pcie *pcie = to_ls_pcie(pci); in ls_pcie_send_turnoff_msg() local
151 struct ls_pcie *pcie = to_ls_pcie(pci); in ls_pcie_exit_from_l2() local
180 struct ls_pcie *pcie = to_ls_pcie(pci); in ls_pcie_host_init() local
214 struct ls_pcie *pcie = to_ls_pcie(pci); in ls1021a_pcie_send_turnoff_msg() local
[all …]
H A Dpcie-uniphier.c75 static void uniphier_pcie_ltssm_enable(struct uniphier_pcie *pcie, in uniphier_pcie_ltssm_enable()
88 static void uniphier_pcie_init_rc(struct uniphier_pcie *pcie) in uniphier_pcie_init_rc()
121 static int uniphier_pcie_wait_rc(struct uniphier_pcie *pcie) in uniphier_pcie_wait_rc()
140 struct uniphier_pcie *pcie = to_uniphier_pcie(pci); in uniphier_pcie_link_up() local
151 struct uniphier_pcie *pcie = to_uniphier_pcie(pci); in uniphier_pcie_start_link() local
160 struct uniphier_pcie *pcie = to_uniphier_pcie(pci); in uniphier_pcie_stop_link() local
165 static void uniphier_pcie_irq_enable(struct uniphier_pcie *pcie) in uniphier_pcie_irq_enable()
176 struct uniphier_pcie *pcie = to_uniphier_pcie(pci); in uniphier_pcie_irq_mask() local
193 struct uniphier_pcie *pcie = to_uniphier_pcie(pci); in uniphier_pcie_irq_unmask() local
230 struct uniphier_pcie *pcie = to_uniphier_pcie(pci); in uniphier_pcie_irq_handler() local
[all …]
H A Dpcie-visconti.c97 static void visconti_ulreg_writel(struct visconti_pcie *pcie, u32 val, u32 reg) in visconti_ulreg_writel()
102 static u32 visconti_ulreg_readl(struct visconti_pcie *pcie, u32 reg) in visconti_ulreg_readl()
108 static void visconti_smu_writel(struct visconti_pcie *pcie, u32 val, u32 reg) in visconti_smu_writel()
114 static void visconti_mpu_writel(struct visconti_pcie *pcie, u32 val, u32 reg) in visconti_mpu_writel()
119 static u32 visconti_mpu_readl(struct visconti_pcie *pcie, u32 reg) in visconti_mpu_readl()
126 struct visconti_pcie *pcie = dev_get_drvdata(pci->dev); in visconti_pcie_link_up() local
135 struct visconti_pcie *pcie = dev_get_drvdata(pci->dev); in visconti_pcie_start_link() local
163 struct visconti_pcie *pcie = dev_get_drvdata(pci->dev); in visconti_pcie_stop_link() local
196 struct visconti_pcie *pcie = dev_get_drvdata(pci->dev); in visconti_pcie_host_init() local
243 struct visconti_pcie *pcie) in visconti_get_resources()
[all …]
H A Dpcie-keembay.c72 static void keembay_ep_reset_assert(struct keembay_pcie *pcie) in keembay_ep_reset_assert()
78 static void keembay_ep_reset_deassert(struct keembay_pcie *pcie) in keembay_ep_reset_deassert()
92 static void keembay_pcie_ltssm_set(struct keembay_pcie *pcie, bool enable) in keembay_pcie_ltssm_set()
106 struct keembay_pcie *pcie = dev_get_drvdata(pci->dev); in keembay_pcie_link_up() local
116 struct keembay_pcie *pcie = dev_get_drvdata(pci->dev); in keembay_pcie_start_link() local
140 struct keembay_pcie *pcie = dev_get_drvdata(pci->dev); in keembay_pcie_stop_link() local
185 static int keembay_pcie_probe_clocks(struct keembay_pcie *pcie) in keembay_pcie_probe_clocks()
209 static int keembay_pcie_pll_init(struct keembay_pcie *pcie) in keembay_pcie_pll_init()
236 struct keembay_pcie *pcie = irq_desc_get_handler_data(desc); in keembay_pcie_msi_irq_handler() local
266 static int keembay_pcie_setup_msi_irq(struct keembay_pcie *pcie) in keembay_pcie_setup_msi_irq()
[all …]
/linux/drivers/pci/controller/
H A Dpcie-altera.c44 #define S10_RP_CFG_ADDR(pcie, reg) \ argument
46 #define S10_RP_SECONDARY(pcie) \ argument
58 #define TLP_CFG_DW0(pcie, cfg) \ argument
61 #define TLP_CFG_DW1(pcie, tag, be) \ argument
123 static inline void cra_writel(struct altera_pcie *pcie, const u32 value, in cra_writel()
129 static inline u32 cra_readl(struct altera_pcie *pcie, const u32 reg) in cra_readl()
134 static bool altera_pcie_link_up(struct altera_pcie *pcie) in altera_pcie_link_up()
139 static bool s10_altera_pcie_link_up(struct altera_pcie *pcie) in s10_altera_pcie_link_up()
167 static void tlp_write_tx(struct altera_pcie *pcie, in tlp_write_tx()
175 static void s10_tlp_write_tx(struct altera_pcie *pcie, u32 reg0, u32 ctrl) in s10_tlp_write_tx()
[all …]
H A Dpcie-mt7621.c81 struct mt7621_pcie *pcie; member
105 static inline u32 pcie_read(struct mt7621_pcie *pcie, u32 reg) in pcie_read()
110 static inline void pcie_write(struct mt7621_pcie *pcie, u32 val, u32 reg) in pcie_write()
129 struct mt7621_pcie *pcie = bus->sysdata; in mt7621_pcie_map_bus() local
144 static u32 read_config(struct mt7621_pcie *pcie, unsigned int dev, u32 reg) in read_config()
152 static void write_config(struct mt7621_pcie *pcie, unsigned int dev, in write_config()
180 struct mt7621_pcie *pcie = port->pcie; in mt7621_control_assert() local
190 struct mt7621_pcie *pcie = port->pcie; in mt7621_control_deassert() local
198 static int mt7621_pcie_parse_port(struct mt7621_pcie *pcie, in mt7621_pcie_parse_port()
257 static int mt7621_pcie_parse_dt(struct mt7621_pcie *pcie) in mt7621_pcie_parse_dt()
[all …]
H A Dpcie-iproc.c400 struct iproc_pcie *pcie = bus->sysdata; in iproc_data() local
409 static inline u16 iproc_pcie_reg_offset(struct iproc_pcie *pcie, in iproc_pcie_reg_offset()
415 static inline u32 iproc_pcie_read_reg(struct iproc_pcie *pcie, in iproc_pcie_read_reg()
426 static inline void iproc_pcie_write_reg(struct iproc_pcie *pcie, in iproc_pcie_write_reg()
446 struct iproc_pcie *pcie = iproc_data(bus); in iproc_pcie_apb_err_disable() local
459 static void __iomem *iproc_pcie_map_ep_cfg_reg(struct iproc_pcie *pcie, in iproc_pcie_map_ep_cfg_reg()
480 static unsigned int iproc_pcie_cfg_retry(struct iproc_pcie *pcie, in iproc_pcie_cfg_retry()
525 static void iproc_pcie_fix_cap(struct iproc_pcie *pcie, int where, u32 *val) in iproc_pcie_fix_cap()
571 struct iproc_pcie *pcie = iproc_data(bus); in iproc_pcie_config_read() local
623 static void __iomem *iproc_pcie_map_cfg_bus(struct iproc_pcie *pcie, in iproc_pcie_map_cfg_bus()
[all …]
H A 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
261 struct nwl_pcie *pcie = data; in nwl_pcie_misc_handler() local
319 struct nwl_pcie *pcie; in nwl_pcie_leg_handler() local
335 static void nwl_pcie_handle_msi_irq(struct nwl_pcie *pcie, u32 status_reg) in nwl_pcie_handle_msi_irq()
[all …]
H A Dpci-aardvark.c292 static inline void advk_writel(struct advk_pcie *pcie, u32 val, u64 reg) in advk_writel()
297 static inline u32 advk_readl(struct advk_pcie *pcie, u64 reg) in advk_readl()
302 static u8 advk_pcie_ltssm_state(struct advk_pcie *pcie) in advk_pcie_ltssm_state()
312 static inline bool advk_pcie_link_up(struct advk_pcie *pcie) in advk_pcie_link_up()
319 static inline bool advk_pcie_link_active(struct advk_pcie *pcie) in advk_pcie_link_active()
333 static inline bool advk_pcie_link_training(struct advk_pcie *pcie) in advk_pcie_link_training()
347 static int advk_pcie_wait_for_link(struct advk_pcie *pcie) in advk_pcie_wait_for_link()
362 static void advk_pcie_wait_for_retrain(struct advk_pcie *pcie) in advk_pcie_wait_for_retrain()
373 static void advk_pcie_issue_perst(struct advk_pcie *pcie) in advk_pcie_issue_perst()
385 static void advk_pcie_train_link(struct advk_pcie *pcie) in advk_pcie_train_link()
[all …]
H A Dpcie-rcar-host.c47 struct rcar_pcie pcie; member
99 static u32 rcar_read_conf(struct rcar_pcie *pcie, int where) in rcar_read_conf()
124 static int rcar_pci_write_reg_workaround(struct rcar_pcie *pcie, u32 val, in rcar_pci_write_reg_workaround()
138 static int rcar_pci_read_reg_workaround(struct rcar_pcie *pcie, u32 *val, in rcar_pci_read_reg_workaround()
160 struct rcar_pcie *pcie = &host->pcie; in rcar_pcie_config_access() local
297 static void rcar_pcie_force_speedup(struct rcar_pcie *pcie) in rcar_pcie_force_speedup()
353 struct rcar_pcie *pcie = &host->pcie; in rcar_pcie_hw_enable() local
393 static int phy_wait_for_ack(struct rcar_pcie *pcie) in phy_wait_for_ack()
410 static void phy_write_reg(struct rcar_pcie *pcie, in phy_write_reg()
436 static int rcar_pcie_hw_init(struct rcar_pcie *pcie) in rcar_pcie_hw_init()
[all …]
H A Dpcie-xilinx.c113 static inline u32 pcie_read(struct xilinx_pcie *pcie, u32 reg) in pcie_read()
118 static inline void pcie_write(struct xilinx_pcie *pcie, u32 val, u32 reg) in pcie_write()
123 static inline bool xilinx_pcie_link_up(struct xilinx_pcie *pcie) in xilinx_pcie_link_up()
133 static void xilinx_pcie_clear_err_interrupts(struct xilinx_pcie *pcie) in xilinx_pcie_clear_err_interrupts()
155 struct xilinx_pcie *pcie = bus->sysdata; in xilinx_pcie_valid_device() local
180 struct xilinx_pcie *pcie = bus->sysdata; in xilinx_pcie_map_bus() local
213 struct xilinx_pcie *pcie = irq_data_get_irq_chip_data(data); in xilinx_compose_msi_msg() local
229 struct xilinx_pcie *pcie = domain->host_data; in xilinx_msi_domain_alloc() local
253 struct xilinx_pcie *pcie = domain->host_data; in xilinx_msi_domain_free() local
273 static int xilinx_allocate_msi_domains(struct xilinx_pcie *pcie) in xilinx_allocate_msi_domains()
[all …]
H A 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()
H A Dpcie-mediatek-gen3.c240 struct mtk_gen3_pcie *pcie = bus->sysdata; in mtk_pcie_config_tlp_header() local
255 struct mtk_gen3_pcie *pcie = bus->sysdata; in mtk_pcie_map_bus() local
285 static int mtk_pcie_set_trans_table(struct mtk_gen3_pcie *pcie, in mtk_pcie_set_trans_table()
347 static void mtk_pcie_enable_msi(struct mtk_gen3_pcie *pcie) in mtk_pcie_enable_msi()
376 static int mtk_pcie_startup_port(struct mtk_gen3_pcie *pcie) in mtk_pcie_startup_port()
497 struct mtk_gen3_pcie *pcie = data->domain->host_data; in mtk_compose_msi_msg() local
522 struct mtk_gen3_pcie *pcie = data->domain->host_data; in mtk_msi_bottom_irq_mask() local
538 struct mtk_gen3_pcie *pcie = data->domain->host_data; in mtk_msi_bottom_irq_unmask() local
563 struct mtk_gen3_pcie *pcie = domain->host_data; in mtk_msi_bottom_domain_alloc() local
591 struct mtk_gen3_pcie *pcie = domain->host_data; in mtk_msi_bottom_domain_free() local
[all …]
H A Dpci-tegra.c362 struct tegra_pcie *pcie; member
375 static inline void afi_writel(struct tegra_pcie *pcie, u32 value, in afi_writel()
381 static inline u32 afi_readl(struct tegra_pcie *pcie, unsigned long offset) in afi_readl()
386 static inline void pads_writel(struct tegra_pcie *pcie, u32 value, in pads_writel()
392 static inline u32 pads_readl(struct tegra_pcie *pcie, unsigned long offset) in pads_readl()
429 struct tegra_pcie *pcie = bus->sysdata; in tegra_pcie_map_bus() local
716 struct tegra_pcie *pcie = port->pcie; in tegra_pcie_port_free() local
748 struct tegra_pcie *pcie = pdev->bus->sysdata; in tegra_pcie_map_irq() local
779 struct tegra_pcie *pcie = arg; in tegra_pcie_isr() local
824 static void tegra_pcie_setup_translations(struct tegra_pcie *pcie) in tegra_pcie_setup_translations()
[all …]
H A Dpcie-brcmstb.c194 #define IDX_ADDR(pcie) ((pcie)->reg_offsets[EXT_CFG_INDEX]) argument
195 #define DATA_ADDR(pcie) ((pcie)->reg_offsets[EXT_CFG_DATA]) argument
196 #define PCIE_RGR1_SW_INIT_1(pcie) ((pcie)->reg_offsets[RGR1_SW_INIT_1]) argument
197 #define HARD_DEBUG(pcie) ((pcie)->reg_offsets[PCIE_HARD_DEBUG]) argument
198 #define INTR2_CPU_BASE(pcie) ((pcie)->reg_offsets[PCIE_INTR2_CPU_BASE]) argument
296 static inline bool is_bmips(const struct brcm_pcie *pcie) in is_bmips()
367 static int brcm_pcie_set_ssc(struct brcm_pcie *pcie) in brcm_pcie_set_ssc()
403 static void brcm_pcie_set_gen(struct brcm_pcie *pcie, int gen) in brcm_pcie_set_gen()
415 static void brcm_pcie_set_outbound_win(struct brcm_pcie *pcie, in brcm_pcie_set_outbound_win()
602 static void brcm_msi_remove(struct brcm_pcie *pcie) in brcm_msi_remove()
[all …]
/linux/drivers/pci/controller/mobiveil/
H A Dpcie-mobiveil-host.c50 struct mobiveil_pcie *pcie = bus->sysdata; in mobiveil_pcie_map_bus() local
85 struct mobiveil_pcie *pcie = irq_desc_get_handler_data(desc); in mobiveil_pcie_isr() local
165 static int mobiveil_pcie_parse_dt(struct mobiveil_pcie *pcie) in mobiveil_pcie_parse_dt()
199 static void mobiveil_pcie_enable_msi(struct mobiveil_pcie *pcie) in mobiveil_pcie_enable_msi()
215 int mobiveil_host_init(struct mobiveil_pcie *pcie, bool reinit) in mobiveil_host_init()
303 struct mobiveil_pcie *pcie = irq_data_get_irq_chip_data(data); in mobiveil_mask_intx_irq() local
319 struct mobiveil_pcie *pcie = irq_data_get_irq_chip_data(data); in mobiveil_unmask_intx_irq() local
370 struct mobiveil_pcie *pcie = irq_data_get_irq_chip_data(data); in mobiveil_compose_msi_msg() local
390 struct mobiveil_pcie *pcie = domain->host_data; in mobiveil_irq_msi_domain_alloc() local
417 struct mobiveil_pcie *pcie = irq_data_get_irq_chip_data(d); in mobiveil_irq_msi_domain_free() local
[all …]
H A Dpcie-layerscape-gen4.c45 static inline u32 ls_g4_pcie_pf_readl(struct ls_g4_pcie *pcie, u32 off) in ls_g4_pcie_pf_readl()
50 static inline void ls_g4_pcie_pf_writel(struct ls_g4_pcie *pcie, in ls_g4_pcie_pf_writel()
58 struct ls_g4_pcie *pcie = to_ls_g4_pcie(pci); in ls_g4_pcie_link_up() local
70 static void ls_g4_pcie_disable_interrupt(struct ls_g4_pcie *pcie) in ls_g4_pcie_disable_interrupt()
77 static void ls_g4_pcie_enable_interrupt(struct ls_g4_pcie *pcie) in ls_g4_pcie_enable_interrupt()
90 static int ls_g4_pcie_reinit_hw(struct ls_g4_pcie *pcie) in ls_g4_pcie_reinit_hw()
136 struct ls_g4_pcie *pcie = (struct ls_g4_pcie *)dev_id; in ls_g4_pcie_isr() local
156 struct ls_g4_pcie *pcie = to_ls_g4_pcie(mv_pci); in ls_g4_pcie_interrupt_init() local
179 struct ls_g4_pcie *pcie = container_of(dwork, struct ls_g4_pcie, dwork); in ls_g4_pcie_reset() local
206 struct ls_g4_pcie *pcie; in ls_g4_pcie_probe() local
H A 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()
/linux/drivers/pci/controller/plda/
H A Dpcie-starfive.c105 static int starfive_pcie_parse_dt(struct starfive_jh7110_pcie *pcie, in starfive_pcie_parse_dt()
171 static int starfive_pcie_clk_rst_init(struct starfive_jh7110_pcie *pcie) in starfive_pcie_clk_rst_init()
189 static void starfive_pcie_clk_rst_deinit(struct starfive_jh7110_pcie *pcie) in starfive_pcie_clk_rst_deinit()
197 struct starfive_jh7110_pcie *pcie = in starfive_pcie_link_up() local
213 static int starfive_pcie_host_wait_for_link(struct starfive_jh7110_pcie *pcie) in starfive_pcie_host_wait_for_link()
230 struct starfive_jh7110_pcie *pcie) in starfive_pcie_enable_phy()
261 static void starfive_pcie_disable_phy(struct starfive_jh7110_pcie *pcie) in starfive_pcie_disable_phy()
269 struct starfive_jh7110_pcie *pcie = in starfive_pcie_host_deinit() local
280 struct starfive_jh7110_pcie *pcie = in starfive_pcie_host_init() local
391 struct starfive_jh7110_pcie *pcie; in starfive_pcie_probe() local
[all …]
/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence.c11 void cdns_pcie_detect_quiet_min_delay_set(struct cdns_pcie *pcie) in cdns_pcie_detect_quiet_min_delay_set()
27 void cdns_pcie_set_outbound_region(struct cdns_pcie *pcie, u8 busnr, u8 fn, in cdns_pcie_set_outbound_region()
104 void cdns_pcie_set_outbound_region_for_normal_msg(struct cdns_pcie *pcie, in cdns_pcie_set_outbound_region_for_normal_msg()
138 void cdns_pcie_reset_outbound_region(struct cdns_pcie *pcie, u32 r) in cdns_pcie_reset_outbound_region()
150 void cdns_pcie_disable_phy(struct cdns_pcie *pcie) in cdns_pcie_disable_phy()
160 int cdns_pcie_enable_phy(struct cdns_pcie *pcie) in cdns_pcie_enable_phy()
188 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
H A Dpci-j721e.c81 static inline u32 j721e_pcie_user_readl(struct j721e_pcie *pcie, u32 offset) in j721e_pcie_user_readl()
86 static inline void j721e_pcie_user_writel(struct j721e_pcie *pcie, u32 offset, in j721e_pcie_user_writel()
92 static inline u32 j721e_pcie_intd_readl(struct j721e_pcie *pcie, u32 offset) in j721e_pcie_intd_readl()
97 static inline void j721e_pcie_intd_writel(struct j721e_pcie *pcie, u32 offset, in j721e_pcie_intd_writel()
105 struct j721e_pcie *pcie = priv; in j721e_pcie_link_irq_handler() local
119 static void j721e_pcie_config_link_irq(struct j721e_pcie *pcie) in j721e_pcie_config_link_irq()
130 struct j721e_pcie *pcie = dev_get_drvdata(cdns_pcie->dev); in j721e_pcie_start_link() local
142 struct j721e_pcie *pcie = dev_get_drvdata(cdns_pcie->dev); in j721e_pcie_stop_link() local
152 struct j721e_pcie *pcie = dev_get_drvdata(cdns_pcie->dev); in j721e_pcie_link_up() local
169 static int j721e_pcie_set_mode(struct j721e_pcie *pcie, struct regmap *syscon, in j721e_pcie_set_mode()
[all …]
H A Dpcie-cadence-host.c33 struct cdns_pcie *pcie = &rc->pcie; in cdns_pci_map_bus() local
82 static int cdns_pcie_host_training_complete(struct cdns_pcie *pcie) in cdns_pcie_host_training_complete()
103 static int cdns_pcie_host_wait_for_link(struct cdns_pcie *pcie) in cdns_pcie_host_wait_for_link()
120 static int cdns_pcie_retrain(struct cdns_pcie *pcie) in cdns_pcie_retrain()
153 static void cdns_pcie_host_enable_ptm_response(struct cdns_pcie *pcie) in cdns_pcie_host_enable_ptm_response()
163 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_start_link() local
180 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_init_root_port() local
223 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_bar_ib_config() local
315 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_bar_config() local
396 struct cdns_pcie *pcie = &rc->pcie; in cdns_pcie_host_map_dma_ranges() local
[all …]

1234