Home
last modified time | relevance | path

Searched refs:scu (Results 1 – 25 of 33) sorted by relevance

12

/external/u-boot/drivers/clk/aspeed/
Dclk_ast2500.c78 static ulong ast2500_get_clkin(struct ast2500_scu *scu) in ast2500_get_clkin() argument
80 return readl(&scu->hwstrap) & SCU_HWSTRAP_CLKIN_25MHZ in ast2500_get_clkin()
92 static ulong ast2500_get_uart_clk_rate(struct ast2500_scu *scu, int uart_index) in ast2500_get_uart_clk_rate() argument
103 if (readl(&scu->misc_ctrl2) & in ast2500_get_uart_clk_rate()
109 if (readl(&scu->misc_ctrl1) & SCU_MISC_UARTCLK_DIV13) in ast2500_get_uart_clk_rate()
118 ulong clkin = ast2500_get_clkin(priv->scu); in ast2500_clk_get_rate()
129 readl(&priv->scu->h_pll_param)); in ast2500_clk_get_rate()
133 readl(&priv->scu->m_pll_param)); in ast2500_clk_get_rate()
137 ulong apb_div = 4 + 4 * ((readl(&priv->scu->clk_sel1) in ast2500_clk_get_rate()
142 scu->h_pll_param)); in ast2500_clk_get_rate()
[all …]
/external/u-boot/arch/arm/dts/
Dast2500-u-boot.dtsi1 #include <dt-bindings/clock/ast2500-scu.h>
7 scu: clock-controller@1e6e2000 { label
8 compatible = "aspeed,ast2500-scu";
28 clocks = <&scu PLL_MPLL>;
43 clocks = <&scu PCLK_UART1>;
47 clocks = <&scu PCLK_UART2>;
51 clocks = <&scu PCLK_UART3>;
55 clocks = <&scu PCLK_UART4>;
59 clocks = <&scu PCLK_UART5>;
67 clocks = <&scu PCLK_MAC1>, <&scu PLL_D2PLL>;
[all …]
Drk3xxx.dtsi87 scu@1013c000 {
88 compatible = "arm,cortex-a9-scu";
Darmada-38x.dtsi150 scu@c000 {
151 compatible = "arm,cortex-a9-scu";
Darmada-375.dtsi187 scu@c000 {
188 compatible = "arm,cortex-a9-scu";
Dsocfpga_arria10.dtsi740 scu: snoop-control-unit@ffffc000 { label
741 compatible = "arm,cortex-a9-scu";
Dstih407-family.dtsi75 scu@08760000 {
76 compatible = "arm,cortex-a9-scu";
Dast2500.dtsi68 compatible = "aspeed,g5-scu", "syscon", "simple-mfd";
Dr8a7793.dtsi970 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
Dr8a7794.dtsi947 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
Dr8a7791.dtsi1124 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
Dr8a7790.dtsi1054 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
Dr8a7796.dtsi1681 reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
/external/u-boot/arch/x86/lib/
Dscu.c33 struct scu { struct
118 struct scu *scu; in scu_ipc_simple_command() local
126 scu = dev_get_priv(dev); in scu_ipc_simple_command()
128 scu_ipc_send_command(scu->regs, sub << 12 | cmd); in scu_ipc_simple_command()
129 return scu_ipc_check_status(scu->regs); in scu_ipc_simple_command()
134 struct scu *scu; in scu_ipc_command() local
142 scu = dev_get_priv(dev); in scu_ipc_command()
144 return scu_ipc_cmd(scu->regs, cmd, sub, in, inlen, out, outlen); in scu_ipc_command()
149 struct scu *scu = dev_get_priv(dev); in scu_ipc_probe() local
151 scu->regs = syscon_get_first_range(X86_SYSCON_SCU); in scu_ipc_probe()
[all …]
DMakefile32 obj-$(CONFIG_INTEL_MID) += scu.o
/external/u-boot/arch/arm/mach-aspeed/ast2500/
Dclk_ast2500.c29 return priv->scu; in ast_get_scu()
32 void ast_scu_unlock(struct ast2500_scu *scu) in ast_scu_unlock() argument
34 writel(SCU_UNLOCK_VALUE, &scu->protection_key); in ast_scu_unlock()
35 while (!readl(&scu->protection_key)) in ast_scu_unlock()
39 void ast_scu_lock(struct ast2500_scu *scu) in ast_scu_lock() argument
41 writel(~SCU_UNLOCK_VALUE, &scu->protection_key); in ast_scu_lock()
42 while (readl(&scu->protection_key)) in ast_scu_lock()
Dsdram_ast2500.c70 struct ast2500_scu *scu; member
185 u32 vga_hwconf = (readl(&info->scu->hwstrap) & SCU_HWSTRAP_VGAMEM_MASK) in ast2500_sdrammc_get_vga_mem_size()
341 priv->scu = ast_get_scu(); in ast2500_sdrammc_probe()
342 if (IS_ERR(priv->scu)) { in ast2500_sdrammc_probe()
344 return PTR_ERR(priv->scu); in ast2500_sdrammc_probe()
375 if (readl(&priv->scu->hwstrap) & SCU_HWSTRAP_DDR4) { in ast2500_sdrammc_probe()
/external/u-boot/drivers/pinctrl/aspeed/
Dpinctrl_ast2500.c21 struct ast2500_scu *scu; member
28 priv->scu = ast_get_scu(); in ast2500_pinctrl_probe()
91 ctrl_reg = &priv->scu->pinmux_ctrl1[config->reg_num - 7]; in ast2500_pinctrl_group_set()
93 ctrl_reg = &priv->scu->pinmux_ctrl[config->reg_num - 1]; in ast2500_pinctrl_group_set()
95 ast_scu_unlock(priv->scu); in ast2500_pinctrl_group_set()
97 ast_scu_lock(priv->scu); in ast2500_pinctrl_group_set()
/external/u-boot/drivers/reset/
Dast2500-reset.c19 struct ast2500_scu *scu; member
54 ast_scu_unlock(priv->scu); in ast2500_reset_assert()
55 setbits_le32(&priv->scu->sysreset_ctrl1, in ast2500_reset_assert()
58 clrbits_le32(&priv->scu->sysreset_ctrl1, in ast2500_reset_assert()
60 ast_scu_lock(priv->scu); in ast2500_reset_assert()
80 priv->scu = ast_get_scu(); in ast2500_reset_probe()
/external/u-boot/arch/arm/mach-tegra/
Dap.c113 struct scu_ctlr *scu = (struct scu_ctlr *)NV_PA_ARM_PERIPHBASE; in enable_scu() local
121 if (readl(&scu->scu_ctrl) & SCU_CTRL_ENABLE) in enable_scu()
125 writel(0xFFFF, &scu->scu_inv_all); in enable_scu()
128 reg = readl(&scu->scu_ctrl); in enable_scu()
130 writel(reg, &scu->scu_ctrl); in enable_scu()
/external/u-boot/drivers/i2c/
Dast_i2c.c108 struct ast2500_scu *scu; in ast_i2c_probe() local
117 scu = ast_get_scu(); in ast_i2c_probe()
118 ast_scu_unlock(scu); in ast_i2c_probe()
119 clrbits_le32(&scu->sysreset_ctrl1, SCU_SYSRESET_I2C); in ast_i2c_probe()
120 ast_scu_lock(scu); in ast_i2c_probe()
/external/u-boot/arch/arm/include/asm/arch-aspeed/
Dscu_ast2500.h142 struct ast2500_scu *scu; member
233 void ast_scu_unlock(struct ast2500_scu *scu);
240 void ast_scu_lock(struct ast2500_scu *scu);
/external/u-boot/arch/x86/dts/
Dedison.dts84 scu: ipc@ff009000 { label
85 compatible = "intel,scu-ipc";
/external/u-boot/arch/arm/mach-imx/mx6/
Dsoc.c62 struct scu_regs *scu = (struct scu_regs *)SCU_BASE_ADDR; in get_nr_cpus() local
63 return readl(&scu->config) & 3; in get_nr_cpus()
75 struct scu_regs *scu = (struct scu_regs *)SCU_BASE_ADDR; in get_cpu_rev() local
76 cfg = readl(&scu->config) & 3; in get_cpu_rev()
/external/honggfuzz/examples/apache-httpd/corpus_http1/
D8651c3c2cbdf26e122a46ebe54869418.0000abc8.honggfuzz.cov139 …� �#�{�o��^`��Έ��fkT]1 ��1:���$�7�,b+&OdU�E$٠�����!���K�ʹ��s�ǭ�p�1scuBex���ָB�aOZf}�|Y…

12