Home
last modified time | relevance | path

Searched refs:phyclk (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/host/
H A 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()
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
H A 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-6.6/arch/arm/mach-s3c/
H A 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/
H A Dphy-exynos5250-sata.c50 struct clk *phyclk; member
199 sata_phy->phyclk = devm_clk_get(dev, "sata_phyctrl"); in exynos_sata_phy_probe()
200 if (IS_ERR(sata_phy->phyclk)) { in exynos_sata_phy_probe()
202 ret = PTR_ERR(sata_phy->phyclk); in exynos_sata_phy_probe()
206 ret = clk_prepare_enable(sata_phy->phyclk); in exynos_sata_phy_probe()
231 clk_disable_unprepare(sata_phy->phyclk); in exynos_sata_phy_probe()
/kernel/linux/linux-6.6/drivers/phy/samsung/
H A Dphy-exynos5250-sata.c50 struct clk *phyclk; member
196 sata_phy->phyclk = devm_clk_get(dev, "sata_phyctrl"); in exynos_sata_phy_probe()
197 if (IS_ERR(sata_phy->phyclk)) { in exynos_sata_phy_probe()
199 ret = PTR_ERR(sata_phy->phyclk); in exynos_sata_phy_probe()
203 ret = clk_prepare_enable(sata_phy->phyclk); in exynos_sata_phy_probe()
228 clk_disable_unprepare(sata_phy->phyclk); in exynos_sata_phy_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A 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-6.6/drivers/net/wireless/ath/ath10k/
H A Dhw.c600 u32 phyclk; in ath10k_hw_qca988x_set_coverage_class() local
625 phyclk = MS(phyclk_reg, WAVE1_PHYCLK_USEC) + 1; in ath10k_hw_qca988x_set_coverage_class()
651 if (slottime_reg % phyclk) { in ath10k_hw_qca988x_set_coverage_class()
659 slottime = slottime / phyclk; in ath10k_hw_qca988x_set_coverage_class()
673 slottime += value * 3 * phyclk; in ath10k_hw_qca988x_set_coverage_class()
680 ack_timeout += 3 * value * phyclk; in ath10k_hw_qca988x_set_coverage_class()
686 cts_timeout += 3 * value * phyclk; in ath10k_hw_qca988x_set_coverage_class()
/kernel/linux/linux-5.10/drivers/phy/rockchip/
H A 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()
860 inno->phyclk = devm_clk_register(dev, &inno->hw); in inno_hdmi_phy_clk_register()
861 if (IS_ERR(inno->phyclk)) { in inno_hdmi_phy_clk_register()
862 ret = PTR_ERR(inno->phyclk); in inno_hdmi_phy_clk_register()
867 ret = of_clk_add_provider(np, of_clk_src_simple_get, inno->phyclk); in inno_hdmi_phy_clk_register()
/kernel/linux/linux-6.6/drivers/phy/rockchip/
H A Dphy-rockchip-inno-hdmi.c245 struct clk *phyclk; member
638 ret = clk_prepare_enable(inno->phyclk); in inno_hdmi_phy_power_on()
644 clk_disable_unprepare(inno->phyclk); in inno_hdmi_phy_power_on()
660 clk_disable_unprepare(inno->phyclk); in inno_hdmi_phy_power_off()
1017 inno->phyclk = devm_clk_register(dev, &inno->hw); in inno_hdmi_phy_clk_register()
1018 if (IS_ERR(inno->phyclk)) { in inno_hdmi_phy_clk_register()
1019 ret = PTR_ERR(inno->phyclk); in inno_hdmi_phy_clk_register()
1024 ret = of_clk_add_provider(np, of_clk_src_simple_get, inno->phyclk); in inno_hdmi_phy_clk_register()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmain.h366 bool phyclk; /* phy is out of reset and has clock */ member
H A Dmain.c762 wlc_hw->phyclk = clk; in brcms_b_core_phy_clk()
1946 * mac no longer enables phyclk automatically when driver in brcms_b_radio_read_hwdisabled()
2028 * mac no longer enables phyclk automatically when driver accesses in brcms_b_corereset()
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmain.h366 bool phyclk; /* phy is out of reset and has clock */ member
H A Dmain.c762 wlc_hw->phyclk = clk; in brcms_b_core_phy_clk()
1946 * mac no longer enables phyclk automatically when driver in brcms_b_radio_read_hwdisabled()
2028 * mac no longer enables phyclk automatically when driver accesses in brcms_b_corereset()

Completed in 30 milliseconds