Home
last modified time | relevance | path

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

/drivers/net/wireless/ti/wl12xx/
Dmain.c934 if (priv->ref_clock == WL12XX_REFCLOCK_26_XTAL || in wl128x_boot_clk()
935 priv->ref_clock == WL12XX_REFCLOCK_38_XTAL) { in wl128x_boot_clk()
969 *selected_clock = priv->ref_clock; in wl128x_boot_clk()
985 if (priv->ref_clock == CONF_REF_CLK_19_2_E || in wl127x_boot_clk()
986 priv->ref_clock == CONF_REF_CLK_38_4_E || in wl127x_boot_clk()
987 priv->ref_clock == CONF_REF_CLK_38_4_M_XTAL) in wl127x_boot_clk()
990 else if (priv->ref_clock == CONF_REF_CLK_26_E || in wl127x_boot_clk()
991 priv->ref_clock == CONF_REF_CLK_26_M_XTAL || in wl127x_boot_clk()
992 priv->ref_clock == CONF_REF_CLK_52_E) in wl127x_boot_clk()
998 if (priv->ref_clock != CONF_REF_CLK_19_2_E) { in wl127x_boot_clk()
[all …]
Dcmd.c96 gen_parms->general_params.ref_clock = priv->ref_clock; in wl1271_cmd_general_parms()
163 gen_parms->general_params.ref_clock = priv->ref_clock; in wl128x_cmd_general_parms()
Dwl12xx.h79 int ref_clock; member
/drivers/clk/imx/
Dclk-pllv3.c51 unsigned long ref_clock; member
405 return pll->ref_clock; in clk_pllv3_enet_recalc_rate()
448 pll->ref_clock = 1000000000; in imx_clk_pllv3()
452 pll->ref_clock = 500000000; in imx_clk_pllv3()
/drivers/net/wireless/ti/wlcore/
Dini.h33 u8 ref_clock; member
50 u8 ref_clock; member
/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()
/drivers/bluetooth/
Dath3k.c57 __u8 ref_clock; member
471 switch (fw_version.ref_clock) { in ath3k_load_syscfg()
Dbtusb.c2526 __le32 ref_clock; member
/drivers/gpu/drm/amd/powerplay/smumgr/
Dpolaris10_smc.c614 uint32_t ref_clock; in polaris10_calculate_sclk_params() local
638 ref_clock = smu7_get_xclk(hwmgr); in polaris10_calculate_sclk_params()
648 …_int = (uint16_t)((clock << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / ref_clock); in polaris10_calculate_sclk_params()
651 do_div(temp, ref_clock); in polaris10_calculate_sclk_params()
656 …nt16_t)((pcc_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / ref_clock); in polaris10_calculate_sclk_params()
663 …int16_t)((ss_target_freq << table->SclkFcwRangeTable[sclk_setting->PllRange].postdiv) / ref_clock); in polaris10_calculate_sclk_params()
666 do_div(temp, ref_clock); in polaris10_calculate_sclk_params()
Dfiji_smc.c631 uint32_t ref_clock; in fiji_calculate_sclk_params() local
644 ref_clock = atomctrl_get_reference_clock(hwmgr); in fiji_calculate_sclk_params()
677 uint32_t clk_s = ref_clock * 5 / in fiji_calculate_sclk_params()
/drivers/gpu/drm/amd/include/
Dcgs_common.h146 uint32_t ref_clock; member
/drivers/misc/
Dics932s401.c351 static DEVICE_ATTR(ref_clock, S_IRUGO, show_value, NULL);
/drivers/gpu/drm/i915/
Dintel_ddi.c1110 uint32_t p0, p1, p2, dco_freq, ref_clock; in cnl_calc_wrpll_link() local
1152 ref_clock = dev_priv->cdclk.hw.ref; in cnl_calc_wrpll_link()
1154 dco_freq = (cfgcr0 & DPLL_CFGCR0_DCO_INTEGER_MASK) * ref_clock; in cnl_calc_wrpll_link()
1157 DPLL_CFGCR0_DCO_FRAC_SHIFT) * ref_clock) / 0x8000; in cnl_calc_wrpll_link()
/drivers/net/wireless/intersil/p54/
Dlmac.h318 __le32 ref_clock; member
Dfwio.c385 setup->v2.ref_clock = cpu_to_le32(644245094); in p54_setup_mac()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cgs.c869 mode_info->ref_clock = adev->clock.spll.reference_freq; in amdgpu_cgs_get_active_displays_info()
890 mode_info->ref_clock = adev->clock.spll.reference_freq; in amdgpu_cgs_get_active_displays_info()
Dci_dpm.c2114 u32 ref_clock = adev->clock.spll.reference_freq; in ci_program_display_gap() local
2132 tmp = pre_vbi_time_in_us * (ref_clock / 100); in ci_program_display_gap()
/drivers/gpu/drm/amd/powerplay/hwmgr/
Dsmu7_hwmgr.c843 reference_clock = mode_info.ref_clock; in smu7_get_xclk()
3951 uint32_t ref_clock; in smu7_program_display_gap() local
3963 ref_clock = mode_info.ref_clock; in smu7_program_display_gap()
3980 display_gap2 = pre_vbi_time_in_us * (ref_clock / 100); in smu7_program_display_gap()
/drivers/gpu/drm/radeon/
Drv6xx_dpm.c526 static inline u32 rv6xx_calculate_vco_frequency(u32 ref_clock, in rv6xx_calculate_vco_frequency() argument
530 return ref_clock * ((dividers->fb_div & ~1) << fb_divider_scale) / in rv6xx_calculate_vco_frequency()
Dci_dpm.c1966 u32 ref_clock = rdev->clock.spll.reference_freq; in ci_program_display_gap() local
1984 tmp = pre_vbi_time_in_us * (ref_clock / 100); in ci_program_display_gap()