/linux-6.6.21/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 918 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 …]
|
D | cmd.c | 82 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()
|
D | wl12xx.h | 65 int ref_clock; member
|
/linux-6.6.21/drivers/gpu/drm/loongson/ |
D | lsdc_gfxpll.c | 101 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()
|
D | lsdc_pixpll.c | 132 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()
|
D | lsdc_gfxpll.h | 14 unsigned int ref_clock; member
|
D | lsdc_pixpll.h | 43 unsigned int ref_clock; member
|
/linux-6.6.21/drivers/clk/imx/ |
D | clk-pllv3.c | 54 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/ |
D | ini.h | 19 u8 ref_clock; member 36 u8 ref_clock; member
|
/linux-6.6.21/drivers/nfc/nfcmrvl/ |
D | fw_dnld.h | 53 uint32_t ref_clock; member
|
D | fw_dnld.c | 159 memcpy(cmd.param.val, &priv->fw_dnld.header->ref_clock, 4); in process_state_init()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_dpll_mgr.c | 1492 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/ |
D | ath3k.c | 42 __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/ |
D | vegam_smumgr.c | 725 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()
|
D | polaris10_smumgr.c | 896 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()
|
D | fiji_smumgr.c | 865 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()
|
D | ci_smumgr.c | 307 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/ |
D | ics932s401.c | 340 static DEVICE_ATTR(ref_clock, S_IRUGO, show_value, NULL);
|
/linux-6.6.21/drivers/net/ethernet/atheros/ |
D | ag71xx.c | 633 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/ |
D | lmac.h | 315 __le32 ref_clock; member
|
D | fwio.c | 380 setup->v2.ref_clock = cpu_to_le32(644245094); in p54_setup_mac()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | rv6xx_dpm.c | 525 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()
|
D | ci_dpm.c | 1953 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/ |
D | smu7_hwmgr.c | 4580 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()
|