Lines Matching defs:imx_pcie
132 struct imx_pcie { struct
156 const struct imx_pcie_drvdata *drvdata; argument
159 struct mutex lock;
214 static unsigned int imx_pcie_grp_offset(const struct imx_pcie *imx_pcie) in imx_pcie_grp_offset()
225 static int imx95_pcie_init_phy(struct imx_pcie *imx_pcie) in imx95_pcie_init_phy()
243 static void imx_pcie_configure_type(struct imx_pcie *imx_pcie) in imx_pcie_configure_type()
269 static int pcie_phy_poll_ack(struct imx_pcie *imx_pcie, bool exp_val) in pcie_phy_poll_ack()
290 static int pcie_phy_wait_ack(struct imx_pcie *imx_pcie, int addr) in pcie_phy_wait_ack()
313 static int pcie_phy_read(struct imx_pcie *imx_pcie, int addr, u16 *data) in pcie_phy_read()
339 static int pcie_phy_write(struct imx_pcie *imx_pcie, int addr, u16 data) in pcie_phy_write()
394 static int imx8mq_pcie_init_phy(struct imx_pcie *imx_pcie) in imx8mq_pcie_init_phy()
415 static int imx_pcie_init_phy(struct imx_pcie *imx_pcie) in imx_pcie_init_phy()
442 static int imx6sx_pcie_init_phy(struct imx_pcie *imx_pcie) in imx6sx_pcie_init_phy()
450 static void imx7d_pcie_wait_for_phy_pll_lock(struct imx_pcie *imx_pcie) in imx7d_pcie_wait_for_phy_pll_lock()
463 static int imx_setup_phy_mpll(struct imx_pcie *imx_pcie) in imx_setup_phy_mpll()
516 static void imx_pcie_reset_phy(struct imx_pcie *imx_pcie) in imx_pcie_reset_phy()
574 struct imx_pcie *imx_pcie = dev_get_drvdata(dev); in imx_pcie_attach_pd() local
612 static int imx6sx_pcie_enable_ref_clk(struct imx_pcie *imx_pcie, bool enable) in imx6sx_pcie_enable_ref_clk()
620 static int imx6q_pcie_enable_ref_clk(struct imx_pcie *imx_pcie, bool enable) in imx6q_pcie_enable_ref_clk()
641 static int imx8mm_pcie_enable_ref_clk(struct imx_pcie *imx_pcie, bool enable) in imx8mm_pcie_enable_ref_clk()
654 static int imx7d_pcie_enable_ref_clk(struct imx_pcie *imx_pcie, bool enable) in imx7d_pcie_enable_ref_clk()
662 static int imx_pcie_clk_enable(struct imx_pcie *imx_pcie) in imx_pcie_clk_enable()
690 static void imx_pcie_clk_disable(struct imx_pcie *imx_pcie) in imx_pcie_clk_disable()
697 static int imx6sx_pcie_core_reset(struct imx_pcie *imx_pcie, bool assert) in imx6sx_pcie_core_reset()
709 static int imx6qp_pcie_core_reset(struct imx_pcie *imx_pcie, bool assert) in imx6qp_pcie_core_reset()
719 static int imx6q_pcie_core_reset(struct imx_pcie *imx_pcie, bool assert) in imx6q_pcie_core_reset()
730 static int imx7d_pcie_core_reset(struct imx_pcie *imx_pcie, bool assert) in imx7d_pcie_core_reset()
776 static void imx_pcie_assert_core_reset(struct imx_pcie *imx_pcie) in imx_pcie_assert_core_reset()
788 static int imx_pcie_deassert_core_reset(struct imx_pcie *imx_pcie) in imx_pcie_deassert_core_reset()
807 static int imx_pcie_wait_for_speed_change(struct imx_pcie *imx_pcie) in imx_pcie_wait_for_speed_change()
828 struct imx_pcie *imx_pcie = dev_get_drvdata(dev); in imx_pcie_ltssm_enable() local
844 struct imx_pcie *imx_pcie = dev_get_drvdata(dev); in imx_pcie_ltssm_disable() local
857 struct imx_pcie *imx_pcie = to_imx_pcie(pci); in imx_pcie_start_link() local
945 static int imx_pcie_add_lut(struct imx_pcie *imx_pcie, u16 rid, u8 sid) in imx_pcie_add_lut()
1004 static void imx_pcie_remove_lut(struct imx_pcie *imx_pcie, u16 rid) in imx_pcie_remove_lut()
1031 struct imx_pcie *imx_pcie = to_imx_pcie(to_dw_pcie_from_pp(bridge->sysdata)); in imx_pcie_enable_device() local
1117 struct imx_pcie *imx_pcie; in imx_pcie_disable_device() local
1127 struct imx_pcie *imx_pcie = to_imx_pcie(pci); in imx_pcie_host_init() local
1204 struct imx_pcie *imx_pcie = to_imx_pcie(pci); in imx_pcie_host_exit() local
1225 struct imx_pcie *imx_pcie = to_imx_pcie(pci); in imx_pcie_pme_turn_off() local
1319 struct imx_pcie *imx_pcie = to_imx_pcie(pci); in imx_pcie_ep_get_features() local
1330 static int imx_add_pcie_ep(struct imx_pcie *imx_pcie, in imx_add_pcie_ep()
1369 static void imx_pcie_msi_save_restore(struct imx_pcie *imx_pcie, bool save) in imx_pcie_msi_save_restore()
1391 struct imx_pcie *imx_pcie = dev_get_drvdata(dev); in imx_pcie_suspend_noirq() local
1415 struct imx_pcie *imx_pcie = dev_get_drvdata(dev); in imx_pcie_resume_noirq() local
1455 struct imx_pcie *imx_pcie; in imx_pcie_probe() local
1642 struct imx_pcie *imx_pcie = platform_get_drvdata(pdev); in imx_pcie_shutdown() local
1858 struct imx_pcie *imx_pcie = to_imx_pcie(pci); in imx_pcie_quirk() local