Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-6.6/drivers/pci/controller/dwc/
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 …]
Dpcie-tegra194.c300 static inline void appl_writel(struct tegra_pcie_dw *pcie, const u32 value, in appl_writel()
306 static inline u32 appl_readl(struct tegra_pcie_dw *pcie, const u32 reg) in appl_readl()
315 static void tegra_pcie_icc_set(struct tegra_pcie_dw *pcie) in tegra_pcie_icc_set()
339 struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); in apply_bad_link_workaround() local
371 struct tegra_pcie_dw *pcie = arg; in tegra_pcie_rp_irq_handler() local
447 static void pex_ep_event_hot_rst_done(struct tegra_pcie_dw *pcie) in pex_ep_event_hot_rst_done()
475 struct tegra_pcie_dw *pcie = arg; in tegra_pcie_ep_irq_thread() local
526 struct tegra_pcie_dw *pcie = arg; in tegra_pcie_ep_hard_irq() local
574 struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); in tegra_pcie_dw_rd_own_conf() local
596 struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); in tegra_pcie_dw_wr_own_conf() local
[all …]
Dpci-layerscape.c55 static bool ls_pcie_is_bridge(struct ls_pcie *pcie) in ls_pcie_is_bridge()
67 static void ls_pcie_clear_multifunction(struct ls_pcie *pcie) in ls_pcie_clear_multifunction()
75 static void ls_pcie_drop_msg_tlp(struct ls_pcie *pcie) in ls_pcie_drop_msg_tlp()
86 static void ls_pcie_fix_error_response(struct ls_pcie *pcie) in ls_pcie_fix_error_response()
93 static u32 ls_pcie_pf_readl(struct ls_pcie *pcie, u32 off) in ls_pcie_pf_readl()
101 static void ls_pcie_pf_writel(struct ls_pcie *pcie, u32 off, u32 val) in ls_pcie_pf_writel()
112 struct ls_pcie *pcie = to_ls_pcie(pci); in ls_pcie_send_turnoff_msg() local
131 struct ls_pcie *pcie = to_ls_pcie(pci); in ls_pcie_exit_from_l2() local
158 struct ls_pcie *pcie = to_ls_pcie(pci); in ls_pcie_host_init() local
202 struct ls_pcie *pcie; in ls_pcie_probe() local
[all …]
Dpcie-qcom.c250 static void qcom_ep_reset_assert(struct qcom_pcie *pcie) in qcom_ep_reset_assert()
256 static void qcom_ep_reset_deassert(struct qcom_pcie *pcie) in qcom_ep_reset_deassert()
266 struct qcom_pcie *pcie = to_qcom_pcie(pci); in qcom_pcie_start_link() local
289 static void qcom_pcie_2_1_0_ltssm_enable(struct qcom_pcie *pcie) in qcom_pcie_2_1_0_ltssm_enable()
299 static int qcom_pcie_get_resources_2_1_0(struct qcom_pcie *pcie) in qcom_pcie_get_resources_2_1_0()
347 static void qcom_pcie_deinit_2_1_0(struct qcom_pcie *pcie) in qcom_pcie_deinit_2_1_0()
359 static int qcom_pcie_init_2_1_0(struct qcom_pcie *pcie) in qcom_pcie_init_2_1_0()
389 static int qcom_pcie_post_init_2_1_0(struct qcom_pcie *pcie) in qcom_pcie_post_init_2_1_0()
449 static int qcom_pcie_get_resources_1_0_0(struct qcom_pcie *pcie) in qcom_pcie_get_resources_1_0_0()
473 static void qcom_pcie_deinit_1_0_0(struct qcom_pcie *pcie) in qcom_pcie_deinit_1_0_0()
[all …]
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 …]
/kernel/linux/linux-6.6/drivers/pci/controller/
Dpcie-altera.c44 #define S10_RP_CFG_ADDR(pcie, reg) \ argument
46 #define S10_RP_SECONDARY(pcie) \ argument
59 #define TLP_CFG_DW0(pcie, cfg) \ argument
62 #define TLP_CFG_DW1(pcie, tag, be) \ argument
124 static inline void cra_writel(struct altera_pcie *pcie, const u32 value, in cra_writel()
130 static inline u32 cra_readl(struct altera_pcie *pcie, const u32 reg) in cra_readl()
135 static bool altera_pcie_link_up(struct altera_pcie *pcie) in altera_pcie_link_up()
140 static bool s10_altera_pcie_link_up(struct altera_pcie *pcie) in s10_altera_pcie_link_up()
168 static void tlp_write_tx(struct altera_pcie *pcie, in tlp_write_tx()
176 static void s10_tlp_write_tx(struct altera_pcie *pcie, u32 reg0, u32 ctrl) in s10_tlp_write_tx()
[all …]
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 …]
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 …]
Dpci-aardvark.c293 static inline void advk_writel(struct advk_pcie *pcie, u32 val, u64 reg) in advk_writel()
298 static inline u32 advk_readl(struct advk_pcie *pcie, u64 reg) in advk_readl()
303 static u8 advk_pcie_ltssm_state(struct advk_pcie *pcie) in advk_pcie_ltssm_state()
313 static inline bool advk_pcie_link_up(struct advk_pcie *pcie) in advk_pcie_link_up()
320 static inline bool advk_pcie_link_active(struct advk_pcie *pcie) in advk_pcie_link_active()
334 static inline bool advk_pcie_link_training(struct advk_pcie *pcie) in advk_pcie_link_training()
348 static int advk_pcie_wait_for_link(struct advk_pcie *pcie) in advk_pcie_wait_for_link()
363 static void advk_pcie_wait_for_retrain(struct advk_pcie *pcie) in advk_pcie_wait_for_retrain()
374 static void advk_pcie_issue_perst(struct advk_pcie *pcie) in advk_pcie_issue_perst()
386 static void advk_pcie_train_link(struct advk_pcie *pcie) in advk_pcie_train_link()
[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.c46 struct rcar_pcie pcie; member
98 static u32 rcar_read_conf(struct rcar_pcie *pcie, int where) in rcar_read_conf()
123 static int rcar_pci_write_reg_workaround(struct rcar_pcie *pcie, u32 val, in rcar_pci_write_reg_workaround()
137 static int rcar_pci_read_reg_workaround(struct rcar_pcie *pcie, u32 *val, in rcar_pci_read_reg_workaround()
159 struct rcar_pcie *pcie = &host->pcie; in rcar_pcie_config_access() local
296 static void rcar_pcie_force_speedup(struct rcar_pcie *pcie) in rcar_pcie_force_speedup()
352 struct rcar_pcie *pcie = &host->pcie; in rcar_pcie_hw_enable() local
392 static int phy_wait_for_ack(struct rcar_pcie *pcie) in phy_wait_for_ack()
409 static void phy_write_reg(struct rcar_pcie *pcie, in phy_write_reg()
435 static int rcar_pcie_hw_init(struct rcar_pcie *pcie) in rcar_pcie_hw_init()
[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
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 …]
/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()
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
Dpcie-tegra194.c321 static inline void appl_writel(struct tegra_pcie_dw *pcie, const u32 value, in appl_writel()
327 static inline u32 appl_readl(struct tegra_pcie_dw *pcie, const u32 reg) in appl_readl()
339 struct tegra_pcie_dw *pcie = to_tegra_pcie(pci); in apply_bad_link_workaround() local
371 struct tegra_pcie_dw *pcie = arg; in tegra_pcie_rp_irq_handler() local
440 static void pex_ep_event_hot_rst_done(struct tegra_pcie_dw *pcie) in pex_ep_event_hot_rst_done()
468 struct tegra_pcie_dw *pcie = arg; in tegra_pcie_ep_irq_thread() local
518 struct tegra_pcie_dw *pcie = arg; in tegra_pcie_ep_hard_irq() local
600 static void disable_aspm_l11(struct tegra_pcie_dw *pcie) in disable_aspm_l11()
609 static void disable_aspm_l12(struct tegra_pcie_dw *pcie) in disable_aspm_l12()
618 static inline u32 event_counter_prog(struct tegra_pcie_dw *pcie, u32 event) in event_counter_prog()
[all …]
/kernel/linux/linux-6.6/drivers/pci/controller/mobiveil/
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
397 struct mobiveil_pcie *pcie = domain->host_data; in mobiveil_irq_msi_domain_alloc() local
424 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_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
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/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/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 …]
/kernel/linux/linux-6.6/drivers/pci/controller/cadence/
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
/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

1234567