/external/u-boot/drivers/core/ |
D | syscon-uclass.c | 100 UCLASS_DRIVER(syscon) = { 128 struct syscon { struct 134 static struct syscon *of_syscon_register(ofnode node) in of_syscon_register() argument 136 struct syscon *syscon; in of_syscon_register() local 142 syscon = malloc(sizeof(*syscon)); in of_syscon_register() 143 if (!syscon) in of_syscon_register() 146 ret = regmap_init_mem(node, &syscon->regmap); in of_syscon_register() 148 free(syscon); in of_syscon_register() 152 list_add_tail(&syscon->list, &syscon_list); in of_syscon_register() 154 return syscon; in of_syscon_register() [all …]
|
/external/u-boot/arch/arm/cpu/arm920t/ep93xx/ |
D | speed.c | 44 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in get_FCLK() local 46 const uint32_t clkset1 = readl(&syscon->clkset1); in get_FCLK() 49 const ulong fclk_rate = get_PLLCLK(&syscon->clkset1) / fclk_div; in get_FCLK() 58 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in get_HCLK() local 60 const uint32_t clkset1 = readl(&syscon->clkset1); in get_HCLK() 63 const ulong hclk_rate = get_PLLCLK(&syscon->clkset1) / hclk_div; in get_HCLK() 72 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in get_PCLK() local 74 const uint32_t clkset1 = readl(&syscon->clkset1); in get_PCLK() 85 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in get_UCLK() local 88 const uint32_t value = readl(&syscon->pwrcnt); in get_UCLK()
|
D | cpu.c | 18 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in reset_cpu() local 22 writel(0xAA, &syscon->sysswlock); in reset_cpu() 23 value = readl(&syscon->devicecfg); in reset_cpu() 25 writel(value, &syscon->devicecfg); in reset_cpu() 28 writel(0xAA, &syscon->sysswlock); in reset_cpu() 29 value = readl(&syscon->devicecfg); in reset_cpu() 31 writel(value, &syscon->devicecfg); in reset_cpu()
|
/external/u-boot/drivers/usb/host/ |
D | ohci-ep93xx.c | 16 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in usb_cpu_init() local 17 unsigned long pwr = readl(&syscon->pwrcnt); in usb_cpu_init() 18 writel(pwr | SYSCON_PWRCNT_USH_EN, &syscon->pwrcnt); in usb_cpu_init() 25 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in usb_cpu_stop() local 26 unsigned long pwr = readl(&syscon->pwrcnt); in usb_cpu_stop() 27 writel(pwr & ~SYSCON_PWRCNT_USH_EN, &syscon->pwrcnt); in usb_cpu_stop()
|
/external/u-boot/drivers/net/ |
D | cpsw-common.c | 27 int syscon; in davinci_emac_3517_get_macid() local 30 syscon = fdtdec_lookup_phandle(fdt, node, "syscon"); in davinci_emac_3517_get_macid() 31 if (syscon < 0) { in davinci_emac_3517_get_macid() 36 addr = (u32)map_physmem(fdt_translate_address(fdt, syscon, &gmii), in davinci_emac_3517_get_macid() 67 int syscon; in cpsw_am33xx_cm_get_macid() local 70 syscon = fdtdec_lookup_phandle(fdt, node, "syscon"); in cpsw_am33xx_cm_get_macid() 71 if (syscon < 0) { in cpsw_am33xx_cm_get_macid() 76 addr = (u32)map_physmem(fdt_translate_address(fdt, syscon, &gmii), in cpsw_am33xx_cm_get_macid()
|
/external/u-boot/arch/arm/dts/ |
D | keystone-k2hk.dtsi | 50 gpio,syscon-dev = <&devctrl 0x240>; 57 gpio,syscon-dev = <&devctrl 0x244>; 64 gpio,syscon-dev = <&devctrl 0x248>; 71 gpio,syscon-dev = <&devctrl 0x24c>; 78 gpio,syscon-dev = <&devctrl 0x250>; 85 gpio,syscon-dev = <&devctrl 0x254>; 92 gpio,syscon-dev = <&devctrl 0x258>; 99 gpio,syscon-dev = <&devctrl 0x25c>;
|
D | sun50i-a64-pine64-plus-u-boot.dtsi | 7 syscon: syscon@1c00000 { label 9 "syscon"; 15 syscon = <&syscon>;
|
D | keystone-k2l.dtsi | 58 gpio,syscon-dev = <&devctrl 0x240>; 65 gpio,syscon-dev = <&devctrl 0x244>; 72 gpio,syscon-dev = <&devctrl 0x248>; 79 gpio,syscon-dev = <&devctrl 0x24c>;
|
D | rk3399.dtsi | 282 arasan,soc-ctl-syscon = <&grf>; 735 compatible = "syscon"; 740 compatible = "syscon"; 745 compatible = "syscon"; 750 compatible = "syscon"; 755 compatible = "syscon"; 760 compatible = "syscon"; 765 compatible = "syscon"; 770 compatible = "syscon"; 775 compatible = "syscon"; [all …]
|
D | uniphier-ld11.dtsi | 200 socionext,syscon = <&soc_glue>; 276 "simple-mfd", "syscon"; 380 "simple-mfd", "syscon"; 391 "simple-mfd", "syscon"; 468 "simple-mfd", "syscon"; 485 "simple-mfd", "syscon"; 529 "simple-mfd", "syscon"; 558 socionext,syscon-phy-mode = <&soc_glue 0>;
|
D | dra74x.dtsi | 33 compatible = "syscon"; 67 ti,syscon-mmuconfig = <&dsp2_system 0x0>; 77 ti,syscon-mmuconfig = <&dsp2_system 0x1>;
|
/external/u-boot/board/cirrus/edb93xx/ |
D | edb93xx.c | 69 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in board_init() local 70 writel(CLKSET2_VAL, &syscon->clkset2); in board_init() 114 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in board_early_init_f() local 115 writel(SYSCON_PWRCNT_UART_BAUD, &syscon->pwrcnt); in board_early_init_f() 229 struct syscon_regs *syscon = (struct syscon_regs *)SYSCON_BASE; in dram_init() local 231 unsigned chip_id = readl(&syscon->chipid); in dram_init()
|
/external/u-boot/drivers/sysreset/ |
D | sysreset_sti.c | 32 struct udevice *syscon; in sti_sysreset_probe() local 48 &syscon); in sti_sysreset_probe() 55 regmap = syscon_get_regmap(syscon); in sti_sysreset_probe() 57 pr_err("unable to get regmap for %s\n", syscon->name); in sti_sysreset_probe()
|
D | sysreset_syscon.c | 38 struct udevice *syscon; in syscon_reboot_probe() local 43 "regmap", &syscon); in syscon_reboot_probe() 49 priv->regmap = syscon_get_regmap(syscon); in syscon_reboot_probe()
|
/external/u-boot/drivers/clk/at91/ |
D | clk-utmi.c | 108 struct udevice *syscon; in utmi_clk_ofdata_to_platdata() local 111 "regmap-sfr", &syscon); in utmi_clk_ofdata_to_platdata() 113 if (syscon) in utmi_clk_ofdata_to_platdata() 114 plat->regmap_sfr = syscon_get_regmap(syscon); in utmi_clk_ofdata_to_platdata()
|
/external/u-boot/drivers/clk/ |
D | clk_boston.c | 63 struct udevice *syscon; in clk_boston_ofdata_to_platdata() local 67 "regmap", &syscon); in clk_boston_ofdata_to_platdata() 73 state->regmap = syscon_get_regmap(syscon); in clk_boston_ofdata_to_platdata()
|
/external/u-boot/arch/mips/dts/ |
D | brcm,bcm6338.dtsi | 68 pll_cntl: syscon@fffe0008 { 69 compatible = "syscon"; 73 syscon-reboot { 74 compatible = "syscon-reboot";
|
D | brcm,bcm6348.dtsi | 68 pll_cntl: syscon@fffe0008 { 69 compatible = "syscon"; 73 syscon-reboot { 74 compatible = "syscon-reboot";
|
D | brcm,bcm3380.dtsi | 89 pll_cntl: syscon@14e00094 { 90 compatible = "syscon"; 94 syscon-reboot { 95 compatible = "syscon-reboot";
|
D | brcm,bcm6368.dtsi | 75 pll_cntl: syscon@10000008 { 76 compatible = "syscon"; 80 syscon-reboot { 81 compatible = "syscon-reboot";
|
D | brcm,bcm6328.dtsi | 78 pll_cntl: syscon@10000068 { 79 compatible = "syscon"; 83 syscon-reboot { 84 compatible = "syscon-reboot";
|
D | brcm,bcm6318.dtsi | 82 pll_cntl: syscon@10000074 { 83 compatible = "syscon"; 87 syscon-reboot { 88 compatible = "syscon-reboot";
|
D | brcm,bcm6358.dtsi | 75 pll_cntl: syscon@fffe0008 { 76 compatible = "syscon"; 80 syscon-reboot { 81 compatible = "syscon-reboot";
|
D | brcm,bcm6362.dtsi | 73 pll_cntl: syscon@10000008 { 74 compatible = "syscon"; 78 syscon-reboot { 79 compatible = "syscon-reboot";
|
/external/u-boot/drivers/phy/ |
D | sti_usb_phy.c | 106 struct udevice *syscon; in sti_usb_phy_probe() local 121 &syscon); in sti_usb_phy_probe() 127 priv->regmap = syscon_get_regmap(syscon); in sti_usb_phy_probe()
|