Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/drivers/gpu/drm/loongson/
Dlsdc_gfxpll.c101 pre_output = pparms->ref_clock / pparms->div_ref * pparms->loopc; in loongson_gfxpll_get_rates()
125 drm_printf(p, "reference clock: %u\n", parms->ref_clock); in loongson_gfxpll_print()
155 pparms->ref_clock = LSDC_PLL_REF_CLK_KHZ; in loongson_gfxpll_init()
Dlsdc_pixpll.c132 pparms->ref_clock = LSDC_PLL_REF_CLK_KHZ; in lsdc_pixel_pll_setup()
197 unsigned int refclk = pparms->ref_clock; in lsdc_pixel_pll_compute()
440 freq = ppar->ref_clock / ppar->div_ref * ppar->loopc / ppar->div_out; in lsdc_pixpll_get_freq()
Dlsdc_gfxpll.h14 unsigned int ref_clock; member
Dlsdc_pixpll.h43 unsigned int ref_clock; member
/linux-6.6.21/drivers/clk/imx/
Dclk-pllv3.c54 unsigned long ref_clock; member
401 return pll->ref_clock; in clk_pllv3_enet_recalc_rate()
454 pll->ref_clock = 1000000000; in imx_clk_hw_pllv3()
458 pll->ref_clock = 500000000; in imx_clk_hw_pllv3()
/linux-6.6.21/drivers/net/wireless/ti/wlcore/
Dini.h19 u8 ref_clock; member
36 u8 ref_clock; member
/linux-6.6.21/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.6.21/drivers/gpu/drm/i915/display/
Dintel_dpll_mgr.c1492 int ref_clock, in skl_wrpll_params_populate() argument
1552 params->dco_integer = div_u64(dco_freq, ref_clock * KHz(1)); in skl_wrpll_params_populate()
1554 div_u64((div_u64(dco_freq, ref_clock / KHz(1)) - in skl_wrpll_params_populate()
1560 int ref_clock, in skl_ddi_calculate_wrpll() argument
1624 skl_wrpll_params_populate(wrpll_params, afe_clock, ref_clock, in skl_ddi_calculate_wrpll()
1634 int ref_clock = i915->display.dpll.ref_clks.nssc; in skl_ddi_wrpll_get_freq() local
1690 ref_clock; in skl_ddi_wrpll_get_freq()
1693 ref_clock / 0x8000; in skl_ddi_wrpll_get_freq()
2630 int ref_clock = i915->display.dpll.ref_clks.nssc; in icl_wrpll_ref_clock() local
2636 if (ref_clock == 38400) in icl_wrpll_ref_clock()
[all …]
/linux-6.6.21/drivers/bluetooth/
Dath3k.c42 __u8 ref_clock; member
427 switch (fw_version.ref_clock) { in ath3k_load_syscfg()
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Dvegam_smumgr.c725 uint32_t ref_clock; in vegam_calculate_sclk_params() local
749 ref_clock = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in vegam_calculate_sclk_params()
761 ref_clock); in vegam_calculate_sclk_params()
764 do_div(temp, ref_clock); in vegam_calculate_sclk_params()
771 ref_clock); in vegam_calculate_sclk_params()
780 ref_clock); in vegam_calculate_sclk_params()
783 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.c307 uint32_t ref_clock; in ci_calculate_sclk_params() local
320 ref_clock = atomctrl_get_reference_clock(hwmgr); in ci_calculate_sclk_params()
347 uint32_t clk_s = ref_clock * 5 / in ci_calculate_sclk_params()
/linux-6.6.21/drivers/misc/
Dics932s401.c340 static DEVICE_ATTR(ref_clock, S_IRUGO, show_value, NULL);
/linux-6.6.21/drivers/net/ethernet/atheros/
Dag71xx.c633 unsigned long ref_clock; in ag71xx_mdio_get_divider() local
637 ref_clock = clk_get_rate(ag->clk_mdio); in ag71xx_mdio_get_divider()
638 if (!ref_clock) in ag71xx_mdio_get_divider()
655 t = ref_clock / table[i]; in ag71xx_mdio_get_divider()
/linux-6.6.21/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.6.21/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.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c4580 uint32_t ref_clock, refresh_rate; in smu7_program_display_gap() local
4585 ref_clock = amdgpu_asic_get_xclk((struct amdgpu_device *)hwmgr->adev); in smu7_program_display_gap()
4602 display_gap2 = pre_vbi_time_in_us * (ref_clock / 100); in smu7_program_display_gap()