Searched refs:pcie_phy (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/drivers/phy/mediatek/ |
H A D | phy-mtk-pcie.c | 80 static void mtk_pcie_efuse_set_lane(struct mtk_pcie_phy *pcie_phy, in mtk_pcie_efuse_set_lane() argument 83 struct mtk_pcie_lane_efuse *data = &pcie_phy->efuse[lane]; in mtk_pcie_efuse_set_lane() 89 addr = pcie_phy->sif_base + PEXTP_ANA_LN0_TRX_REG + in mtk_pcie_efuse_set_lane() 112 struct mtk_pcie_phy *pcie_phy = phy_get_drvdata(phy); in mtk_pcie_phy_init() local 115 if (!pcie_phy->sw_efuse_en) in mtk_pcie_phy_init() 119 mtk_phy_update_field(pcie_phy->sif_base + PEXTP_ANA_GLB_00_REG, in mtk_pcie_phy_init() 120 EFUSE_GLB_INTR_SEL, pcie_phy->efuse_glb_intr); in mtk_pcie_phy_init() 122 for (i = 0; i < pcie_phy->data->num_lanes; i++) in mtk_pcie_phy_init() 123 mtk_pcie_efuse_set_lane(pcie_phy, i); in mtk_pcie_phy_init() 133 static int mtk_pcie_efuse_read_for_lane(struct mtk_pcie_phy *pcie_phy, in mtk_pcie_efuse_read_for_lane() argument 166 mtk_pcie_read_efuse(struct mtk_pcie_phy *pcie_phy) mtk_pcie_read_efuse() argument 202 struct mtk_pcie_phy *pcie_phy; mtk_pcie_phy_probe() local [all...] |
/kernel/linux/linux-5.10/arch/mips/pci/ |
H A D | pci-mt7620.c | 128 static void pcie_phy(unsigned long addr, unsigned long val) in pcie_phy() function 224 pcie_phy(0x0, 0x80); in mt7620_pci_hw_init() 225 pcie_phy(0x1, 0x04); in mt7620_pci_hw_init() 228 pcie_phy(0x68, 0xB4); in mt7620_pci_hw_init()
|
/kernel/linux/linux-6.6/arch/mips/pci/ |
H A D | pci-mt7620.c | 128 static void pcie_phy(unsigned long addr, unsigned long val) in pcie_phy() function 224 pcie_phy(0x0, 0x80); in mt7620_pci_hw_init() 225 pcie_phy(0x1, 0x04); in mt7620_pci_hw_init() 228 pcie_phy(0x68, 0xB4); in mt7620_pci_hw_init()
|
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/ |
H A D | pci-imx6.c | 68 struct clk *pcie_phy; member 349 imx6_pcie->pd_pcie_phy = dev_pm_domain_attach_by_name(dev, "pcie_phy"); in imx6_pcie_attach_pd() 358 dev_err(dev, "Failed to add device_link to pcie_phy pd.\n"); in imx6_pcie_attach_pd() 504 ret = clk_prepare_enable(imx6_pcie->pcie_phy); in imx6_pcie_deassert_core_reset() 506 dev_err(dev, "unable to enable pcie_phy clock\n"); in imx6_pcie_deassert_core_reset() 589 clk_disable_unprepare(imx6_pcie->pcie_phy); in imx6_pcie_deassert_core_reset() 670 unsigned long phy_rate = clk_get_rate(imx6_pcie->pcie_phy); in imx6_setup_phy_mpll() 940 clk_disable_unprepare(imx6_pcie->pcie_phy); in imx6_pcie_clk_disable() 1067 imx6_pcie->pcie_phy = devm_clk_get(dev, "pcie_phy"); in imx6_pcie_probe() [all...] |
/kernel/linux/linux-6.6/drivers/pci/controller/dwc/ |
H A D | pci-imx6.c | 78 struct clk *pcie_phy; member 410 unsigned long phy_rate = clk_get_rate(imx6_pcie->pcie_phy); in imx6_setup_phy_mpll() 535 imx6_pcie->pd_pcie_phy = dev_pm_domain_attach_by_name(dev, "pcie_phy"); in imx6_pcie_attach_pd() 544 dev_err(dev, "Failed to add device_link to pcie_phy pd.\n"); in imx6_pcie_attach_pd() 653 ret = clk_prepare_enable(imx6_pcie->pcie_phy); in imx6_pcie_clk_enable() 655 dev_err(dev, "unable to enable pcie_phy clock\n"); in imx6_pcie_clk_enable() 686 clk_disable_unprepare(imx6_pcie->pcie_phy); in imx6_pcie_clk_enable() 696 clk_disable_unprepare(imx6_pcie->pcie_phy); in imx6_pcie_clk_disable() 1375 /* Don't fetch the pcie_phy clock, if it has abstract PHY driver */ in imx6_pcie_probe() 1377 imx6_pcie->pcie_phy in imx6_pcie_probe() [all...] |
Completed in 6 milliseconds