/linux-5.19.10/sound/soc/samsung/ |
D | bells.c | 34 int sysclk_rate; member 39 .sysclk_rate = 22579200, 43 .sysclk_rate = 45158400, 48 .sysclk_rate = 135475200, 77 bells->sysclk_rate); in bells_set_bias_level() 163 bells->sysclk_rate, in bells_late_probe()
|
D | tm2_wm5110.c | 30 unsigned int sysclk_rate; member 43 priv->sysclk_rate); in tm2_start_sysclk() 52 priv->sysclk_rate); in tm2_start_sysclk() 60 priv->sysclk_rate, in tm2_start_sysclk() 110 priv->sysclk_rate = 147456000U; in tm2_aif1_hw_params() 118 priv->sysclk_rate = 135475200U; in tm2_aif1_hw_params()
|
/linux-5.19.10/sound/soc/sunxi/ |
D | sun8i-codec.c | 189 unsigned int sysclk_rate; member 444 else if (scodec->sysclk_rate == 22579200) in sun8i_codec_startup() 446 else if (scodec->sysclk_rate == 24576000) in sun8i_codec_startup() 477 static int sun8i_codec_get_bclk_div(unsigned int sysclk_rate, in sun8i_codec_get_bclk_div() argument 481 unsigned int div = sysclk_rate / sample_rate >> lrck_div_order; in sun8i_codec_get_bclk_div() 519 unsigned int sysclk_rate = sun8i_codec_get_sysclk_rate(sample_rate); in sun8i_codec_hw_params() local 575 bclk_div = sun8i_codec_get_bclk_div(sysclk_rate, lrck_div_order, sample_rate); in sun8i_codec_hw_params() 593 sysclk_rate); in sun8i_codec_hw_params() 603 scodec->sysclk_rate = sysclk_rate; in sun8i_codec_hw_params()
|
/linux-5.19.10/sound/soc/ti/ |
D | j721e-evm.c | 319 unsigned int sysclk_rate; in j721e_audio_hw_params() local 349 sysclk_rate = priv->hsdiv_rates[domain->parent_clk_id]; in j721e_audio_hw_params() 351 ret = snd_soc_dai_set_sysclk(codec_dai, 0, sysclk_rate, in j721e_audio_hw_params() 356 sysclk_rate); in j721e_audio_hw_params() 362 sysclk_rate, SND_SOC_CLOCK_IN); in j721e_audio_hw_params() 366 sysclk_rate); in j721e_audio_hw_params() 408 unsigned int sysclk_rate; in j721e_audio_init() local 416 sysclk_rate = priv->hsdiv_rates[domain->parent_clk_id]; in j721e_audio_init() 418 ret = snd_soc_dai_set_sysclk(codec_dai, 0, sysclk_rate, in j721e_audio_init() 425 sysclk_rate, SND_SOC_CLOCK_IN); in j721e_audio_init()
|
/linux-5.19.10/sound/soc/codecs/ |
D | wm9081.c | 149 int sysclk_rate; member 649 wm9081->sysclk_rate = wm9081->mclk_rate / 2; in configure_clock() 651 wm9081->sysclk_rate = wm9081->mclk_rate; in configure_clock() 697 wm9081->sysclk_rate = new_sysclk; in configure_clock() 702 wm9081->sysclk_rate = wm9081->mclk_rate; in configure_clock() 724 dev_dbg(component->dev, "CLK_SYS is %dHz\n", wm9081->sysclk_rate); in configure_clock() 1055 best_val = abs((wm9081->sysclk_rate / clk_sys_rates[0].ratio) in wm9081_hw_params() 1058 cur_val = abs((wm9081->sysclk_rate / in wm9081_hw_params() 1090 cur_val = ((wm9081->sysclk_rate * 10) / bclk_divs[i].div) in wm9081_hw_params() 1099 wm9081->bclk = (wm9081->sysclk_rate * 10) / bclk_divs[best].div; in wm9081_hw_params()
|
D | wm8993.c | 215 unsigned int sysclk_rate; member 590 wm8993->sysclk_rate = wm8993->mclk_rate / 2; in configure_clock() 593 wm8993->sysclk_rate = wm8993->mclk_rate; in configure_clock() 606 wm8993->sysclk_rate = wm8993->fll_fout / 2; in configure_clock() 609 wm8993->sysclk_rate = wm8993->fll_fout; in configure_clock() 619 dev_dbg(component->dev, "CLK_SYS is %dHz\n", wm8993->sysclk_rate); in configure_clock() 1242 best_val = abs((wm8993->sysclk_rate / clk_sys_rates[0].ratio) in wm8993_hw_params() 1245 cur_val = abs((wm8993->sysclk_rate / in wm8993_hw_params() 1277 cur_val = ((wm8993->sysclk_rate * 10) / bclk_divs[i].div) in wm8993_hw_params() 1286 wm8993->bclk = (wm8993->sysclk_rate * 10) / bclk_divs[best].div; in wm8993_hw_params()
|
D | wm8904.c | 77 unsigned int sysclk_rate; member 353 wm8904->sysclk_rate = rate / 2; in wm8904_configure_clocking() 356 wm8904->sysclk_rate = rate; in wm8904_configure_clocking() 365 dev_dbg(component->dev, "CLK_SYS is %dHz\n", wm8904->sysclk_rate); in wm8904_configure_clocking() 1336 best_val = abs((wm8904->sysclk_rate / clk_sys_rates[0].ratio) in wm8904_hw_params() 1339 cur_val = abs((wm8904->sysclk_rate / in wm8904_hw_params() 1375 cur_val = ((wm8904->sysclk_rate * 10) / bclk_divs[i].div) in wm8904_hw_params() 1384 wm8904->bclk = (wm8904->sysclk_rate * 10) / bclk_divs[best].div; in wm8904_hw_params()
|
D | wm8994.h | 85 int sysclk_rate[2]; member
|
D | wm8962.c | 57 int sysclk_rate; member 2425 if (!wm8962->sysclk_rate) { in wm8962_configure_bclk() 2436 if (sysclk_rates[i] == wm8962->sysclk_rate / wm8962->lrclk) { in wm8962_configure_bclk() 2444 wm8962->sysclk_rate / wm8962->lrclk); in wm8962_configure_bclk() 2475 dspclk = wm8962->sysclk_rate; in wm8962_configure_bclk() 2478 dspclk = wm8962->sysclk_rate / 2; in wm8962_configure_bclk() 2481 dspclk = wm8962->sysclk_rate / 4; in wm8962_configure_bclk() 2485 dspclk = wm8962->sysclk_rate; in wm8962_configure_bclk() 2652 wm8962->sysclk_rate = freq; in wm8962_set_dai_sysclk()
|
/linux-5.19.10/drivers/mfd/ |
D | twl6040.c | 327 twl6040->sysclk_rate = 19200000; in twl6040_power() 355 twl6040->sysclk_rate = 0; in twl6040_power() 384 twl6040->sysclk_rate = 0; in twl6040_set_pll() 392 if (twl6040->sysclk_rate != freq_out) { in twl6040_set_pll() 505 twl6040->sysclk_rate = freq_out; in twl6040_set_pll() 525 return twl6040->sysclk_rate; in twl6040_get_sysclk()
|
/linux-5.19.10/drivers/i3c/master/ |
D | i3c-master-cdns.c | 1194 unsigned long sysclk_rate = clk_get_rate(master->sysclk); in cdns_i3c_master_calculate_thd_delay() local 1196 (NSEC_PER_SEC / sysclk_rate)); in cdns_i3c_master_calculate_thd_delay() 1209 unsigned long pres_step, sysclk_rate, max_i2cfreq; in cdns_i3c_master_bus_init() local 1232 sysclk_rate = clk_get_rate(master->sysclk); in cdns_i3c_master_bus_init() 1233 if (!sysclk_rate) in cdns_i3c_master_bus_init() 1236 pres = DIV_ROUND_UP(sysclk_rate, (bus->scl_rate.i3c * 4)) - 1; in cdns_i3c_master_bus_init() 1240 bus->scl_rate.i3c = sysclk_rate / ((pres + 1) * 4); in cdns_i3c_master_bus_init() 1244 low = ((I3C_BUS_TLOW_OD_MIN_NS * sysclk_rate) / (pres + 1)) - 2; in cdns_i3c_master_bus_init() 1249 pres = (sysclk_rate / (max_i2cfreq * 5)) - 1; in cdns_i3c_master_bus_init() 1253 bus->scl_rate.i2c = sysclk_rate / ((pres + 1) * 5); in cdns_i3c_master_bus_init()
|
/linux-5.19.10/include/linux/mfd/ |
D | twl6040.h | 227 unsigned int sysclk_rate; member
|
/linux-5.19.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-platform.c | 162 pdata->sysclk_rate = property; in xgbe_acpi_support() 209 pdata->sysclk_rate = clk_get_rate(pdata->sysclk); in xgbe_of_support()
|
D | xgbe-pci.c | 336 pdata->sysclk_rate = XGBE_V2_DMA_CLOCK_FREQ; in xgbe_pci_probe()
|
D | xgbe.h | 1184 unsigned long sysclk_rate; member
|
D | xgbe-dev.c | 140 rate = pdata->sysclk_rate; in xgbe_usec_to_riwt() 163 rate = pdata->sysclk_rate; in xgbe_riwt_to_usec()
|
/linux-5.19.10/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac.h | 617 unsigned long sysclk_rate; member
|
D | dwc-xlgmac-common.c | 55 pdata->sysclk_rate = XLGMAC_SYSCLOCK; in xlgmac_default_config()
|
D | dwc-xlgmac-hw.c | 1427 rate = pdata->sysclk_rate; in xlgmac_usec_to_riwt() 1445 rate = pdata->sysclk_rate; in xlgmac_riwt_to_usec()
|