Lines Matching defs:imx6_pcie

68 struct imx6_pcie {  struct
69 struct dw_pcie *pci;
70 int reset_gpio;
71 bool gpio_active_high;
72 bool link_is_up;
73 struct clk *pcie_bus;
97 const struct imx6_pcie_drvdata *drvdata; argument
152 static unsigned int imx6_pcie_grp_offset(const struct imx6_pcie *imx6_pcie) in imx6_pcie_grp_offset()
160 static void imx6_pcie_configure_type(struct imx6_pcie *imx6_pcie) in imx6_pcie_configure_type()
178 static int pcie_phy_poll_ack(struct imx6_pcie *imx6_pcie, bool exp_val) in pcie_phy_poll_ack()
199 static int pcie_phy_wait_ack(struct imx6_pcie *imx6_pcie, int addr) in pcie_phy_wait_ack()
222 static int pcie_phy_read(struct imx6_pcie *imx6_pcie, int addr, u16 *data) in pcie_phy_read()
248 static int pcie_phy_write(struct imx6_pcie *imx6_pcie, int addr, u16 data) in pcie_phy_write()
303 static void imx6_pcie_init_phy(struct imx6_pcie *imx6_pcie) in imx6_pcie_init_phy()
372 static void imx7d_pcie_wait_for_phy_pll_lock(struct imx6_pcie *imx6_pcie) in imx7d_pcie_wait_for_phy_pll_lock()
385 static int imx6_setup_phy_mpll(struct imx6_pcie *imx6_pcie) in imx6_setup_phy_mpll()
432 static void imx6_pcie_reset_phy(struct imx6_pcie *imx6_pcie) in imx6_pcie_reset_phy()
490 struct imx6_pcie *imx6_pcie = dev_get_drvdata(dev); in imx6_pcie_attach_pd() local
528 static int imx6_pcie_enable_ref_clk(struct imx6_pcie *imx6_pcie) in imx6_pcie_enable_ref_clk()
589 static void imx6_pcie_disable_ref_clk(struct imx6_pcie *imx6_pcie) in imx6_pcie_disable_ref_clk()
618 static int imx6_pcie_clk_enable(struct imx6_pcie *imx6_pcie) in imx6_pcie_clk_enable()
662 static void imx6_pcie_clk_disable(struct imx6_pcie *imx6_pcie) in imx6_pcie_clk_disable()
670 static void imx6_pcie_assert_core_reset(struct imx6_pcie *imx6_pcie) in imx6_pcie_assert_core_reset()
709 static int imx6_pcie_deassert_core_reset(struct imx6_pcie *imx6_pcie) in imx6_pcie_deassert_core_reset()
770 static int imx6_pcie_wait_for_speed_change(struct imx6_pcie *imx6_pcie) in imx6_pcie_wait_for_speed_change()
791 struct imx6_pcie *imx6_pcie = dev_get_drvdata(dev); in imx6_pcie_ltssm_enable() local
812 struct imx6_pcie *imx6_pcie = dev_get_drvdata(dev); in imx6_pcie_ltssm_disable() local
832 struct imx6_pcie *imx6_pcie = to_imx6_pcie(pci); in imx6_pcie_start_link() local
926 struct imx6_pcie *imx6_pcie = to_imx6_pcie(pci); in imx6_pcie_host_init() local
986 struct imx6_pcie *imx6_pcie = to_imx6_pcie(pci); in imx6_pcie_host_exit() local
1007 static void imx6_pcie_pm_turnoff(struct imx6_pcie *imx6_pcie) in imx6_pcie_pm_turnoff()
1046 struct imx6_pcie *imx6_pcie = dev_get_drvdata(dev); in imx6_pcie_suspend_noirq() local
1062 struct imx6_pcie *imx6_pcie = dev_get_drvdata(dev); in imx6_pcie_resume_noirq() local
1088 struct imx6_pcie *imx6_pcie; in imx6_pcie_probe() local
1297 struct imx6_pcie *imx6_pcie = platform_get_drvdata(pdev); in imx6_pcie_shutdown() local
1385 struct imx6_pcie *imx6_pcie = to_imx6_pcie(pci); in imx6_pcie_quirk() local