Home
last modified time | relevance | path

Searched full:phyclk (Results 1 – 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/usb/host/
Dehci-mxc.c28 struct clk *usbclk, *ahbclk, *phyclk; member
89 priv->phyclk = devm_clk_get(dev, "phy"); in ehci_mxc_drv_probe()
90 if (IS_ERR(priv->phyclk)) in ehci_mxc_drv_probe()
91 priv->phyclk = NULL; in ehci_mxc_drv_probe()
92 if (priv->phyclk) in ehci_mxc_drv_probe()
93 clk_prepare_enable(priv->phyclk); in ehci_mxc_drv_probe()
146 if (priv->phyclk) in ehci_mxc_drv_probe()
147 clk_disable_unprepare(priv->phyclk); in ehci_mxc_drv_probe()
175 if (priv->phyclk) in ehci_mxc_drv_remove()
176 clk_disable_unprepare(priv->phyclk); in ehci_mxc_drv_remove()
/kernel/linux/linux-4.19/drivers/usb/host/
Dehci-mxc.c28 struct clk *usbclk, *ahbclk, *phyclk; member
89 priv->phyclk = devm_clk_get(&pdev->dev, "phy"); in ehci_mxc_drv_probe()
90 if (IS_ERR(priv->phyclk)) in ehci_mxc_drv_probe()
91 priv->phyclk = NULL; in ehci_mxc_drv_probe()
92 if (priv->phyclk) in ehci_mxc_drv_probe()
93 clk_prepare_enable(priv->phyclk); in ehci_mxc_drv_probe()
147 if (priv->phyclk) in ehci_mxc_drv_probe()
148 clk_disable_unprepare(priv->phyclk); in ehci_mxc_drv_probe()
176 if (priv->phyclk) in ehci_mxc_drv_remove()
177 clk_disable_unprepare(priv->phyclk); in ehci_mxc_drv_remove()
/kernel/linux/linux-4.19/arch/arm/mach-s3c64xx/
Dsetup-usb-phy.c21 u32 phyclk; in s3c_usb_otgphy_init() local
26 phyclk = readl(S3C_PHYCLK) & ~S3C_PHYCLK_CLKSEL_MASK; in s3c_usb_otgphy_init()
32 phyclk |= S3C_PHYCLK_CLKSEL_12M; in s3c_usb_otgphy_init()
35 phyclk |= S3C_PHYCLK_CLKSEL_24M; in s3c_usb_otgphy_init()
46 writel(phyclk | S3C_PHYCLK_CLK_FORCE, S3C_PHYCLK); in s3c_usb_otgphy_init()
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dsetup-usb-phy-s3c64xx.c26 u32 phyclk; in s3c_usb_otgphy_init() local
31 phyclk = readl(S3C_PHYCLK) & ~S3C_PHYCLK_CLKSEL_MASK; in s3c_usb_otgphy_init()
37 phyclk |= S3C_PHYCLK_CLKSEL_12M; in s3c_usb_otgphy_init()
40 phyclk |= S3C_PHYCLK_CLKSEL_24M; in s3c_usb_otgphy_init()
51 writel(phyclk | S3C_PHYCLK_CLK_FORCE, S3C_PHYCLK); in s3c_usb_otgphy_init()
/kernel/linux/linux-5.10/drivers/phy/samsung/
Dphy-exynos5250-sata.c50 struct clk *phyclk; member
198 sata_phy->phyclk = devm_clk_get(dev, "sata_phyctrl"); in exynos_sata_phy_probe()
199 if (IS_ERR(sata_phy->phyclk)) { in exynos_sata_phy_probe()
201 return PTR_ERR(sata_phy->phyclk); in exynos_sata_phy_probe()
204 ret = clk_prepare_enable(sata_phy->phyclk); in exynos_sata_phy_probe()
212 clk_disable_unprepare(sata_phy->phyclk); in exynos_sata_phy_probe()
222 clk_disable_unprepare(sata_phy->phyclk); in exynos_sata_phy_probe()
/kernel/linux/linux-4.19/drivers/phy/samsung/
Dphy-exynos5250-sata.c53 struct clk *phyclk; member
201 sata_phy->phyclk = devm_clk_get(dev, "sata_phyctrl"); in exynos_sata_phy_probe()
202 if (IS_ERR(sata_phy->phyclk)) { in exynos_sata_phy_probe()
204 return PTR_ERR(sata_phy->phyclk); in exynos_sata_phy_probe()
207 ret = clk_prepare_enable(sata_phy->phyclk); in exynos_sata_phy_probe()
215 clk_disable_unprepare(sata_phy->phyclk); in exynos_sata_phy_probe()
225 clk_disable_unprepare(sata_phy->phyclk); in exynos_sata_phy_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-stm32.c66 *| | | st,ext-phyclk | | |
69 *| | | st,ext-phyclk | | |
72 *| | | st,ext-phyclk | | st,eth-clk-sel or|
73 *| | | | | st,ext-phyclk |
76 *| | | st,ext-phyclk | st,eth-ref-clk-sel | |
77 *| | | | or st,ext-phyclk | |
308 dwmac->ext_phyclk = of_property_read_bool(np, "st,ext-phyclk"); in stm32mp1_parse_data()
Ddwmac-sti.c56 *| | |clkgen/phyclk-in |
67 * phyclk| 1 | 0 | n/a |
88 * phyclk| | |
280 dwmac->ext_phyclk = of_property_read_bool(np, "st,ext-phyclk"); in sti_dwmac_parse_data()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dphy-rockchip-inno-usb2.yaml39 const: phyclk
137 clock-names = "phyclk";
Drockchip-usb-phy.txt28 - clock-names: string, clock name, must be "phyclk"
/kernel/linux/linux-4.19/drivers/net/wireless/ath/ath10k/
Dhw.c604 u32 phyclk; in ath10k_hw_qca988x_set_coverage_class() local
629 phyclk = MS(phyclk_reg, WAVE1_PHYCLK_USEC) + 1; in ath10k_hw_qca988x_set_coverage_class()
655 if (slottime_reg % phyclk) { in ath10k_hw_qca988x_set_coverage_class()
663 slottime = slottime / phyclk; in ath10k_hw_qca988x_set_coverage_class()
677 slottime += value * 3 * phyclk; in ath10k_hw_qca988x_set_coverage_class()
684 ack_timeout += 3 * value * phyclk; in ath10k_hw_qca988x_set_coverage_class()
690 cts_timeout += 3 * value * phyclk; in ath10k_hw_qca988x_set_coverage_class()
/kernel/linux/linux-4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-sti.c60 *| | |clkgen/phyclk-in |
71 * phyclk| 1 | 0 | n/a |
92 * phyclk| | |
279 dwmac->ext_phyclk = of_property_read_bool(np, "st,ext-phyclk"); in sti_dwmac_parse_data()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dhw.c599 u32 phyclk; in ath10k_hw_qca988x_set_coverage_class() local
624 phyclk = MS(phyclk_reg, WAVE1_PHYCLK_USEC) + 1; in ath10k_hw_qca988x_set_coverage_class()
650 if (slottime_reg % phyclk) { in ath10k_hw_qca988x_set_coverage_class()
658 slottime = slottime / phyclk; in ath10k_hw_qca988x_set_coverage_class()
672 slottime += value * 3 * phyclk; in ath10k_hw_qca988x_set_coverage_class()
679 ack_timeout += 3 * value * phyclk; in ath10k_hw_qca988x_set_coverage_class()
685 cts_timeout += 3 * value * phyclk; in ath10k_hw_qca988x_set_coverage_class()
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/
Dzx296718-clk.txt36 clock-names = "phyclk";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dzx296718-clk.txt36 clock-names = "phyclk";
/kernel/linux/linux-5.10/drivers/phy/rockchip/
Dphy-rockchip-inno-hdmi.c246 struct clk *phyclk; member
488 ret = clk_prepare_enable(inno->phyclk); in inno_hdmi_phy_power_on()
494 clk_disable_unprepare(inno->phyclk); in inno_hdmi_phy_power_on()
510 clk_disable_unprepare(inno->phyclk); in inno_hdmi_phy_power_off()
858 inno->phyclk = devm_clk_register(dev, &inno->hw); in inno_hdmi_phy_clk_register()
859 if (IS_ERR(inno->phyclk)) { in inno_hdmi_phy_clk_register()
860 ret = PTR_ERR(inno->phyclk); in inno_hdmi_phy_clk_register()
865 ret = of_clk_add_provider(np, of_clk_src_simple_get, inno->phyclk); in inno_hdmi_phy_clk_register()
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/phy/
Drockchip-usb-phy.txt28 - clock-names: string, clock name, must be "phyclk"
Dphy-rockchip-inno-usb2.txt16 - clock-names : input clock name of phy, must be "phyclk".
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/net/
Dstm32-dwmac.txt28 - st,int-phyclk (boolean) : valid only where PHY do not have quartz and need to be clock
Dsti-dwmac.txt21 - st,ext-phyclk: valid only for RMII where PHY can generate 50MHz clock or
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dsti-dwmac.txt21 - st,ext-phyclk: valid only for RMII where PHY can generate 50MHz clock or
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dexynos-usb.txt86 "phyclk",
/kernel/linux/linux-4.19/drivers/clk/mmp/
Dclk-mmp2.c419 clk_register_clkdev(clk, "phyclk", "mmp-ccic.0"); in mmp2_clk_init()
447 clk_register_clkdev(clk, "phyclk", "mmp-ccic.1"); in mmp2_clk_init()
/kernel/linux/linux-5.10/drivers/clk/mmp/
Dclk-mmp2.c419 clk_register_clkdev(clk, "phyclk", "mmp-ccic.0"); in mmp2_clk_init()
447 clk_register_clkdev(clk, "phyclk", "mmp-ccic.1"); in mmp2_clk_init()
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Drk3188.dtsi152 clock-names = "phyclk";
160 clock-names = "phyclk";

1234