/Linux-v6.1/arch/riscv/boot/dts/canaan/ |
D | k210.dtsi | 91 clocks = <&sysclk K210_CLK_SRAM0>, 92 <&sysclk K210_CLK_SRAM1>, 93 <&sysclk K210_CLK_AI>; 139 clocks = <&sysclk K210_CLK_CPU>; 162 clocks = <&sysclk K210_CLK_DMA>, <&sysclk K210_CLK_DMA>; 179 clocks = <&sysclk K210_CLK_APB0>; 186 clocks = <&sysclk K210_CLK_APB0>, 187 <&sysclk K210_CLK_GPIO>; 207 clocks = <&sysclk K210_CLK_UART1>, 208 <&sysclk K210_CLK_APB0>; [all …]
|
/Linux-v6.1/drivers/clk/davinci/ |
D | pll-dm365.c | 28 SYSCLK(1, pll1_sysclk1, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 29 SYSCLK(2, pll1_sysclk2, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 30 SYSCLK(3, pll1_sysclk3, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 31 SYSCLK(4, pll1_sysclk4, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 32 SYSCLK(5, pll1_sysclk5, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 33 SYSCLK(6, pll1_sysclk6, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 34 SYSCLK(7, pll1_sysclk7, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 35 SYSCLK(8, pll1_sysclk8, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 36 SYSCLK(9, pll1_sysclk9, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 109 SYSCLK(1, pll2_sysclk1, pll2_pllen, 5, SYSCLK_ALWAYS_ENABLED); [all …]
|
D | pll-da850.c | 49 SYSCLK(1, pll0_sysclk1, pll0_pllen, 5, SYSCLK_FIXED_DIV); 50 SYSCLK(2, pll0_sysclk2, pll0_pllen, 5, SYSCLK_FIXED_DIV); 51 SYSCLK(3, pll0_sysclk3, pll0_pllen, 5, 0); 52 SYSCLK(4, pll0_sysclk4, pll0_pllen, 5, SYSCLK_FIXED_DIV); 53 SYSCLK(5, pll0_sysclk5, pll0_pllen, 5, 0); 54 SYSCLK(6, pll0_sysclk6, pll0_pllen, 5, SYSCLK_ARM_RATE | SYSCLK_FIXED_DIV); 55 SYSCLK(7, pll0_sysclk7, pll0_pllen, 5, 0); 172 SYSCLK(1, pll1_sysclk1, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 173 SYSCLK(2, pll1_sysclk2, pll1_pllen, 5, 0); 174 SYSCLK(3, pll1_sysclk3, pll1_pllen, 5, 0);
|
D | pll-da830.c | 33 SYSCLK(2, pll0_sysclk2, pll0_pllen, 5, SYSCLK_FIXED_DIV); 34 SYSCLK(3, pll0_sysclk3, pll0_pllen, 5, 0); 35 SYSCLK(4, pll0_sysclk4, pll0_pllen, 5, SYSCLK_FIXED_DIV); 36 SYSCLK(5, pll0_sysclk5, pll0_pllen, 5, 0); 37 SYSCLK(6, pll0_sysclk6, pll0_pllen, 5, SYSCLK_FIXED_DIV); 38 SYSCLK(7, pll0_sysclk7, pll0_pllen, 5, 0);
|
D | pll-dm355.c | 26 SYSCLK(1, pll1_sysclk1, pll1_pllen, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED); 27 SYSCLK(2, pll1_sysclk2, pll1_pllen, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED); 28 SYSCLK(3, pll1_sysclk3, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 29 SYSCLK(4, pll1_sysclk4, pll1_pllen, 5, SYSCLK_ALWAYS_ENABLED); 66 SYSCLK(1, pll2_sysclk1, pll2_pllen, 5, SYSCLK_FIXED_DIV | SYSCLK_ALWAYS_ENABLED);
|
/Linux-v6.1/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 56 /* read the sysclk value from the CPLD */ in get_clocks() 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()
|
/Linux-v6.1/Documentation/devicetree/bindings/clock/ |
D | qoriq-clock.txt | 4 SYSCLK signal. The SYSCLK input (frequency) is multiplied using 64 - clock-frequency: Input system clock frequency (SYSCLK) 65 - clocks: If clock-frequency is not specified, sysclk may be provided 72 "sysclk" and "coreclk". 84 0 sysclk must be 0 121 * "fsl,qoriq-sysclk-1.0": for input system clock (v1.0). 123 * "fsl,qoriq-sysclk-2.0": for input system clock (v2.0). 128 clock-specifier. Should be <0> for "fsl,qoriq-sysclk-[1,2].0" 154 sysclk: sysclk { 156 compatible = "fsl,qoriq-sysclk-1.0"; [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
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 …]
|
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>;
|
/Linux-v6.1/sound/soc/ti/ |
D | davinci-evm.c | 26 unsigned sysclk; member 60 unsigned sysclk = ((struct snd_soc_card_drvdata_davinci *) in evm_hw_params() local 61 snd_soc_card_get_drvdata(soc_card))->sysclk; in evm_hw_params() 64 ret = snd_soc_dai_set_sysclk(codec_dai, 0, sysclk, SND_SOC_CLOCK_OUT); in evm_hw_params() 69 ret = snd_soc_dai_set_sysclk(cpu_dai, 0, sysclk, SND_SOC_CLOCK_OUT); in evm_hw_params() 272 .sysclk = 12288000, 286 .sysclk = 27000000, 299 .sysclk = 27000000, 312 .sysclk = 27000000, 324 .sysclk = 24576000, [all …]
|
/Linux-v6.1/arch/powerpc/platforms/83xx/ |
D | mpc832x_rdb.c | 39 static int __init of_fsl_spi_probe(char *type, char *compatible, u32 sysclk, in of_fsl_spi_probe() argument 60 pdata.sysclk = sysclk; in of_fsl_spi_probe() 125 u32 sysclk = -1; in fsl_spi_init() local 129 sysclk = get_brgfreq(); in fsl_spi_init() 130 if (sysclk == -1) { in fsl_spi_init() 131 sysclk = fsl_get_sys_freq(); in fsl_spi_init() 132 if (sysclk == -1) in fsl_spi_init() 136 ret = of_fsl_spi_probe(NULL, "fsl,spi", sysclk, board_infos, in fsl_spi_init() 139 of_fsl_spi_probe("spi", "fsl_spi", sysclk, board_infos, in fsl_spi_init()
|
/Linux-v6.1/sound/soc/codecs/ |
D | wm8960.c | 134 int sysclk; member 609 * wm8960_configure_sysclk - checks if there is a sysclk frequency available 610 * The sysclk must be chosen such that: 611 * - sysclk = MCLK / sysclk_divs 612 * - lrclk = sysclk / dac_divs 613 * - 10 * bclk = sysclk / bclk_divs 616 * @mclk: MCLK used to derive sysclk 617 * @sysclk_idx: sysclk_divs index for found sysclk 622 * -1, in case no sysclk frequency available found 623 * >=0, in case we could derive bclk and lrclk from sysclk using [all …]
|
D | wm8998.c | 503 SND_SOC_DAPM_SUPPLY("SYSCLK", ARIZONA_SYSTEM_CLOCK_1, 914 { "OUT1L", NULL, "SYSCLK" }, 915 { "OUT1R", NULL, "SYSCLK" }, 916 { "OUT2L", NULL, "SYSCLK" }, 917 { "OUT2R", NULL, "SYSCLK" }, 918 { "OUT3", NULL, "SYSCLK" }, 919 { "OUT4L", NULL, "SYSCLK" }, 920 { "OUT4R", NULL, "SYSCLK" }, 921 { "OUT5L", NULL, "SYSCLK" }, 922 { "OUT5R", NULL, "SYSCLK" }, [all …]
|
D | wm5100.c | 61 int sysclk; member 132 if ((wm5100->sysclk % rate) == 0) { in wm5100_alloc_sr() 168 "SR %dHz incompatible with %dHz SYSCLK and %dHz ASYNCCLK\n", in wm5100_alloc_sr() 169 rate, wm5100->sysclk, wm5100->asyncclk); in wm5100_alloc_sr() 799 dev_crit(wm5100->dev, "SYSCLK underclocked\n"); in wm5100_log_status3() 857 SND_SOC_DAPM_SUPPLY("SYSCLK", WM5100_CLOCKING_3, WM5100_SYSCLK_ENA_SHIFT, 0, 1085 { "IN1L", NULL, "SYSCLK" }, 1086 { "IN1R", NULL, "SYSCLK" }, 1087 { "IN2L", NULL, "SYSCLK" }, 1088 { "IN2R", NULL, "SYSCLK" }, [all …]
|
D | cs47l85.c | 783 SND_SOC_DAPM_SUPPLY("SYSCLK", MADERA_SYSTEM_CLOCK_1, MADERA_SYSCLK_ENA_SHIFT, 1794 { "OUT1L", NULL, "SYSCLK" }, 1795 { "OUT1R", NULL, "SYSCLK" }, 1796 { "OUT2L", NULL, "SYSCLK" }, 1797 { "OUT2R", NULL, "SYSCLK" }, 1798 { "OUT3L", NULL, "SYSCLK" }, 1799 { "OUT3R", NULL, "SYSCLK" }, 1800 { "OUT4L", NULL, "SYSCLK" }, 1801 { "OUT4R", NULL, "SYSCLK" }, 1802 { "OUT5L", NULL, "SYSCLK" }, [all …]
|
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() 380 * sysclk at zero and fall through to the 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() [all …]
|
D | cs47l24.c | 69 dev_err(component->dev, "Failed to read SYSCLK state: %d\n", ret); in cs47l24_adsp_power_ev() 343 SND_SOC_DAPM_SUPPLY("SYSCLK", ARIZONA_SYSTEM_CLOCK_1, 747 { "OUT1L", NULL, "SYSCLK" }, 748 { "OUT1R", NULL, "SYSCLK" }, 749 { "OUT4L", NULL, "SYSCLK" }, 751 { "IN1L", NULL, "SYSCLK" }, 752 { "IN1R", NULL, "SYSCLK" }, 753 { "IN2L", NULL, "SYSCLK" }, 754 { "IN2R", NULL, "SYSCLK" }, 756 { "ASRC1L", NULL, "SYSCLK" }, [all …]
|
D | wm8997.c | 409 SND_SOC_DAPM_SUPPLY("SYSCLK", ARIZONA_SYSTEM_CLOCK_1, ARIZONA_SYSCLK_ENA_SHIFT, 759 { "OUT1L", NULL, "SYSCLK" }, 760 { "OUT1R", NULL, "SYSCLK" }, 761 { "OUT3L", NULL, "SYSCLK" }, 762 { "OUT4L", NULL, "SYSCLK" }, 764 { "IN1L", NULL, "SYSCLK" }, 765 { "IN1R", NULL, "SYSCLK" }, 766 { "IN2L", NULL, "SYSCLK" }, 767 { "IN2R", NULL, "SYSCLK" }, 773 { "Noise Generator", NULL, "SYSCLK" }, [all …]
|
D | adav80x.c | 145 unsigned int sysclk; member 205 SND_SOC_DAPM_SUPPLY("SYSCLK", SND_SOC_NOPM, 0, 0, NULL, 0), 269 { "SYSCLK", NULL, "PLL1", adav80x_dapm_sysclk_check }, 270 { "SYSCLK", NULL, "PLL2", adav80x_dapm_sysclk_check }, 271 { "SYSCLK", NULL, "OSC", adav80x_dapm_sysclk_check }, 275 { "ADC", NULL, "SYSCLK" }, 276 { "DAC", NULL, "SYSCLK" }, 277 { "AIFOUT", NULL, "SYSCLK" }, 278 { "AIFAUXOUT", NULL, "SYSCLK" }, 279 { "AIFIN", NULL, "SYSCLK" }, [all …]
|
D | wm5110.c | 205 dev_err(component->dev, "Failed to read SYSCLK state: %d\n", ret); in wm5110_adsp_power_ev() 1098 SND_SOC_DAPM_SUPPLY("SYSCLK", ARIZONA_SYSTEM_CLOCK_1, ARIZONA_SYSCLK_ENA_SHIFT, 1750 { "OUT1L", NULL, "SYSCLK" }, 1751 { "OUT1R", NULL, "SYSCLK" }, 1752 { "OUT2L", NULL, "SYSCLK" }, 1753 { "OUT2R", NULL, "SYSCLK" }, 1754 { "OUT3L", NULL, "SYSCLK" }, 1755 { "OUT3R", NULL, "SYSCLK" }, 1756 { "OUT4L", NULL, "SYSCLK" }, 1757 { "OUT4R", NULL, "SYSCLK" }, [all …]
|
/Linux-v6.1/sound/soc/xilinx/ |
D | xlnx_i2s.c | 30 unsigned int sysclk; member 46 drv_data->sysclk = 0; in xlnx_i2s_set_sclkout_div() 58 drv_data->sysclk = freq; in xlnx_i2s_set_sysclk() 82 if (drv_data->sysclk) in xlnx_i2s_startup() 97 if (drv_data->sysclk) { in xlnx_i2s_hw_params() 106 sclk_div = drv_data->sysclk / sclk / 2; in xlnx_i2s_hw_params() 108 if ((drv_data->sysclk % sclk != 0) || in xlnx_i2s_hw_params() 110 dev_warn(i2s_dai->dev, "invalid SCLK divisor for sysclk %u and sclk %u\n", in xlnx_i2s_hw_params() 111 drv_data->sysclk, sclk); in xlnx_i2s_hw_params()
|
/Linux-v6.1/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() 65 /* set wm8994 sysclk */ in brownstone_wm8994_hw_params() 66 snd_soc_dai_set_sysclk(codec_dai, WM8994_SYSCLK_MCLK1, sysclk, 0); in brownstone_wm8994_hw_params()
|
/Linux-v6.1/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() 190 /* Check if sysclk is not too fast - should not happen */ in axg_pdm_set_sample_pointer() 393 * sysclk must be set and enabled as well to access the pdm registers in axg_pdm_dai_probe() 396 ret = clk_set_rate(priv->sysclk, priv->cfg->sys_rate); in axg_pdm_dai_probe() 398 dev_err(dai->dev, "setting sysclk failed\n"); in axg_pdm_dai_probe() 402 ret = clk_prepare_enable(priv->sysclk); in axg_pdm_dai_probe() 404 dev_err(dai->dev, "enabling sysclk failed\n"); in axg_pdm_dai_probe() [all …]
|
/Linux-v6.1/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()
|