/kernel/linux/linux-5.10/arch/powerpc/boot/ |
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()
|
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()
|
D | cuboot-katmai.c | 32 unsigned long sysclk = 33333000; in katmai_fixups() local 37 ibm440spe_fixup_clocks(sysclk, 6 * 1843200, 0); in katmai_fixups()
|
D | cuboot-taishan.c | 34 unsigned long sysclk = 33000000; in taishan_fixups() local 36 ibm440gx_fixup_clocks(sysclk, 6 * 1843200, 25000000); in taishan_fixups()
|
D | bamboo.c | 28 unsigned long sysclk = 33333333; in bamboo_fixups() local 30 ibm440ep_fixup_clocks(sysclk, 11059200, 25000000); in bamboo_fixups()
|
D | cuboot-sequoia.c | 37 unsigned long sysclk = 33333333; in sequoia_fixups() local 39 ibm440ep_fixup_clocks(sysclk, 11059200, 50000000); in sequoia_fixups()
|
D | cuboot-rainier.c | 37 unsigned long sysclk = 33333333; in rainier_fixups() local 39 ibm440ep_fixup_clocks(sysclk, 11059200, 50000000); in rainier_fixups()
|
D | cuboot-sam440ep.c | 30 unsigned long sysclk = 66666666; in sam440ep_fixups() local 32 ibm440ep_fixup_clocks(sysclk, 11059200, 25000000); in sam440ep_fixups()
|
D | cuboot-yosemite.c | 24 unsigned long sysclk = 66666666; in yosemite_fixups() local 26 ibm440ep_fixup_clocks(sysclk, 11059200, 50000000); in yosemite_fixups()
|
D | cuboot-kilauea.c | 29 unsigned long sysclk = 33333333; in kilauea_fixups() local 31 ibm405ex_fixup_clocks(sysclk, KILAUEA_SYS_EXT_SERIAL_CLOCK); in kilauea_fixups()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/83xx/ |
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()
|
/kernel/linux/linux-5.10/sound/soc/ti/ |
D | davinci-evm.c | 26 unsigned sysclk; member 61 unsigned sysclk = ((struct snd_soc_card_drvdata_davinci *) in evm_hw_params() local 62 snd_soc_card_get_drvdata(soc_card))->sysclk; in evm_hw_params() 65 ret = snd_soc_dai_set_sysclk(codec_dai, 0, sysclk, SND_SOC_CLOCK_OUT); in evm_hw_params() 70 ret = snd_soc_dai_set_sysclk(cpu_dai, 0, sysclk, SND_SOC_CLOCK_OUT); in evm_hw_params() 273 .sysclk = 12288000, 287 .sysclk = 27000000, 300 .sysclk = 27000000, 313 .sysclk = 27000000, 325 .sysclk = 24576000, [all …]
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | integratorap-im-pd1.dts | 37 clocks = <&sysclk>; 46 clocks = <&sysclk>; 164 clocks = <&impd1_uartclk>, <&sysclk>; 172 clocks = <&impd1_uartclk>, <&sysclk>; 180 clocks = <&impd1_sspclk>, <&sysclk>; 192 clocks = <&sysclk>; 204 clocks = <&sysclk>; 212 clocks = <&sysclk>; 221 clocks = <&sysclk>, <&sysclk>; 234 clocks = <&sysclk>; [all …]
|
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>;
|
D | ox810se.dtsi | 60 sysclk: sysclk { label 240 clocks = <&sysclk>; 254 clocks = <&sysclk>; 268 clocks = <&sysclk>; 282 clocks = <&sysclk>;
|
/kernel/linux/linux-5.10/sound/soc/pxa/ |
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()
|
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() 512 sspa->sysclk = clk_get(NULL, "mmp-sysclk"); in asoc_mmp_sspa_probe() 513 if (IS_ERR(sspa->sysclk)) { in asoc_mmp_sspa_probe() 515 return PTR_ERR(sspa->sysclk); in asoc_mmp_sspa_probe() 555 clk_put(sspa->sysclk); in asoc_mmp_sspa_remove()
|
/kernel/linux/linux-5.10/drivers/spi/ |
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()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ |
D | qoriq-clock.txt | 64 - clocks: If clock-frequency is not specified, sysclk may be provided 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>; [all …]
|
/kernel/linux/linux-5.10/sound/soc/meson/ |
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 …]
|
/kernel/linux/linux-5.10/sound/soc/atmel/ |
D | mchp-i2s-mcc.c | 238 unsigned int sysclk; member 303 dev->sysclk = freq; in mchp_i2s_mcc_set_sysclk() 401 unsigned int sysclk; in mchp_i2s_mcc_config_divs() local 406 if (!dev->sysclk) in mchp_i2s_mcc_config_divs() 407 sysclk = bclk; in mchp_i2s_mcc_config_divs() 409 sysclk = dev->sysclk; in mchp_i2s_mcc_config_divs() 416 lcm_rate = lcm(sysclk, bclk); in mchp_i2s_mcc_config_divs() 417 if ((lcm_rate / sysclk % 2 == 1 && lcm_rate / sysclk > 2) || in mchp_i2s_mcc_config_divs() 422 (clk_rate == sysclk || clk_rate / (sysclk * 2) <= GENMASK(5, 0)) && in mchp_i2s_mcc_config_divs() 465 if (dev->sysclk) in mchp_i2s_mcc_config_divs() [all …]
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
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 …]
|
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 …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/i3c/ |
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";
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/ti/davinci/ |
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 {
|