Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ti/wl12xx/
Dmain.c918 if (priv->ref_clock == WL12XX_REFCLOCK_26_XTAL || in wl128x_boot_clk()
919 priv->ref_clock == WL12XX_REFCLOCK_38_XTAL) { in wl128x_boot_clk()
953 *selected_clock = priv->ref_clock; in wl128x_boot_clk()
969 if (priv->ref_clock == CONF_REF_CLK_19_2_E || in wl127x_boot_clk()
970 priv->ref_clock == CONF_REF_CLK_38_4_E || in wl127x_boot_clk()
971 priv->ref_clock == CONF_REF_CLK_38_4_M_XTAL) in wl127x_boot_clk()
974 else if (priv->ref_clock == CONF_REF_CLK_26_E || in wl127x_boot_clk()
975 priv->ref_clock == CONF_REF_CLK_26_M_XTAL || in wl127x_boot_clk()
976 priv->ref_clock == CONF_REF_CLK_52_E) in wl127x_boot_clk()
982 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-6.1.9/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-6.1.9/drivers/net/wireless/ti/wlcore/
Dini.h19 u8 ref_clock; member
36 u8 ref_clock; member
/linux-6.1.9/drivers/nfc/nfcmrvl/
Dfw_dnld.h53 uint32_t ref_clock; member
Dfw_dnld.c159 memcpy(cmd.param.val, &priv->fw_dnld.header->ref_clock, 4); in process_state_init()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dpll_mgr.c1488 int ref_clock, in skl_wrpll_params_populate() argument
1548 params->dco_integer = div_u64(dco_freq, ref_clock * KHz(1)); in skl_wrpll_params_populate()
1550 div_u64((div_u64(dco_freq, ref_clock / KHz(1)) - in skl_wrpll_params_populate()
1556 int ref_clock, in skl_ddi_calculate_wrpll() argument
1620 skl_wrpll_params_populate(wrpll_params, afe_clock, ref_clock, in skl_ddi_calculate_wrpll()
1630 int ref_clock = i915->display.dpll.ref_clks.nssc; in skl_ddi_wrpll_get_freq() local
1686 ref_clock; in skl_ddi_wrpll_get_freq()
1689 ref_clock / 0x8000; in skl_ddi_wrpll_get_freq()
2650 int ref_clock = i915->display.dpll.ref_clks.nssc; in icl_wrpll_ref_clock() local
2656 if (ref_clock == 38400) in icl_wrpll_ref_clock()
[all …]
/linux-6.1.9/drivers/bluetooth/
Dath3k.c42 __u8 ref_clock; member
427 switch (fw_version.ref_clock) { in ath3k_load_syscfg()
/linux-6.1.9/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.c896 uint32_t ref_clock; in polaris10_calculate_sclk_params() local
920 ref_clock = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in polaris10_calculate_sclk_params()
930 …_int = (uint16_t)((clock << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / ref_clock); in polaris10_calculate_sclk_params()
933 do_div(temp, ref_clock); in polaris10_calculate_sclk_params()
938 …nt16_t)((pcc_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / ref_clock); in polaris10_calculate_sclk_params()
945 …int16_t)((ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / ref_clock); in polaris10_calculate_sclk_params()
948 do_div(temp, ref_clock); in polaris10_calculate_sclk_params()
Dfiji_smumgr.c865 uint32_t ref_clock; in fiji_calculate_sclk_params() local
878 ref_clock = atomctrl_get_reference_clock(hwmgr); in fiji_calculate_sclk_params()
911 uint32_t clk_s = ref_clock * 5 / in fiji_calculate_sclk_params()
Dci_smumgr.c308 uint32_t ref_clock; in ci_calculate_sclk_params() local
321 ref_clock = atomctrl_get_reference_clock(hwmgr); in ci_calculate_sclk_params()
348 uint32_t clk_s = ref_clock * 5 / in ci_calculate_sclk_params()
/linux-6.1.9/drivers/misc/
Dics932s401.c341 static DEVICE_ATTR(ref_clock, S_IRUGO, show_value, NULL);
/linux-6.1.9/drivers/net/ethernet/atheros/
Dag71xx.c632 unsigned long ref_clock; in ag71xx_mdio_get_divider() local
636 ref_clock = clk_get_rate(ag->clk_mdio); in ag71xx_mdio_get_divider()
637 if (!ref_clock) in ag71xx_mdio_get_divider()
654 t = ref_clock / table[i]; in ag71xx_mdio_get_divider()
/linux-6.1.9/drivers/net/wireless/intersil/p54/
Dlmac.h315 __le32 ref_clock; member
Dfwio.c380 setup->v2.ref_clock = cpu_to_le32(644245094); in p54_setup_mac()
/linux-6.1.9/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.c1953 u32 ref_clock = rdev->clock.spll.reference_freq; in ci_program_display_gap() local
1971 tmp = pre_vbi_time_in_us * (ref_clock / 100); in ci_program_display_gap()
/linux-6.1.9/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c4522 uint32_t ref_clock, refresh_rate; in smu7_program_display_gap() local
4527 ref_clock = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in smu7_program_display_gap()
4544 display_gap2 = pre_vbi_time_in_us * (ref_clock / 100); in smu7_program_display_gap()