/linux/arch/riscv/boot/dts/canaan/ |
A D | k210.dtsi | 78 <&sysclk K210_CLK_SRAM1>, 79 <&sysclk K210_CLK_AI>; 146 clocks = <&sysclk K210_CLK_DMA>, <&sysclk K210_CLK_DMA>; 171 <&sysclk K210_CLK_GPIO>; 192 <&sysclk K210_CLK_APB0>; 208 <&sysclk K210_CLK_APB0>; 224 <&sysclk K210_CLK_APB0>; 243 <&sysclk K210_CLK_APB0>; 281 <&sysclk K210_CLK_APB0>; 291 <&sysclk K210_CLK_APB0>; [all …]
|
/linux/arch/powerpc/boot/ |
A D | mpc8xx.c | 55 void mpc8xx_set_clocks(u32 sysclk) in mpc8xx_set_clocks() argument 59 dt_fixup_cpu_clocks(sysclk, sysclk / 16, sysclk); in mpc8xx_set_clocks() 63 setprop(node, "clock-frequency", &sysclk, 4); in mpc8xx_set_clocks() 67 setprop(node, "clock-frequency", &sysclk, 4); in mpc8xx_set_clocks() 72 u32 sysclk = mpc885_get_clock(crystal); in mpc885_fixup_clocks() local 73 if (!sysclk) in mpc885_fixup_clocks() 76 mpc8xx_set_clocks(sysclk); in mpc885_fixup_clocks()
|
A D | cuboot-acadia.c | 43 unsigned long sysclk, cpr_plld, cpr_pllc, cpr_primad, plloutb, i; in get_clocks() local 57 sysclk = (in_8((unsigned char *)0x80000000) == 0xc) ? 66666666 : 33333000; in get_clocks() 114 freqOPB = (sysclk *pllFbkDiv) /pllOpbDiv; in get_clocks() 116 freqEBC = (sysclk * pllFbkDiv) / pllExtBusDiv; in get_clocks() 118 plloutb = ((sysclk * ((cpr_pllc & PLLC_SRC_MASK) ? in get_clocks()
|
A D | cuboot-katmai.c | 32 unsigned long sysclk = 33333000; in katmai_fixups() local 37 ibm440spe_fixup_clocks(sysclk, 6 * 1843200, 0); in katmai_fixups()
|
A D | bamboo.c | 28 unsigned long sysclk = 33333333; in bamboo_fixups() local 30 ibm440ep_fixup_clocks(sysclk, 11059200, 25000000); in bamboo_fixups()
|
/linux/sound/soc/ti/ |
A D | davinci-evm.c | 26 unsigned sysclk; member 61 snd_soc_card_get_drvdata(soc_card))->sysclk; in evm_hw_params() 272 .sysclk = 12288000, 286 .sysclk = 27000000, 299 .sysclk = 27000000, 312 .sysclk = 27000000, 324 .sysclk = 24576000, 336 .sysclk = 24576000, 441 unsigned int requestd_rate = drvdata->sysclk; in davinci_evm_probe() 444 if (drvdata->sysclk != requestd_rate) in davinci_evm_probe() [all …]
|
/linux/arch/powerpc/platforms/83xx/ |
A D | mpc832x_rdb.c | 38 static int __init of_fsl_spi_probe(char *type, char *compatible, u32 sysclk, in of_fsl_spi_probe() argument 59 pdata.sysclk = sysclk; in of_fsl_spi_probe() 124 u32 sysclk = -1; in fsl_spi_init() local 128 sysclk = get_brgfreq(); in fsl_spi_init() 129 if (sysclk == -1) { in fsl_spi_init() 130 sysclk = fsl_get_sys_freq(); in fsl_spi_init() 131 if (sysclk == -1) in fsl_spi_init() 135 ret = of_fsl_spi_probe(NULL, "fsl,spi", sysclk, board_infos, in fsl_spi_init() 138 of_fsl_spi_probe("spi", "fsl_spi", sysclk, board_infos, in fsl_spi_init()
|
/linux/arch/arm/boot/dts/ |
A D | integratorap-im-pd1.dts | 41 clocks = <&sysclk>; 51 clocks = <&sysclk>; 169 clocks = <&impd1_uartclk>, <&sysclk>; 177 clocks = <&impd1_uartclk>, <&sysclk>; 185 clocks = <&impd1_sspclk>, <&sysclk>; 197 clocks = <&sysclk>; 209 clocks = <&sysclk>; 217 clocks = <&sysclk>; 226 clocks = <&sysclk>, <&sysclk>; 239 clocks = <&sysclk>; [all …]
|
A D | mps2.dtsi | 81 sysclk: clk-sys { label 151 clocks = <&sysclk>; 159 clocks = <&sysclk>; 166 clocks = <&sysclk>, <&sysclk>, <&sysclk>; 177 clocks = <&sysclk>; 185 clocks = <&sysclk>; 193 clocks = <&sysclk>; 202 clocks = <&sysclk>, <&sysclk>;
|
A D | ox810se.dtsi | 60 sysclk: sysclk { label 240 clocks = <&sysclk>; 254 clocks = <&sysclk>; 268 clocks = <&sysclk>; 282 clocks = <&sysclk>;
|
/linux/drivers/spi/ |
A D | spi-fsl-lib.c | 100 mpc8xxx_spi->spibrg = pdata->sysclk; in mpc8xxx_spi_probe() 134 pdata->sysclk = get_brgfreq(); in of_mpc8xxx_spi_probe() 135 if (pdata->sysclk == -1) { in of_mpc8xxx_spi_probe() 136 pdata->sysclk = fsl_get_sys_freq(); in of_mpc8xxx_spi_probe() 137 if (pdata->sysclk == -1) in of_mpc8xxx_spi_probe() 141 ret = of_property_read_u32(np, "clock-frequency", &pdata->sysclk); in of_mpc8xxx_spi_probe()
|
/linux/sound/soc/pxa/ |
A D | brownstone.c | 49 int freq_out, sspa_mclk, sysclk; in brownstone_wm8994_hw_params() local 53 sysclk = params_rate(params) * 256; in brownstone_wm8994_hw_params() 57 sysclk = params_rate(params) * 512; in brownstone_wm8994_hw_params() 62 snd_soc_dai_set_pll(cpu_dai, MMP_SYSCLK, 0, freq_out, sysclk); in brownstone_wm8994_hw_params() 66 snd_soc_dai_set_sysclk(codec_dai, WM8994_SYSCLK_MCLK1, sysclk, 0); in brownstone_wm8994_hw_params()
|
A D | mmp-sspa.c | 38 struct clk *sysclk; member 88 clk_prepare_enable(sspa->sysclk); in mmp_sspa_startup() 100 clk_disable_unprepare(sspa->sysclk); in mmp_sspa_shutdown() 146 ret = clk_set_rate(sspa->sysclk, freq_out); in mmp_sspa_set_dai_pll() 515 sspa->sysclk = clk_get(NULL, "mmp-sysclk"); in asoc_mmp_sspa_probe() 516 if (IS_ERR(sspa->sysclk)) { in asoc_mmp_sspa_probe() 518 return PTR_ERR(sspa->sysclk); in asoc_mmp_sspa_probe() 558 clk_put(sspa->sysclk); in asoc_mmp_sspa_remove()
|
/linux/Documentation/devicetree/bindings/clock/ |
A D | qoriq-clock.txt | 71 "sysclk" and "coreclk". 83 0 sysclk must be 0 120 * "fsl,qoriq-sysclk-1.0": for input system clock (v1.0). 122 * "fsl,qoriq-sysclk-2.0": for input system clock (v2.0). 127 clock-specifier. Should be <0> for "fsl,qoriq-sysclk-[1,2].0" 153 sysclk: sysclk { 155 compatible = "fsl,qoriq-sysclk-1.0"; 156 clock-output-names = "sysclk"; 163 clocks = <&sysclk>; 171 clocks = <&sysclk>; [all …]
|
/linux/sound/soc/meson/ |
A D | axg-pdm.c | 95 struct clk *sysclk; member 176 return clk_set_rate(priv->sysclk, sys_rate); in axg_pdm_set_sysclk() 178 return clk_set_rate(priv->sysclk, priv->cfg->sys_rate); in axg_pdm_set_sysclk() 187 spmax = DIV_ROUND_UP_ULL((u64)clk_get_rate(priv->sysclk), in axg_pdm_set_sample_pointer() 396 ret = clk_set_rate(priv->sysclk, priv->cfg->sys_rate); in axg_pdm_dai_probe() 402 ret = clk_prepare_enable(priv->sysclk); in axg_pdm_dai_probe() 427 clk_disable_unprepare(priv->sysclk); in axg_pdm_dai_probe() 437 clk_disable_unprepare(priv->sysclk); in axg_pdm_dai_remove() 629 priv->sysclk = devm_clk_get(dev, "sysclk"); in axg_pdm_probe() 630 if (IS_ERR(priv->sysclk)) { in axg_pdm_probe() [all …]
|
/linux/sound/soc/atmel/ |
A D | mchp-i2s-mcc.c | 247 unsigned int sysclk; member 325 dev->sysclk = freq; in mchp_i2s_mcc_set_sysclk() 423 unsigned int sysclk; in mchp_i2s_mcc_config_divs() local 428 if (!dev->sysclk) in mchp_i2s_mcc_config_divs() 429 sysclk = bclk; in mchp_i2s_mcc_config_divs() 431 sysclk = dev->sysclk; in mchp_i2s_mcc_config_divs() 439 if ((lcm_rate / sysclk % 2 == 1 && lcm_rate / sysclk > 2) || in mchp_i2s_mcc_config_divs() 444 (clk_rate == sysclk || clk_rate / (sysclk * 2) <= GENMASK(5, 0)) && in mchp_i2s_mcc_config_divs() 487 if (dev->sysclk) in mchp_i2s_mcc_config_divs() 553 if (dev->sysclk) in mchp_i2s_mcc_hw_params() [all …]
|
/linux/sound/soc/codecs/ |
A D | max9860.c | 260 u8 sysclk = 0; in max9860_hw_params() local 369 sysclk = MAX9860_FREQ_12MHZ; in max9860_hw_params() 372 sysclk = MAX9860_FREQ_13MHZ; in max9860_hw_params() 375 sysclk = MAX9860_FREQ_19_2MHZ; in max9860_hw_params() 386 if (sysclk && params_rate(params) == 16000) in max9860_hw_params() 387 sysclk |= MAX9860_16KHZ; in max9860_hw_params() 401 if (!sysclk) { in max9860_hw_params() 404 sysclk |= MAX9860_16KHZ; in max9860_hw_params() 410 sysclk |= max9860->psclk; in max9860_hw_params() 411 dev_dbg(component->dev, "SYSCLK %02x\n", sysclk); in max9860_hw_params() [all …]
|
A D | da7210.c | 761 u32 fs, sysclk; in da7210_hw_params() local 794 sysclk = 3072000; in da7210_hw_params() 798 sysclk = 2822400; in da7210_hw_params() 802 sysclk = 3072000; in da7210_hw_params() 806 sysclk = 3072000; in da7210_hw_params() 810 sysclk = 2822400; in da7210_hw_params() 814 sysclk = 3072000; in da7210_hw_params() 818 sysclk = 2822400; in da7210_hw_params() 822 sysclk = 3072000; in da7210_hw_params() 826 sysclk = 2822400; in da7210_hw_params() [all …]
|
A D | da9055.c | 1054 u32 sysclk; in da9055_hw_params() local 1080 sysclk = 3072000; in da9055_hw_params() 1084 sysclk = 2822400; in da9055_hw_params() 1088 sysclk = 3072000; in da9055_hw_params() 1092 sysclk = 3072000; in da9055_hw_params() 1096 sysclk = 2822400; in da9055_hw_params() 1100 sysclk = 3072000; in da9055_hw_params() 1104 sysclk = 2822400; in da9055_hw_params() 1108 sysclk = 3072000; in da9055_hw_params() 1112 sysclk = 2822400; in da9055_hw_params() [all …]
|
A D | wm8978.c | 103 enum wm8978_sysclk_src sysclk; member 626 wm8978->sysclk = clk_id; in wm8978_set_dai_sysclk() 629 if (wm8978->sysclk == WM8978_PLL && (!freq || clk_id == WM8978_MCLK)) { in wm8978_set_dai_sysclk() 638 wm8978->sysclk = WM8978_MCLK; in wm8978_set_dai_sysclk() 775 if (wm8978->sysclk == WM8978_MCLK) { in wm8978_hw_params() 814 wm8978->sysclk == WM8978_MCLK ? in wm8978_hw_params() 826 if (wm8978->sysclk != current_clk_id) { in wm8978_hw_params() 827 if (wm8978->sysclk == WM8978_PLL) in wm8978_hw_params() 981 wm8978->sysclk = WM8978_PLL; in wm8978_probe()
|
A D | wm8988.c | 115 unsigned int sysclk; member 564 wm8988->sysclk = freq; in wm8988_set_dai_sysclk() 572 wm8988->sysclk = freq; in wm8988_set_dai_sysclk() 578 wm8988->sysclk = freq; in wm8988_set_dai_sysclk() 651 if (!wm8988->sysclk) { in wm8988_pcm_startup() 674 coeff = get_coeff(wm8988->sysclk, params_rate(params)); in wm8988_pcm_hw_params() 676 coeff = get_coeff(wm8988->sysclk / 2, params_rate(params)); in wm8988_pcm_hw_params() 682 params_rate(params), wm8988->sysclk); in wm8988_pcm_hw_params()
|
A D | wm8960.c | 131 int sysclk; member 626 int sysclk, bclk, lrclk; in wm8960_configure_sysclk() local 640 sysclk = mclk / sysclk_divs[i]; in wm8960_configure_sysclk() 642 if (sysclk != dac_divs[j] * lrclk) in wm8960_configure_sysclk() 645 diff = sysclk - bclk * bclk_divs[k] / 10; in wm8960_configure_sysclk() 689 int sysclk, bclk, lrclk, freq_out; in wm8960_configure_pll() local 710 sysclk = lrclk * dac_divs[j]; in wm8960_configure_pll() 711 freq_out = sysclk * sysclk_divs[i]; in wm8960_configure_pll() 774 } else if (wm8960->sysclk) { in wm8960_configure_clocking() 775 freq_out = wm8960->sysclk; in wm8960_configure_clocking() [all …]
|
A D | max9850.c | 27 unsigned int sysclk; member 120 if (!max9850->sysclk) in max9850_hw_params() 128 do_div(lrclk_div, max9850->sysclk); in max9850_hw_params() 167 max9850->sysclk = freq; in max9850_set_dai_sysclk()
|
/linux/Documentation/devicetree/bindings/i3c/ |
A D | cdns,i3c-master.txt | 7 - clocks: shall reference the pclk and sysclk 8 - clock-names: shall contain "pclk" and "sysclk" 32 clock-names = "pclk", "sysclk";
|
/linux/Documentation/devicetree/bindings/clock/ti/davinci/ |
A D | pll.txt | 32 sysclk 34 domains. The node name must be "sysclk". Consumers of this node should 67 pll0_sysclk: sysclk { 86 pll0_sysclk: sysclk {
|