/u-boot/drivers/clk/ |
A D | clk_stm32h7.c | 667 if (!sysclk) in stm32_clk_get_rate() 668 return sysclk; in stm32_clk_get_rate() 679 sysclk = sysclk / prescaler_table[idx]; in stm32_clk_get_rate() 685 sysclk = sysclk / prescaler_table[idx]; in stm32_clk_get_rate() 698 return sysclk; in stm32_clk_get_rate() 706 sysclk = sysclk / prescaler_table[idx]; in stm32_clk_get_rate() 710 sysclk); in stm32_clk_get_rate() 721 sysclk = sysclk / prescaler_table[idx]; in stm32_clk_get_rate() 726 sysclk); in stm32_clk_get_rate() 749 sysclk); in stm32_clk_get_rate() [all …]
|
A D | clk_stm32f.c | 345 return sysclk >> shift; in stm32_get_hclk_rate() 380 return stm32_get_hclk_rate(regs, sysclk); in stm32_get_timer_rate() 382 return (sysclk >> shift) * 4; in stm32_get_timer_rate() 390 return sysclk; in stm32_get_timer_rate() 392 return (sysclk >> shift) * 2; in stm32_get_timer_rate() 399 u32 sysclk = 0; in stm32_clk_get_rate() local 416 sysclk = vco / pllp; in stm32_clk_get_rate() 427 return stm32_get_hclk_rate(regs, sysclk); in stm32_clk_get_rate() 441 return stm32_get_timer_rate(priv, sysclk, APB1); in stm32_clk_get_rate() 462 return sysclk; in stm32_clk_get_rate() [all …]
|
/u-boot/arch/riscv/dts/ |
A D | k210.dtsi | 57 clocks = <&sysclk K210_CLK_CPU>; 74 clocks = <&sysclk K210_CLK_CPU>; 90 clocks = <&sysclk K210_CLK_SRAM0>, 91 <&sysclk K210_CLK_SRAM1>, 92 <&sysclk K210_CLK_PLL1>; 138 clocks = <&sysclk K210_CLK_CLINT>; 156 clocks = <&sysclk K210_CLK_CPU>; 179 clocks = <&sysclk K210_CLK_AI>; 188 clocks = <&sysclk K210_CLK_FFT>; 197 clocks = <&sysclk K210_CLK_DMA>, <&sysclk K210_CLK_DMA>; [all …]
|
/u-boot/arch/arm/cpu/armv7/ls102xa/ |
A D | clock.c | 42 unsigned long sysclk = CONFIG_SYS_CLK_FREQ; in get_sys_info() local 44 sys_info->freq_systembus = sysclk; in get_sys_info() 48 sys_info->freq_ddrbus = sysclk; in get_sys_info() 59 freq_c_pll[i] = sysclk * ratio[i]; in get_sys_info()
|
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
A D | fsl_lsch3_speed.c | 75 unsigned long sysclk = CONFIG_SYS_CLK_FREQ; in get_sys_info() local 80 sys_info->freq_systembus = sysclk; in get_sys_info() 87 sys_info->freq_ddrbus = sysclk; in get_sys_info() 89 sys_info->freq_ddrbus2 = sysclk; in get_sys_info() 119 freq_c_pll[i] = sysclk * ratio[i]; in get_sys_info()
|
A D | fsl_lsch2_speed.c | 55 unsigned long sysclk = CONFIG_SYS_CLK_FREQ; in get_sys_info() local 58 sys_info->freq_systembus = sysclk; in get_sys_info() 67 sys_info->freq_ddrbus = sysclk; in get_sys_info()
|
/u-boot/board/freescale/common/ |
A D | ngpixis.c | 155 void pixis_sysclk_set(unsigned long sysclk) in pixis_sysclk_set() argument 160 freq_word = ics307_sysclk_calculator(sysclk); in pixis_sysclk_set() 178 unsigned long sysclk; in pixis_reset_cmd() local 203 sysclk = simple_strtoul(argv[i + 1], NULL, 0); in pixis_reset_cmd() 205 pixis_sysclk_set(sysclk); in pixis_reset_cmd()
|
A D | pixis.c | 27 static int set_px_sysclk(unsigned long sysclk) in set_px_sysclk() argument 31 switch (sysclk) { in set_px_sysclk() 488 unsigned long sysclk; in pixis_reset_cmd() local 492 sysclk = simple_strtoul(p_cf_sysclk, NULL, 10); in pixis_reset_cmd() 496 if (!(set_px_sysclk(sysclk) in pixis_reset_cmd()
|
/u-boot/arch/arm/dts/ |
A D | fsl-ls1043a.dtsi | 17 sysclk: sysclk { label 21 clock-output-names = "sysclk"; 45 clocks = <&sysclk>; 204 clocks = <&sysclk>; 213 clocks = <&sysclk>; 223 clocks = <&sysclk>; 231 clocks = <&sysclk>; 240 clocks = <&sysclk>; 249 clocks = <&sysclk>;
|
A D | fsl-ls1028a.dtsi | 17 sysclk: sysclk { label 21 clock-output-names = "sysclk"; 28 clocks = <&sysclk>; 307 clocks = <&sysclk>; 317 clocks = <&sysclk>; 327 clocks = <&sysclk>; 337 clocks = <&sysclk>; 347 clocks = <&sysclk>; 357 clocks = <&sysclk>;
|
A D | fsl-ls1012a.dtsi | 13 sysclk: sysclk { label 17 clock-output-names = "sysclk"; 41 clocks = <&sysclk>;
|
A D | ls1021a.dtsi | 22 sysclk = &sysclk; 152 sysclk: sysclk { label 155 clock-output-names = "sysclk"; 162 clocks = <&sysclk>; 171 clocks = <&sysclk>; 290 clocks = <&sysclk>;
|
A D | fsl-ls1046a.dtsi | 16 sysclk: sysclk { label 20 clock-output-names = "sysclk"; 44 clocks = <&sysclk>;
|
A D | ste-ab8505.dtsi | 152 clock-names = "sysclk"; 258 clock-names = "sysclk", "ulpclk", "intclk";
|
A D | ste-ab8500.dtsi | 190 clock-names = "sysclk"; 311 clock-names = "sysclk", "ulpclk", "intclk";
|
A D | fsl-lx2160a.dtsi | 23 sysclk: sysclk { label 27 clock-output-names = "sysclk"; 34 clocks = <&sysclk>;
|
/u-boot/drivers/sound/ |
A D | maxim_codec.h | 19 unsigned int sysclk; member
|
A D | max98090.c | 87 if (freq == priv->sysclk) in max98090_set_sysclk() 114 priv->sysclk = freq; in max98090_set_sysclk() 249 priv->sysclk = -1U; in max98090_device_init()
|
A D | max98088.c | 126 if (freq == priv->sysclk) in max98088_set_sysclk() 155 priv->sysclk = freq; in max98088_set_sysclk() 296 priv->sysclk = -1U; in max98088_device_init()
|
A D | max98095.c | 131 if (freq == priv->sysclk) in max98095_set_sysclk() 155 priv->sysclk = freq; in max98095_set_sysclk() 314 priv->sysclk = -1U; in max98095_device_init()
|
A D | wm8994.c | 40 int sysclk[WM8994_MAX_AIF]; /* System clock frequency in Hz */ member 435 switch (priv->sysclk[aif - 1]) { in configure_aif_clock() 458 __func__, priv->sysclk[aif - 1]); in configure_aif_clock() 508 priv->sysclk[aif_id - 1] = clk_id; in wm8994_set_sysclk()
|
/u-boot/board/Synology/ds109/ |
A D | ds109.h | 35 u32 sysclk; member
|
A D | ds109.c | 135 t->sysclk = CONFIG_SYS_TCLK*2; in setup_board_tags()
|
/u-boot/doc/device-tree-bindings/mfd/ |
A D | kendryte,k210-sysctl.txt | 28 sysclk: clock-controller {
|
/u-boot/arch/powerpc/cpu/mpc85xx/ |
A D | speed.c | 77 unsigned long sysclk = CONFIG_SYS_CLK_FREQ; in get_sys_info() local 80 sys_info->freq_systembus = sysclk; in get_sys_info() 110 sys_info->freq_ddrbus = sysclk; in get_sys_info() 157 freq_c_pll[i] = sysclk * ratio[i]; in get_sys_info()
|