Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ti/wl12xx/
A Dmain.c953 *selected_clock = priv->ref_clock; in wl128x_boot_clk()
976 priv->ref_clock == CONF_REF_CLK_52_E) in wl127x_boot_clk()
1120 clk |= (priv->ref_clock << 1) << 4; in wl12xx_pre_boot()
1829 if (priv->ref_clock < 0) { in wl12xx_setup()
1835 return priv->ref_clock; in wl12xx_setup()
1839 priv->ref_clock = WL12XX_REFCLOCK_19; in wl12xx_setup()
1841 priv->ref_clock = WL12XX_REFCLOCK_26; in wl12xx_setup()
1843 priv->ref_clock = WL12XX_REFCLOCK_26_XTAL; in wl12xx_setup()
1845 priv->ref_clock = WL12XX_REFCLOCK_38; in wl12xx_setup()
1847 priv->ref_clock = WL12XX_REFCLOCK_38_XTAL; in wl12xx_setup()
[all …]
A 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()
A Dwl12xx.h65 int ref_clock; member
/linux/drivers/clk/imx/
A 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/drivers/gpu/drm/i915/display/
A Dintel_dpll_mgr.c1397 int ref_clock, in skl_wrpll_params_populate() argument
1465 int ref_clock, in skl_ddi_calculate_wrpll() argument
1579 int ref_clock = i915->dpll.ref_clks.nssc; in skl_ddi_wrpll_get_freq() local
1635 ref_clock; in skl_ddi_wrpll_get_freq()
1638 ref_clock / 0x8000; in skl_ddi_wrpll_get_freq()
2574 int ref_clock = i915->dpll.ref_clks.nssc; in icl_wrpll_ref_clock() local
2580 if (ref_clock == 38400) in icl_wrpll_ref_clock()
2581 ref_clock = 19200; in icl_wrpll_ref_clock()
2583 return ref_clock; in icl_wrpll_ref_clock()
2675 ref_clock; in icl_ddi_combo_pll_get_freq()
[all …]
/linux/drivers/net/wireless/ti/wlcore/
A Dini.h19 u8 ref_clock; member
36 u8 ref_clock; member
/linux/drivers/nfc/nfcmrvl/
A Dfw_dnld.h53 uint32_t ref_clock; member
A Dfw_dnld.c159 memcpy(cmd.param.val, &priv->fw_dnld.header->ref_clock, 4); in process_state_init()
/linux/drivers/bluetooth/
A Dath3k.c43 __u8 ref_clock; member
428 switch (fw_version.ref_clock) { in ath3k_load_syscfg()
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
A 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()
A 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()
A 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()
A 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/drivers/net/ethernet/atheros/
A 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/drivers/misc/
A Dics932s401.c341 static DEVICE_ATTR(ref_clock, S_IRUGO, show_value, NULL);
/linux/drivers/net/wireless/intersil/p54/
A Dlmac.h315 __le32 ref_clock; member
A Dfwio.c382 setup->v2.ref_clock = cpu_to_le32(644245094); in p54_setup_mac()
/linux/drivers/gpu/drm/radeon/
A 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()
A 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/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dsmu7_hwmgr.c4526 uint32_t ref_clock, refresh_rate; in smu7_program_display_gap() local
4531 ref_clock = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in smu7_program_display_gap()
4548 display_gap2 = pre_vbi_time_in_us * (ref_clock / 100); in smu7_program_display_gap()

Completed in 77 milliseconds