Home
last modified time | relevance | path

Searched refs:ref_clock (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.10/drivers/net/wireless/ti/wl12xx/
Dmain.c921 if (priv->ref_clock == WL12XX_REFCLOCK_26_XTAL || in wl128x_boot_clk()
922 priv->ref_clock == WL12XX_REFCLOCK_38_XTAL) { in wl128x_boot_clk()
956 *selected_clock = priv->ref_clock; in wl128x_boot_clk()
972 if (priv->ref_clock == CONF_REF_CLK_19_2_E || in wl127x_boot_clk()
973 priv->ref_clock == CONF_REF_CLK_38_4_E || in wl127x_boot_clk()
974 priv->ref_clock == CONF_REF_CLK_38_4_M_XTAL) in wl127x_boot_clk()
977 else if (priv->ref_clock == CONF_REF_CLK_26_E || in wl127x_boot_clk()
978 priv->ref_clock == CONF_REF_CLK_26_M_XTAL || in wl127x_boot_clk()
979 priv->ref_clock == CONF_REF_CLK_52_E) in wl127x_boot_clk()
985 if (priv->ref_clock != CONF_REF_CLK_19_2_E) { in wl127x_boot_clk()
[all …]
Dcmd.c82 gen_parms->general_params.ref_clock = priv->ref_clock; in wl1271_cmd_general_parms()
149 gen_parms->general_params.ref_clock = priv->ref_clock; in wl128x_cmd_general_parms()
Dwl12xx.h65 int ref_clock; member
/Linux-v5.10/drivers/clk/imx/
Dclk-pllv3.c53 unsigned long ref_clock; member
400 return pll->ref_clock; in clk_pllv3_enet_recalc_rate()
453 pll->ref_clock = 1000000000; in imx_clk_hw_pllv3()
457 pll->ref_clock = 500000000; in imx_clk_hw_pllv3()
/Linux-v5.10/drivers/net/wireless/ti/wlcore/
Dini.h19 u8 ref_clock; member
36 u8 ref_clock; member
/Linux-v5.10/drivers/nfc/nfcmrvl/
Dfw_dnld.h64 uint32_t ref_clock; member
Dfw_dnld.c171 memcpy(cmd.param.val, &priv->fw_dnld.header->ref_clock, 4); in process_state_init()
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_dpll_mgr.c1401 int ref_clock, in skl_wrpll_params_populate() argument
1461 params->dco_integer = div_u64(dco_freq, ref_clock * KHz(1)); in skl_wrpll_params_populate()
1463 div_u64((div_u64(dco_freq, ref_clock / KHz(1)) - in skl_wrpll_params_populate()
1469 int ref_clock, in skl_ddi_calculate_wrpll() argument
1535 skl_wrpll_params_populate(wrpll_params, afe_clock, ref_clock, in skl_ddi_calculate_wrpll()
1583 int ref_clock = i915->dpll.ref_clks.nssc; in skl_ddi_wrpll_get_freq() local
1626 ref_clock; in skl_ddi_wrpll_get_freq()
1629 ref_clock / 0x8000; in skl_ddi_wrpll_get_freq()
2548 int ref_clock) in __cnl_ddi_calculate_wrpll() argument
2582 cnl_wrpll_params_populate(wrpll_params, best_dco, ref_clock, in __cnl_ddi_calculate_wrpll()
[all …]
/Linux-v5.10/drivers/bluetooth/
Dath3k.c43 __u8 ref_clock; member
428 switch (fw_version.ref_clock) { in ath3k_load_syscfg()
Dbtusb.c3452 __le32 ref_clock; member
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvegam_smumgr.c726 uint32_t ref_clock; in vegam_calculate_sclk_params() local
750 ref_clock = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in vegam_calculate_sclk_params()
762 ref_clock); in vegam_calculate_sclk_params()
765 do_div(temp, ref_clock); in vegam_calculate_sclk_params()
772 ref_clock); in vegam_calculate_sclk_params()
781 ref_clock); in vegam_calculate_sclk_params()
784 do_div(temp, ref_clock); in vegam_calculate_sclk_params()
Dpolaris10_smumgr.c848 uint32_t ref_clock; in polaris10_calculate_sclk_params() local
872 ref_clock = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in polaris10_calculate_sclk_params()
882 …_int = (uint16_t)((clock << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / ref_clock); in polaris10_calculate_sclk_params()
885 do_div(temp, ref_clock); in polaris10_calculate_sclk_params()
890 …nt16_t)((pcc_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / ref_clock); in polaris10_calculate_sclk_params()
897 …int16_t)((ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / ref_clock); in polaris10_calculate_sclk_params()
900 do_div(temp, ref_clock); in polaris10_calculate_sclk_params()
Dfiji_smumgr.c866 uint32_t ref_clock; in fiji_calculate_sclk_params() local
879 ref_clock = atomctrl_get_reference_clock(hwmgr); in fiji_calculate_sclk_params()
912 uint32_t clk_s = ref_clock * 5 / in fiji_calculate_sclk_params()
Dci_smumgr.c306 uint32_t ref_clock; in ci_calculate_sclk_params() local
319 ref_clock = atomctrl_get_reference_clock(hwmgr); in ci_calculate_sclk_params()
346 uint32_t clk_s = ref_clock * 5 / in ci_calculate_sclk_params()
/Linux-v5.10/drivers/misc/
Dics932s401.c341 static DEVICE_ATTR(ref_clock, S_IRUGO, show_value, NULL);
/Linux-v5.10/drivers/net/ethernet/atheros/
Dag71xx.c622 unsigned long ref_clock; in ag71xx_mdio_get_divider() local
626 ref_clock = clk_get_rate(ag->clk_mdio); in ag71xx_mdio_get_divider()
627 if (!ref_clock) in ag71xx_mdio_get_divider()
644 t = ref_clock / table[i]; in ag71xx_mdio_get_divider()
/Linux-v5.10/drivers/net/wireless/intersil/p54/
Dlmac.h315 __le32 ref_clock; member
Dfwio.c382 setup->v2.ref_clock = cpu_to_le32(644245094); in p54_setup_mac()
/Linux-v5.10/drivers/gpu/drm/radeon/
Drv6xx_dpm.c525 static inline u32 rv6xx_calculate_vco_frequency(u32 ref_clock, in rv6xx_calculate_vco_frequency() argument
529 return ref_clock * ((dividers->fb_div & ~1) << fb_divider_scale) / in rv6xx_calculate_vco_frequency()
Dci_dpm.c1975 u32 ref_clock = rdev->clock.spll.reference_freq; in ci_program_display_gap() local
1993 tmp = pre_vbi_time_in_us * (ref_clock / 100); in ci_program_display_gap()
/Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c4112 uint32_t ref_clock, refresh_rate; in smu7_program_display_gap() local
4117 ref_clock = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in smu7_program_display_gap()
4134 display_gap2 = pre_vbi_time_in_us * (ref_clock / 100); in smu7_program_display_gap()