ref_clk 620 arch/mips/ath79/clock.c struct clk *ref_clk; ref_clk 623 arch/mips/ath79/clock.c ref_clk = of_clk_get(np, 0); ref_clk 624 arch/mips/ath79/clock.c if (!IS_ERR(ref_clk)) ref_clk 625 arch/mips/ath79/clock.c clks[ATH79_CLK_REF] = ref_clk; ref_clk 663 arch/mips/ath79/clock.c clk_put(ref_clk); ref_clk 312 arch/mips/netlogic/xlp/nlm_hal.c u64 sysbase, pll_out_freq_num, ref_clk_select, clockbase, ref_clk; ref_clk 327 arch/mips/netlogic/xlp/nlm_hal.c ref_clk = 200000000ULL; ref_clk 331 arch/mips/netlogic/xlp/nlm_hal.c ref_clk = 100000000ULL; ref_clk 335 arch/mips/netlogic/xlp/nlm_hal.c ref_clk = 125000000ULL; ref_clk 339 arch/mips/netlogic/xlp/nlm_hal.c ref_clk = 400000000ULL; ref_clk 431 arch/mips/netlogic/xlp/nlm_hal.c pll_out_freq_num = ((ref_clk >> 1) * (6 + mdiv)) + fdiv; ref_clk 260 drivers/clk/clk-asm9260.c const char *ref_clk, *pll_clk = "pll"; ref_clk 278 drivers/clk/clk-asm9260.c ref_clk = of_clk_get_parent_name(np, 0); ref_clk 279 drivers/clk/clk-asm9260.c accuracy = clk_get_accuracy(__clk_lookup(ref_clk)); ref_clk 281 drivers/clk/clk-asm9260.c ref_clk, 0, rate, accuracy); ref_clk 289 drivers/clk/clk-asm9260.c mc->parent_names[0] = ref_clk; ref_clk 78 drivers/clk/clk-cs2000-cp.c struct clk *ref_clk; ref_clk 399 drivers/clk/clk-cs2000-cp.c struct clk *clk_in, *ref_clk; ref_clk 406 drivers/clk/clk-cs2000-cp.c ref_clk = devm_clk_get(dev, "ref_clk"); ref_clk 408 drivers/clk/clk-cs2000-cp.c if (IS_ERR(ref_clk)) ref_clk 412 drivers/clk/clk-cs2000-cp.c priv->ref_clk = ref_clk; ref_clk 435 drivers/clk/clk-cs2000-cp.c rate = clk_get_rate(priv->ref_clk); ref_clk 441 drivers/clk/clk-cs2000-cp.c parent_names[REF_CLK] = __clk_get_name(priv->ref_clk); ref_clk 23 drivers/clk/clk-moxart.c struct clk *ref_clk; ref_clk 40 drivers/clk/clk-moxart.c ref_clk = of_clk_get(node, 0); ref_clk 41 drivers/clk/clk-moxart.c if (IS_ERR(ref_clk)) { ref_clk 44 drivers/clk/davinci/psc-dm646x.c LPSC(16, 0, vpif0, ref_clk, NULL, LPSC_ALWAYS_ENABLED), ref_clk 45 drivers/clk/davinci/psc-dm646x.c LPSC(17, 0, vpif1, ref_clk, NULL, LPSC_ALWAYS_ENABLED), ref_clk 81 drivers/clk/imx/clk-pllv2.c long mfi, mfn, mfd, pdf, ref_clk; ref_clk 94 drivers/clk/imx/clk-pllv2.c ref_clk = 2 * parent_rate; ref_clk 96 drivers/clk/imx/clk-pllv2.c ref_clk *= 2; ref_clk 98 drivers/clk/imx/clk-pllv2.c ref_clk /= (pdf + 1); ref_clk 99 drivers/clk/imx/clk-pllv2.c temp = (u64) ref_clk * abs(mfn); ref_clk 102 drivers/clk/imx/clk-pllv2.c temp = (ref_clk * mfi) - temp; ref_clk 104 drivers/clk/imx/clk-pllv2.c temp = (ref_clk * mfi) + temp; ref_clk 271 drivers/clk/tegra/clk-dfll.c struct clk *ref_clk; ref_clk 393 drivers/clk/tegra/clk-dfll.c ret = clk_enable(td->ref_clk); ref_clk 402 drivers/clk/tegra/clk-dfll.c clk_disable(td->ref_clk); ref_clk 410 drivers/clk/tegra/clk-dfll.c clk_disable(td->ref_clk); ref_clk 429 drivers/clk/tegra/clk-dfll.c clk_disable(td->ref_clk); ref_clk 1425 drivers/clk/tegra/clk-dfll.c td->ref_clk = devm_clk_get(td->dev, "ref"); ref_clk 1426 drivers/clk/tegra/clk-dfll.c if (IS_ERR(td->ref_clk)) { ref_clk 1428 drivers/clk/tegra/clk-dfll.c return PTR_ERR(td->ref_clk); ref_clk 1460 drivers/clk/tegra/clk-dfll.c td->ref_rate = clk_get_rate(td->ref_clk); ref_clk 1469 drivers/clk/tegra/clk-dfll.c ret = clk_prepare(td->ref_clk); ref_clk 1509 drivers/clk/tegra/clk-dfll.c clk_unprepare(td->ref_clk); ref_clk 2030 drivers/clk/tegra/clk-dfll.c clk_unprepare(td->ref_clk); ref_clk 92 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_link_encoder.h uint32_t ref_clk; ref_clk 802 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c uint32_t i, ref_clk; ref_clk 806 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c ref_clk = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); ref_clk 825 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->range_table[i].trans_lower_frequency = (ref_clk * Range_Table[i].fcw_trans_lower) >> Range_Table[i].postdiv; ref_clk 826 drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c smu_data->range_table[i].trans_upper_frequency = (ref_clk * Range_Table[i].fcw_trans_upper) >> Range_Table[i].postdiv; ref_clk 670 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c uint32_t i, ref_clk; ref_clk 674 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c ref_clk = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); ref_clk 699 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c (ref_clk * Range_Table[i].fcw_trans_lower) >> Range_Table[i].postdiv; ref_clk 701 drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c (ref_clk * Range_Table[i].fcw_trans_upper) >> Range_Table[i].postdiv; ref_clk 63 drivers/gpu/drm/i915/display/vlv_dsi_pll.c int delta, ref_clk; ref_clk 72 drivers/gpu/drm/i915/display/vlv_dsi_pll.c ref_clk = 100000; ref_clk 77 drivers/gpu/drm/i915/display/vlv_dsi_pll.c ref_clk = 25000; ref_clk 85 drivers/gpu/drm/i915/display/vlv_dsi_pll.c delta = abs(target_dsi_clk - (m_min * ref_clk) / (p_min * n)); ref_clk 93 drivers/gpu/drm/i915/display/vlv_dsi_pll.c int calc_dsi_clk = (m * ref_clk) / (p * n); ref_clk 103 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c struct clk *ref_clk; ref_clk 126 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c ref_clk = devm_clk_get(dev, "pll_ref"); ref_clk 127 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c if (IS_ERR(ref_clk)) { ref_clk 128 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c ret = PTR_ERR(ref_clk); ref_clk 133 drivers/gpu/drm/mediatek/mtk_hdmi_phy.c ref_clk_name = __clk_get_name(ref_clk); ref_clk 386 drivers/gpu/drm/mediatek/mtk_mipi_tx.c struct clk *ref_clk; ref_clk 411 drivers/gpu/drm/mediatek/mtk_mipi_tx.c ref_clk = devm_clk_get(dev, NULL); ref_clk 412 drivers/gpu/drm/mediatek/mtk_mipi_tx.c if (IS_ERR(ref_clk)) { ref_clk 413 drivers/gpu/drm/mediatek/mtk_mipi_tx.c ret = PTR_ERR(ref_clk); ref_clk 417 drivers/gpu/drm/mediatek/mtk_mipi_tx.c ref_clk_name = __clk_get_name(ref_clk); ref_clk 487 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c u64 ref_clk = pll_10nm->vco_ref_clk_rate; ref_clk 509 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c pll_freq = dec * (ref_clk * 2); ref_clk 510 drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c tmp64 = (ref_clk * 2 * frac); ref_clk 633 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c u64 ref_clk = parent_rate; ref_clk 649 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c vco_rate = ref_clk * dec_start; ref_clk 651 drivers/gpu/drm/msm/dsi/pll/dsi_pll_14nm.c vco_rate += ((ref_clk * div_frac_start) / multiplier); ref_clk 260 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c u32 ref_clk = VCO_REF_CLK_RATE; ref_clk 268 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c ref_clk += (doubler * VCO_REF_CLK_RATE); ref_clk 277 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c vco_rate = ref_clk * sdm_byp_div; ref_clk 291 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c vco_rate = (ref_clk * (sdm_dc_off + 1)) + ref_clk 292 drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c mult_frac(ref_clk, sdm_freq_seed, BIT(16)); ref_clk 103 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c static inline u32 pll_get_cpctrl(u64 frac_start, unsigned long ref_clk, ref_clk 107 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c return (11000000 / (ref_clk / 20)); ref_clk 128 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c static inline u32 pll_get_integloop_gain(u64 frac_start, u64 bclk, u32 ref_clk, ref_clk 135 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c base = (64 * ref_clk) / HDMI_DEFAULT_REF_CLOCK; ref_clk 137 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c base = (1022 * ref_clk) / 100; ref_clk 144 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c static inline u32 pll_get_pll_cmp(u64 fdata, unsigned long ref_clk) ref_clk 147 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c u32 divisor = ref_clk * 10; ref_clk 157 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c static inline u64 pll_cmp_to_fdata(u32 pll_cmp, unsigned long ref_clk) ref_clk 159 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c u64 fdata = ((u64)pll_cmp) * ref_clk * 10; ref_clk 218 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c static int pll_calculate(unsigned long pix_clk, unsigned long ref_clk, ref_clk 249 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c pll_divisor = 4 * ref_clk; ref_clk 259 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c cpctrl = pll_get_cpctrl(frac_start, ref_clk, false); ref_clk 263 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c ref_clk, false); ref_clk 268 drivers/gpu/drm/msm/hdmi/hdmi_phy_8996.c pll_cmp = pll_get_pll_cmp(fdata, ref_clk); ref_clk 444 drivers/gpu/drm/radeon/cypress_dpm.c u32 ref_clk = rdev->clock.mpll.reference_freq; ref_clk 445 drivers/gpu/drm/radeon/cypress_dpm.c u32 vco = clkf * ref_clk; ref_clk 448 drivers/gpu/drm/radeon/cypress_dpm.c if (ref_clk == 10000) { ref_clk 163 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 ref_clk = rdev->clock.spll.reference_freq; ref_clk 183 drivers/gpu/drm/radeon/rv6xx_dpm.c fb_divider = ((step->vco_frequency * pi->spll_ref_div) / ref_clk) >> ref_clk 428 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 ref_clk = rdev->clock.spll.reference_freq; ref_clk 430 drivers/gpu/drm/radeon/rv6xx_dpm.c return rv6xx_scale_count_given_unit(rdev, delay_us * (ref_clk / 100), unit); ref_clk 551 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 ref_clk = rdev->clock.spll.reference_freq; ref_clk 561 drivers/gpu/drm/radeon/rv6xx_dpm.c vco_freq = rv6xx_calculate_vco_frequency(ref_clk, ÷rs, ref_clk 567 drivers/gpu/drm/radeon/rv6xx_dpm.c (ref_clk / (dividers.ref_div + 1)), ref_clk 573 drivers/gpu/drm/radeon/rv6xx_dpm.c (ref_clk / (dividers.ref_div + 1))); ref_clk 632 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 ref_clk, ref_clk 642 drivers/gpu/drm/radeon/rv6xx_dpm.c vco_freq_temp = rv6xx_calculate_vco_frequency(ref_clk, &req_dividers, ref_clk 655 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 ref_clk = rdev->clock.mpll.reference_freq; ref_clk 665 drivers/gpu/drm/radeon/rv6xx_dpm.c ref_clk, ref_clk 671 drivers/gpu/drm/radeon/rv6xx_dpm.c ref_clk, ref_clk 677 drivers/gpu/drm/radeon/rv6xx_dpm.c ref_clk, ref_clk 685 drivers/gpu/drm/radeon/rv6xx_dpm.c (ref_clk / (dividers.ref_div + 1)), ref_clk 691 drivers/gpu/drm/radeon/rv6xx_dpm.c (ref_clk / (dividers.ref_div + 1))); ref_clk 840 drivers/gpu/drm/radeon/rv6xx_dpm.c u32 ref_clk = rdev->clock.spll.reference_freq; ref_clk 843 drivers/gpu/drm/radeon/rv6xx_dpm.c ref_clk, 16, ref_clk 534 drivers/net/dsa/sja1105/sja1105_clocking.c struct sja1105_cgu_mii_ctrl ref_clk; ref_clk 545 drivers/net/dsa/sja1105/sja1105_clocking.c ref_clk.clksrc = clk_sources[port]; ref_clk 546 drivers/net/dsa/sja1105/sja1105_clocking.c ref_clk.autoblock = 1; /* Autoblock clk while changing clksrc */ ref_clk 547 drivers/net/dsa/sja1105/sja1105_clocking.c ref_clk.pd = 0; /* Power Down off => enabled */ ref_clk 548 drivers/net/dsa/sja1105/sja1105_clocking.c sja1105_cgu_mii_control_packing(packed_buf, &ref_clk, PACK); ref_clk 96 drivers/net/wireless/ath/ath10k/ahb.c ar_ahb->ref_clk = devm_clk_get(dev, "wifi_wcss_ref"); ref_clk 97 drivers/net/wireless/ath/ath10k/ahb.c if (IS_ERR_OR_NULL(ar_ahb->ref_clk)) { ref_clk 99 drivers/net/wireless/ath/ath10k/ahb.c PTR_ERR(ar_ahb->ref_clk)); ref_clk 100 drivers/net/wireless/ath/ath10k/ahb.c return ar_ahb->ref_clk ? PTR_ERR(ar_ahb->ref_clk) : -ENODEV; ref_clk 118 drivers/net/wireless/ath/ath10k/ahb.c ar_ahb->ref_clk = NULL; ref_clk 128 drivers/net/wireless/ath/ath10k/ahb.c IS_ERR_OR_NULL(ar_ahb->ref_clk) || ref_clk 141 drivers/net/wireless/ath/ath10k/ahb.c ret = clk_prepare_enable(ar_ahb->ref_clk); ref_clk 156 drivers/net/wireless/ath/ath10k/ahb.c clk_disable_unprepare(ar_ahb->ref_clk); ref_clk 171 drivers/net/wireless/ath/ath10k/ahb.c clk_disable_unprepare(ar_ahb->ref_clk); ref_clk 22 drivers/net/wireless/ath/ath10k/ahb.h struct clk *ref_clk; ref_clk 294 drivers/net/wireless/st/cw1200/cw1200.h int ref_clk, const u8 *macaddr, ref_clk 32 drivers/net/wireless/st/cw1200/cw1200_sdio.c .ref_clk = 38400, ref_clk 307 drivers/net/wireless/st/cw1200/cw1200_sdio.c self->pdata->ref_clk, ref_clk 416 drivers/net/wireless/st/cw1200/cw1200_spi.c self->pdata->ref_clk, ref_clk 517 drivers/net/wireless/st/cw1200/main.c int ref_clk, const u8 *macaddr, ref_clk 533 drivers/net/wireless/st/cw1200/main.c priv->hw_refclk = ref_clk; ref_clk 21 drivers/phy/broadcom/phy-bcm-ns-usb2.c struct clk *ref_clk; ref_clk 34 drivers/phy/broadcom/phy-bcm-ns-usb2.c err = clk_prepare_enable(usb2->ref_clk); ref_clk 40 drivers/phy/broadcom/phy-bcm-ns-usb2.c ref_clk_rate = clk_get_rate(usb2->ref_clk); ref_clk 72 drivers/phy/broadcom/phy-bcm-ns-usb2.c clk_disable_unprepare(usb2->ref_clk); ref_clk 101 drivers/phy/broadcom/phy-bcm-ns-usb2.c usb2->ref_clk = devm_clk_get(dev, "phy-ref-clk"); ref_clk 102 drivers/phy/broadcom/phy-bcm-ns-usb2.c if (IS_ERR(usb2->ref_clk)) { ref_clk 104 drivers/phy/broadcom/phy-bcm-ns-usb2.c return PTR_ERR(usb2->ref_clk); ref_clk 159 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c unsigned long ref_clk = clk_get_rate(priv->phy_ref_clk); ref_clk 170 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c denominator = ref_clk; ref_clk 175 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c dphy_opts->hs_clk_rate, ref_clk); ref_clk 201 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c dphy_opts->hs_clk_rate, ref_clk, ref_clk 207 drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c dphy_opts->hs_clk_rate, ref_clk, numerator, denominator); ref_clk 38 drivers/phy/hisilicon/phy-hisi-inno-usb2.c struct clk *ref_clk; ref_clk 75 drivers/phy/hisilicon/phy-hisi-inno-usb2.c ret = clk_prepare_enable(priv->ref_clk); ref_clk 99 drivers/phy/hisilicon/phy-hisi-inno-usb2.c clk_disable_unprepare(priv->ref_clk); ref_clk 132 drivers/phy/hisilicon/phy-hisi-inno-usb2.c priv->ref_clk = devm_clk_get(dev, NULL); ref_clk 133 drivers/phy/hisilicon/phy-hisi-inno-usb2.c if (IS_ERR(priv->ref_clk)) ref_clk 134 drivers/phy/hisilicon/phy-hisi-inno-usb2.c return PTR_ERR(priv->ref_clk); ref_clk 47 drivers/phy/hisilicon/phy-histb-combphy.c struct clk *ref_clk; ref_clk 120 drivers/phy/hisilicon/phy-histb-combphy.c ret = clk_prepare_enable(priv->ref_clk); ref_clk 153 drivers/phy/hisilicon/phy-histb-combphy.c clk_disable_unprepare(priv->ref_clk); ref_clk 245 drivers/phy/hisilicon/phy-histb-combphy.c priv->ref_clk = devm_clk_get(dev, NULL); ref_clk 246 drivers/phy/hisilicon/phy-histb-combphy.c if (IS_ERR(priv->ref_clk)) { ref_clk 248 drivers/phy/hisilicon/phy-histb-combphy.c return PTR_ERR(priv->ref_clk); ref_clk 297 drivers/phy/mediatek/phy-mtk-tphy.c struct clk *ref_clk; /* reference clock of anolog phy */ ref_clk 905 drivers/phy/mediatek/phy-mtk-tphy.c ret = clk_prepare_enable(instance->ref_clk); ref_clk 969 drivers/phy/mediatek/phy-mtk-tphy.c clk_disable_unprepare(instance->ref_clk); ref_clk 1160 drivers/phy/mediatek/phy-mtk-tphy.c instance->ref_clk = devm_clk_get(&phy->dev, "ref"); ref_clk 1161 drivers/phy/mediatek/phy-mtk-tphy.c if (IS_ERR(instance->ref_clk)) { ref_clk 1163 drivers/phy/mediatek/phy-mtk-tphy.c retval = PTR_ERR(instance->ref_clk); ref_clk 94 drivers/phy/mediatek/phy-mtk-xsphy.c struct clk *ref_clk; /* reference clock of anolog phy */ ref_clk 374 drivers/phy/mediatek/phy-mtk-xsphy.c ret = clk_prepare_enable(inst->ref_clk); ref_clk 390 drivers/phy/mediatek/phy-mtk-xsphy.c clk_disable_unprepare(inst->ref_clk); ref_clk 425 drivers/phy/mediatek/phy-mtk-xsphy.c clk_disable_unprepare(inst->ref_clk); ref_clk 572 drivers/phy/mediatek/phy-mtk-xsphy.c inst->ref_clk = devm_clk_get(&phy->dev, "ref"); ref_clk 573 drivers/phy/mediatek/phy-mtk-xsphy.c if (IS_ERR(inst->ref_clk)) { ref_clk 575 drivers/phy/mediatek/phy-mtk-xsphy.c retval = PTR_ERR(inst->ref_clk); ref_clk 314 drivers/phy/qualcomm/phy-qcom-qusb2.c struct clk *ref_clk; ref_clk 533 drivers/phy/qualcomm/phy-qcom-qusb2.c clk_disable_unprepare(qphy->ref_clk); ref_clk 567 drivers/phy/qualcomm/phy-qcom-qusb2.c ret = clk_prepare_enable(qphy->ref_clk); ref_clk 690 drivers/phy/qualcomm/phy-qcom-qusb2.c ret = clk_prepare_enable(qphy->ref_clk); ref_clk 726 drivers/phy/qualcomm/phy-qcom-qusb2.c clk_disable_unprepare(qphy->ref_clk); ref_clk 748 drivers/phy/qualcomm/phy-qcom-qusb2.c clk_disable_unprepare(qphy->ref_clk); ref_clk 817 drivers/phy/qualcomm/phy-qcom-qusb2.c qphy->ref_clk = devm_clk_get(dev, "ref"); ref_clk 818 drivers/phy/qualcomm/phy-qcom-qusb2.c if (IS_ERR(qphy->ref_clk)) { ref_clk 819 drivers/phy/qualcomm/phy-qcom-qusb2.c ret = PTR_ERR(qphy->ref_clk); ref_clk 67 drivers/phy/qualcomm/phy-qcom-ufs-i.h struct clk *ref_clk; ref_clk 212 drivers/phy/qualcomm/phy-qcom-ufs.c &phy_common->ref_clk); ref_clk 384 drivers/phy/qualcomm/phy-qcom-ufs.c ret = clk_prepare_enable(phy->ref_clk); ref_clk 428 drivers/phy/qualcomm/phy-qcom-ufs.c clk_disable_unprepare(phy->ref_clk); ref_clk 32 drivers/phy/qualcomm/phy-qcom-usb-hs.c struct clk *ref_clk; ref_clk 114 drivers/phy/qualcomm/phy-qcom-usb-hs.c ret = clk_prepare_enable(uphy->ref_clk); ref_clk 175 drivers/phy/qualcomm/phy-qcom-usb-hs.c clk_disable_unprepare(uphy->ref_clk); ref_clk 189 drivers/phy/qualcomm/phy-qcom-usb-hs.c clk_disable_unprepare(uphy->ref_clk); ref_clk 231 drivers/phy/qualcomm/phy-qcom-usb-hs.c uphy->ref_clk = clk = devm_clk_get(&ulpi->dev, "ref"); ref_clk 208 drivers/phy/samsung/phy-exynos5-usbdrd.c struct clk *ref_clk; ref_clk 485 drivers/phy/samsung/phy-exynos5-usbdrd.c clk_prepare_enable(phy_drd->ref_clk); ref_clk 520 drivers/phy/samsung/phy-exynos5-usbdrd.c clk_disable_unprepare(phy_drd->ref_clk); ref_clk 546 drivers/phy/samsung/phy-exynos5-usbdrd.c clk_disable_unprepare(phy_drd->ref_clk); ref_clk 740 drivers/phy/samsung/phy-exynos5-usbdrd.c phy_drd->ref_clk = devm_clk_get(phy_drd->dev, "ref"); ref_clk 741 drivers/phy/samsung/phy-exynos5-usbdrd.c if (IS_ERR(phy_drd->ref_clk)) { ref_clk 743 drivers/phy/samsung/phy-exynos5-usbdrd.c return PTR_ERR(phy_drd->ref_clk); ref_clk 745 drivers/phy/samsung/phy-exynos5-usbdrd.c ref_rate = clk_get_rate(phy_drd->ref_clk); ref_clk 38 drivers/phy/samsung/phy-samsung-usb2.c ret = clk_prepare_enable(drv->ref_clk); ref_clk 52 drivers/phy/samsung/phy-samsung-usb2.c clk_disable_unprepare(drv->ref_clk); ref_clk 77 drivers/phy/samsung/phy-samsung-usb2.c clk_disable_unprepare(drv->ref_clk); ref_clk 199 drivers/phy/samsung/phy-samsung-usb2.c drv->ref_clk = devm_clk_get(dev, "ref"); ref_clk 200 drivers/phy/samsung/phy-samsung-usb2.c if (IS_ERR(drv->ref_clk)) { ref_clk 202 drivers/phy/samsung/phy-samsung-usb2.c return PTR_ERR(drv->ref_clk); ref_clk 205 drivers/phy/samsung/phy-samsung-usb2.c drv->ref_rate = clk_get_rate(drv->ref_clk); ref_clk 37 drivers/phy/samsung/phy-samsung-usb2.h struct clk *ref_clk; ref_clk 82 drivers/rtc/rtc-cadence.c struct clk *ref_clk; ref_clk 283 drivers/rtc/rtc-cadence.c crtc->ref_clk = devm_clk_get(&pdev->dev, "ref_clk"); ref_clk 284 drivers/rtc/rtc-cadence.c if (IS_ERR(crtc->ref_clk)) { ref_clk 285 drivers/rtc/rtc-cadence.c ret = PTR_ERR(crtc->ref_clk); ref_clk 304 drivers/rtc/rtc-cadence.c ret = clk_prepare_enable(crtc->ref_clk); ref_clk 311 drivers/rtc/rtc-cadence.c ref_clk_freq = clk_get_rate(crtc->ref_clk); ref_clk 351 drivers/rtc/rtc-cadence.c clk_disable_unprepare(crtc->ref_clk); ref_clk 367 drivers/rtc/rtc-cadence.c clk_disable_unprepare(crtc->ref_clk); ref_clk 6833 drivers/scsi/ufs/ufshcd.c u32 ref_clk; ref_clk 6837 drivers/scsi/ufs/ufshcd.c QUERY_ATTR_IDN_REF_CLK_FREQ, 0, 0, &ref_clk); ref_clk 6845 drivers/scsi/ufs/ufshcd.c if (ref_clk == freq) ref_clk 83 drivers/spi/spi-axi-spi-engine.c struct clk *ref_clk; ref_clk 135 drivers/spi/spi-axi-spi-engine.c clk_div = DIV_ROUND_UP(clk_get_rate(spi_engine->ref_clk), ref_clk 168 drivers/spi/spi-axi-spi-engine.c unsigned int spi_clk = clk_get_rate(spi_engine->ref_clk); ref_clk 504 drivers/spi/spi-axi-spi-engine.c spi_engine->ref_clk = devm_clk_get(&pdev->dev, "spi_clk"); ref_clk 505 drivers/spi/spi-axi-spi-engine.c if (IS_ERR(spi_engine->ref_clk)) { ref_clk 506 drivers/spi/spi-axi-spi-engine.c ret = PTR_ERR(spi_engine->ref_clk); ref_clk 514 drivers/spi/spi-axi-spi-engine.c ret = clk_prepare_enable(spi_engine->ref_clk); ref_clk 529 drivers/spi/spi-axi-spi-engine.c master->max_speed_hz = clk_get_rate(spi_engine->ref_clk) / 2; ref_clk 543 drivers/spi/spi-axi-spi-engine.c clk_disable_unprepare(spi_engine->ref_clk); ref_clk 567 drivers/spi/spi-axi-spi-engine.c clk_disable_unprepare(spi_engine->ref_clk); ref_clk 116 drivers/spi/spi-cadence.c struct clk *ref_clk; ref_clk 253 drivers/spi/spi-cadence.c frequency = clk_get_rate(xspi->ref_clk); ref_clk 500 drivers/spi/spi-cadence.c xspi->ref_clk = devm_clk_get(&pdev->dev, "ref_clk"); ref_clk 501 drivers/spi/spi-cadence.c if (IS_ERR(xspi->ref_clk)) { ref_clk 503 drivers/spi/spi-cadence.c ret = PTR_ERR(xspi->ref_clk); ref_clk 513 drivers/spi/spi-cadence.c ret = clk_prepare_enable(xspi->ref_clk); ref_clk 562 drivers/spi/spi-cadence.c master->max_speed_hz = clk_get_rate(xspi->ref_clk) / 4; ref_clk 578 drivers/spi/spi-cadence.c clk_disable_unprepare(xspi->ref_clk); ref_clk 603 drivers/spi/spi-cadence.c clk_disable_unprepare(xspi->ref_clk); ref_clk 666 drivers/spi/spi-cadence.c ret = clk_prepare_enable(xspi->ref_clk); ref_clk 688 drivers/spi/spi-cadence.c clk_disable_unprepare(xspi->ref_clk); ref_clk 52 drivers/tty/serial/pic32_uart.c sport->ref_clk++; ref_clk 58 drivers/tty/serial/pic32_uart.c sport->ref_clk--; ref_clk 64 drivers/tty/serial/pic32_uart.h int ref_clk; ref_clk 223 drivers/usb/host/xhci-mtk.c mtk->ref_clk = devm_clk_get_optional(dev, "ref_ck"); ref_clk 224 drivers/usb/host/xhci-mtk.c if (IS_ERR(mtk->ref_clk)) ref_clk 225 drivers/usb/host/xhci-mtk.c return PTR_ERR(mtk->ref_clk); ref_clk 239 drivers/usb/host/xhci-mtk.c ret = clk_prepare_enable(mtk->ref_clk); ref_clk 278 drivers/usb/host/xhci-mtk.c clk_disable_unprepare(mtk->ref_clk); ref_clk 289 drivers/usb/host/xhci-mtk.c clk_disable_unprepare(mtk->ref_clk); ref_clk 143 drivers/usb/host/xhci-mtk.h struct clk *ref_clk; ref_clk 254 drivers/usb/mtu3/mtu3.h struct clk *ref_clk; ref_clk 114 drivers/usb/mtu3/mtu3_plat.c ret = clk_prepare_enable(ssusb->ref_clk); ref_clk 137 drivers/usb/mtu3/mtu3_plat.c clk_disable_unprepare(ssusb->ref_clk); ref_clk 148 drivers/usb/mtu3/mtu3_plat.c clk_disable_unprepare(ssusb->ref_clk); ref_clk 235 drivers/usb/mtu3/mtu3_plat.c ssusb->ref_clk = devm_clk_get_optional(dev, "ref_ck"); ref_clk 236 drivers/usb/mtu3/mtu3_plat.c if (IS_ERR(ssusb->ref_clk)) ref_clk 237 drivers/usb/mtu3/mtu3_plat.c return PTR_ERR(ssusb->ref_clk); ref_clk 410 drivers/video/fbdev/aty/aty128fb.c u32 ref_clk; ref_clk 917 drivers/video/fbdev/aty/aty128fb.c par->constants.ref_clk = BIOS_IN16(bios_pll + 0x0e); ref_clk 922 drivers/video/fbdev/aty/aty128fb.c par->constants.ref_clk); ref_clk 965 drivers/video/fbdev/aty/aty128fb.c if (!par->constants.ref_clk) ref_clk 966 drivers/video/fbdev/aty/aty128fb.c par->constants.ref_clk = 2950; ref_clk 974 drivers/video/fbdev/aty/aty128fb.c par->constants.xclk = round_div((2 * Nx * par->constants.ref_clk), ref_clk 1398 drivers/video/fbdev/aty/aty128fb.c d = c.ref_clk; ref_clk 52 drivers/video/fbdev/aty/atyfb.h int ref_clk; ref_clk 3373 drivers/video/fbdev/aty/atyfb_base.c par->pll_limits.ref_clk = pll_block.ref_freq/100; ref_clk 561 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_clk = (*val) / 10; ref_clk 701 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_clk = xtal; ref_clk 726 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_clk = 2700; ref_clk 737 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_clk = 2700; ref_clk 747 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_clk = 2700; ref_clk 757 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_clk = 2700; ref_clk 768 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_clk = 2700; ref_clk 793 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_clk = BIOS_IN16(pll_info_block + 0x0e); ref_clk 828 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_clk / 100, rinfo->pll.ref_clk % 100, ref_clk 1624 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_div, rinfo->pll.ref_clk, ref_clk 1634 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_div, rinfo->pll.ref_clk, ref_clk 1638 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_clk); ref_clk 143 drivers/video/fbdev/aty/radeonfb.h int ref_clk; ref_clk 45 drivers/video/fbdev/intelfb/intelfbhw.c int min_vco, max_vco, p_transition_clk, ref_clk; ref_clk 663 drivers/video/fbdev/intelfb/intelfbhw.c return plls[index].ref_clk * m / n / p; ref_clk 674 drivers/video/fbdev/intelfb/intelfbhw.c vco = pll->ref_clk * m / n; ref_clk 972 drivers/video/fbdev/intelfb/intelfbhw.c m = ROUND_UP_TO(f_vco * n, pll->ref_clk) / pll->ref_clk; ref_clk 129 drivers/video/fbdev/mbx/mbxfb.c unsigned int ref_clk = 13000; /* FIXME: take from platform data */ ref_clk 149 drivers/video/fbdev/mbx/mbxfb.c clk = (ref_clk * m) / (n * (1 << p)); ref_clk 531 drivers/video/fbdev/smscufx.c const u32 ref_clk = 25000000; ref_clk 536 drivers/video/fbdev/smscufx.c u32 ref_freq0 = ref_clk / div_r0; ref_clk 13 include/linux/platform_data/net-cw1200.h u16 ref_clk; /* REQUIRED (in KHz) */ ref_clk 28 include/linux/platform_data/net-cw1200.h u16 ref_clk; /* REQUIRED (in KHz) */