Lines Matching defs:imx6_pcie
63 struct imx6_pcie { struct
64 struct dw_pcie *pci;
65 int reset_gpio;
66 bool gpio_active_high;
90 const struct imx6_pcie_drvdata *drvdata; argument
156 static int pcie_phy_poll_ack(struct imx6_pcie *imx6_pcie, bool exp_val) in pcie_phy_poll_ack()
177 static int pcie_phy_wait_ack(struct imx6_pcie *imx6_pcie, int addr) in pcie_phy_wait_ack()
200 static int pcie_phy_read(struct imx6_pcie *imx6_pcie, int addr, u16 *data) in pcie_phy_read()
226 static int pcie_phy_write(struct imx6_pcie *imx6_pcie, int addr, u16 data) in pcie_phy_write()
281 static void imx6_pcie_reset_phy(struct imx6_pcie *imx6_pcie) in imx6_pcie_reset_phy()
339 struct imx6_pcie *imx6_pcie = dev_get_drvdata(dev); in imx6_pcie_attach_pd() local
377 static void imx6_pcie_assert_core_reset(struct imx6_pcie *imx6_pcie) in imx6_pcie_assert_core_reset()
418 static unsigned int imx6_pcie_grp_offset(const struct imx6_pcie *imx6_pcie) in imx6_pcie_grp_offset()
424 static int imx6_pcie_enable_ref_clk(struct imx6_pcie *imx6_pcie) in imx6_pcie_enable_ref_clk()
483 static void imx7d_pcie_wait_for_phy_pll_lock(struct imx6_pcie *imx6_pcie) in imx7d_pcie_wait_for_phy_pll_lock()
496 static void imx6_pcie_deassert_core_reset(struct imx6_pcie *imx6_pcie) in imx6_pcie_deassert_core_reset()
606 static void imx6_pcie_configure_type(struct imx6_pcie *imx6_pcie) in imx6_pcie_configure_type()
624 static void imx6_pcie_init_phy(struct imx6_pcie *imx6_pcie) in imx6_pcie_init_phy()
675 static int imx6_setup_phy_mpll(struct imx6_pcie *imx6_pcie) in imx6_setup_phy_mpll()
722 static int imx6_pcie_wait_for_speed_change(struct imx6_pcie *imx6_pcie) in imx6_pcie_wait_for_speed_change()
743 struct imx6_pcie *imx6_pcie = dev_get_drvdata(dev); in imx6_pcie_ltssm_enable() local
760 static int imx6_pcie_establish_link(struct imx6_pcie *imx6_pcie) in imx6_pcie_establish_link()
842 struct imx6_pcie *imx6_pcie = to_imx6_pcie(pci); in imx6_pcie_host_init() local
861 static int imx6_add_pcie_port(struct imx6_pcie *imx6_pcie, in imx6_add_pcie_port()
895 struct imx6_pcie *imx6_pcie = dev_get_drvdata(dev); in imx6_pcie_ltssm_disable() local
911 static void imx6_pcie_pm_turnoff(struct imx6_pcie *imx6_pcie) in imx6_pcie_pm_turnoff()
947 static void imx6_pcie_clk_disable(struct imx6_pcie *imx6_pcie) in imx6_pcie_clk_disable()
972 struct imx6_pcie *imx6_pcie = dev_get_drvdata(dev); in imx6_pcie_suspend_noirq() local
987 struct imx6_pcie *imx6_pcie = dev_get_drvdata(dev); in imx6_pcie_resume_noirq() local
1015 struct imx6_pcie *imx6_pcie; in imx6_pcie_probe() local
1205 struct imx6_pcie *imx6_pcie = platform_get_drvdata(pdev); in imx6_pcie_shutdown() local
1274 struct imx6_pcie *imx6_pcie = to_imx6_pcie(pci); in imx6_pcie_quirk() local