/kernel/liteos_m/components/power/ |
H A D | los_pm.c | 63 LosPmSysctrl *sysctrl; member 171 if ((pm->sysMode == LOS_SYS_NORMAL_SLEEP) && (pm->sysctrl->normalResume != NULL)) { in OsPmCpuResume() 172 pm->sysctrl->normalResume(); in OsPmCpuResume() 173 } else if ((pm->sysMode == LOS_SYS_LIGHT_SLEEP) && (pm->sysctrl->lightResume != NULL)) { in OsPmCpuResume() 174 pm->sysctrl->lightResume(); in OsPmCpuResume() 175 } else if ((pm->sysMode == LOS_SYS_DEEP_SLEEP) && (pm->sysctrl->deepResume != NULL)) { in OsPmCpuResume() 176 pm->sysctrl->deepResume(); in OsPmCpuResume() 185 pm->sysctrl->normalSuspend(); in OsPmCpuSuspend() 187 pm->sysctrl->lightSuspend(); in OsPmCpuSuspend() 189 pm->sysctrl in OsPmCpuSuspend() 360 OsPmSysctrlRegister(LosPmCB *pm, LosPmSysctrl *sysctrl) OsPmSysctrlRegister() argument 456 OsPmSysctrlUnregister(LosPmCB *pm, LosPmSysctrl *sysctrl) OsPmSysctrlUnregister() argument [all...] |
/kernel/liteos_a/kernel/extended/power/ |
H A D | los_pm.c | 72 LosPmSysctrl *sysctrl; member 100 if ((pm->sysMode == LOS_SYS_NORMAL_SLEEP) && (pm->sysctrl->normalResume != NULL)) { in OsPmCpuResume() 101 pm->sysctrl->normalResume(); in OsPmCpuResume() 102 } else if ((pm->sysMode == LOS_SYS_LIGHT_SLEEP) && (pm->sysctrl->lightResume != NULL)) { in OsPmCpuResume() 103 pm->sysctrl->lightResume(); in OsPmCpuResume() 104 } else if ((pm->sysMode == LOS_SYS_DEEP_SLEEP) && (pm->sysctrl->deepResume != NULL)) { in OsPmCpuResume() 105 pm->sysctrl->deepResume(); in OsPmCpuResume() 112 LOS_ASSERT(pm->sysctrl != NULL); in OsPmCpuSuspend() 115 pm->sysctrl->normalSuspend(); in OsPmCpuSuspend() 117 pm->sysctrl in OsPmCpuSuspend() 242 OsPmSysctrlRegister(LosPmCB *pm, LosPmSysctrl *sysctrl) OsPmSysctrlRegister() argument 317 OsPmSysctrlUnregister(LosPmCB *pm, LosPmSysctrl *sysctrl) OsPmSysctrlUnregister() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-hisi/ |
H A D | platmcpm.c | 59 static void __iomem *sysctrl, *fabric; variable 108 if (!sysctrl) in hip04_boot_secondary() 118 sys_dreq = sysctrl + SC_CPU_RESET_DREQ(cluster); in hip04_boot_secondary() 119 sys_status = sysctrl + SC_CPU_RESET_STATUS(cluster); in hip04_boot_secondary() 208 data = readl_relaxed(sysctrl + SC_CPU_RESET_STATUS(cluster)); in hip04_cpu_kill() 220 writel_relaxed(data, sysctrl + SC_CPU_RESET_REQ(cluster)); in hip04_cpu_kill() 223 data = readl_relaxed(sysctrl + SC_CPU_RESET_STATUS(cluster)); in hip04_cpu_kill() 281 np_sctl = of_find_compatible_node(NULL, NULL, "hisilicon,sysctrl"); in hip04_smp_init() 298 sysctrl = of_iomap(np_sctl, 0); in hip04_smp_init() 299 if (!sysctrl) { in hip04_smp_init() [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-hisi/ |
H A D | platmcpm.c | 59 static void __iomem *sysctrl, *fabric; variable 108 if (!sysctrl) in hip04_boot_secondary() 118 sys_dreq = sysctrl + SC_CPU_RESET_DREQ(cluster); in hip04_boot_secondary() 119 sys_status = sysctrl + SC_CPU_RESET_STATUS(cluster); in hip04_boot_secondary() 208 data = readl_relaxed(sysctrl + SC_CPU_RESET_STATUS(cluster)); in hip04_cpu_kill() 220 writel_relaxed(data, sysctrl + SC_CPU_RESET_REQ(cluster)); in hip04_cpu_kill() 223 data = readl_relaxed(sysctrl + SC_CPU_RESET_STATUS(cluster)); in hip04_cpu_kill() 281 np_sctl = of_find_compatible_node(NULL, NULL, "hisilicon,sysctrl"); in hip04_smp_init() 298 sysctrl = of_iomap(np_sctl, 0); in hip04_smp_init() 299 if (!sysctrl) { in hip04_smp_init() [all...] |
/kernel/linux/linux-5.10/sound/soc/hisilicon/ |
H A D | hi6210-i2s.c | 41 struct regmap *sysctrl; member 99 regmap_read(i2s->sysctrl, SC_PERIPH_RSTSTAT2, &val); in hi6210_i2s_startup() 101 regmap_write(i2s->sysctrl, SC_PERIPH_RSTDIS2, BIT(4)); in hi6210_i2s_startup() 117 regmap_write(i2s->sysctrl, SC_PERIPH_CLKEN12, BIT(9)); in hi6210_i2s_startup() 120 regmap_write(i2s->sysctrl, SC_PERIPH_CLKEN1, BIT(5)); in hi6210_i2s_startup() 123 regmap_write(i2s->sysctrl, SC_PERIPH_RSTEN1, BIT(5)); in hi6210_i2s_startup() 124 regmap_write(i2s->sysctrl, SC_PERIPH_RSTDIS1, BIT(5)); in hi6210_i2s_startup() 181 regmap_write(i2s->sysctrl, SC_PERIPH_RSTEN1, BIT(5)); in hi6210_i2s_shutdown() 569 i2s->sysctrl = syscon_regmap_lookup_by_phandle(node, in hi6210_i2s_probe() 570 "hisilicon,sysctrl in hi6210_i2s_probe() [all...] |
/kernel/linux/linux-6.6/sound/soc/hisilicon/ |
H A D | hi6210-i2s.c | 41 struct regmap *sysctrl; member 99 regmap_read(i2s->sysctrl, SC_PERIPH_RSTSTAT2, &val); in hi6210_i2s_startup() 101 regmap_write(i2s->sysctrl, SC_PERIPH_RSTDIS2, BIT(4)); in hi6210_i2s_startup() 117 regmap_write(i2s->sysctrl, SC_PERIPH_CLKEN12, BIT(9)); in hi6210_i2s_startup() 120 regmap_write(i2s->sysctrl, SC_PERIPH_CLKEN1, BIT(5)); in hi6210_i2s_startup() 123 regmap_write(i2s->sysctrl, SC_PERIPH_RSTEN1, BIT(5)); in hi6210_i2s_startup() 124 regmap_write(i2s->sysctrl, SC_PERIPH_RSTDIS1, BIT(5)); in hi6210_i2s_startup() 181 regmap_write(i2s->sysctrl, SC_PERIPH_RSTEN1, BIT(5)); in hi6210_i2s_shutdown() 569 i2s->sysctrl = syscon_regmap_lookup_by_phandle(node, in hi6210_i2s_probe() 570 "hisilicon,sysctrl in hi6210_i2s_probe() [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/ |
H A D | pcie-kirin.c | 52 /* info located in sysctrl */ 86 struct regmap *sysctrl; member 170 kirin_pcie->sysctrl = in kirin_pcie_get_resource() 172 if (IS_ERR(kirin_pcie->sysctrl)) in kirin_pcie_get_resource() 173 return PTR_ERR(kirin_pcie->sysctrl); in kirin_pcie_get_resource() 210 regmap_read(kirin_pcie->sysctrl, SCTRL_PCIE_OE_OFFSET, &val); in kirin_pcie_oe_enable() 213 regmap_write(kirin_pcie->sysctrl, SCTRL_PCIE_OE_OFFSET, val); in kirin_pcie_oe_enable() 268 regmap_write(kirin_pcie->sysctrl, in kirin_pcie_power_on() 278 regmap_write(kirin_pcie->sysctrl, in kirin_pcie_power_on() 282 regmap_write(kirin_pcie->sysctrl, in kirin_pcie_power_on() [all...] |
/kernel/linux/linux-6.6/drivers/pci/controller/dwc/ |
H A D | pcie-kirin.c | 44 /* info located in sysctrl */ 130 struct regmap *sysctrl; member 194 phy->sysctrl = syscon_regmap_lookup_by_compatible("hisilicon,hi3660-sctrl"); in hi3660_pcie_phy_get_resource() 195 if (IS_ERR(phy->sysctrl)) in hi3660_pcie_phy_get_resource() 196 return PTR_ERR(phy->sysctrl); in hi3660_pcie_phy_get_resource() 233 regmap_read(phy->sysctrl, SCTRL_PCIE_OE_OFFSET, &val); in hi3660_pcie_phy_oe_enable() 236 regmap_write(phy->sysctrl, SCTRL_PCIE_OE_OFFSET, val); in hi3660_pcie_phy_oe_enable() 292 regmap_write(phy->sysctrl, in hi3660_pcie_phy_power_on() 303 regmap_write(phy->sysctrl, in hi3660_pcie_phy_power_on() 307 regmap_write(phy->sysctrl, in hi3660_pcie_phy_power_on() [all...] |
/kernel/linux/linux-6.6/drivers/phy/hisilicon/ |
H A D | phy-hi3670-pcie.c | 128 /* info located in sysctrl */ 157 struct regmap *sysctrl; member 206 regmap_read(phy->sysctrl, SCTRL_PCIE_OE_OFFSET, &val); in hi3670_pcie_phy_oe_enable() 212 regmap_write(phy->sysctrl, SCTRL_PCIE_OE_OFFSET, val); in hi3670_pcie_phy_oe_enable() 666 regmap_write(phy->sysctrl, SCTRL_PCIE_CMOS_OFFSET, SCTRL_PCIE_CMOS_BIT); in hi3670_pcie_phy_power_on() 676 regmap_write(phy->sysctrl, SCTRL_PCIE_ISO_OFFSET, SCTRL_PCIE_ISO_BIT); in hi3670_pcie_phy_power_on() 679 regmap_write(phy->sysctrl, SCTRL_PCIE_HPCLK_OFFSET, in hi3670_pcie_phy_power_on() 724 regmap_write(phy->sysctrl, SCTRL_PCIE_CMOS_OFFSET, 0); in hi3670_pcie_phy_power_off() 755 phy->sysctrl = syscon_regmap_lookup_by_compatible("hisilicon,hi3670-sctrl"); in hi3670_pcie_phy_get_resources() 756 if (IS_ERR(phy->sysctrl)) in hi3670_pcie_phy_get_resources() [all...] |
/kernel/linux/linux-5.10/arch/mips/lantiq/falcon/ |
H A D | Makefile | 2 obj-y := prom.o reset.o sysctrl.o
|
/kernel/linux/linux-6.6/arch/mips/lantiq/falcon/ |
H A D | Makefile | 2 obj-y := prom.o reset.o sysctrl.o
|
/kernel/linux/linux-5.10/arch/mips/lantiq/xway/ |
H A D | Makefile | 2 obj-y := prom.o sysctrl.o clk.o dma.o gptu.o dcdc.o
|
/kernel/linux/linux-6.6/arch/mips/lantiq/xway/ |
H A D | Makefile | 2 obj-y := prom.o sysctrl.o clk.o dma.o gptu.o dcdc.o
|
/kernel/linux/linux-5.10/drivers/clk/ux500/ |
H A D | abx500-clk.c | 15 #include <linux/mfd/abx500/ab8500-sysctrl.h>
|
H A D | clk-sysctrl.c | 10 #include <linux/mfd/abx500/ab8500-sysctrl.h>
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | ab8500-sysctrl.c | 19 #include <linux/mfd/abx500/ab8500-sysctrl.h> 41 pr_err("%s: sysctrl not initialized\n", __func__); in ab8500_power_off() 154 { .compatible = "stericsson,ab8500-sysctrl", }, 160 .name = "ab8500-sysctrl",
|
H A D | Makefile | 186 obj-$(CONFIG_AB8500_CORE) += ab8500-core.o ab8500-sysctrl.o
|
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | ab8500-sysctrl.c | 19 #include <linux/mfd/abx500/ab8500-sysctrl.h> 41 pr_err("%s: sysctrl not initialized\n", __func__); in ab8500_power_off() 154 { .compatible = "stericsson,ab8500-sysctrl", }, 160 .name = "ab8500-sysctrl",
|
H A D | Makefile | 188 obj-$(CONFIG_AB8500_CORE) += ab8500-core.o ab8500-sysctrl.o
|
/kernel/linux/linux-6.6/drivers/clk/ux500/ |
H A D | abx500-clk.c | 15 #include <linux/mfd/abx500/ab8500-sysctrl.h>
|
H A D | clk-sysctrl.c | 10 #include <linux/mfd/abx500/ab8500-sysctrl.h>
|
/kernel/linux/linux-6.6/drivers/dma/dw/ |
H A D | rzn1-dmamux.c | 13 #include <linux/soc/renesas/r9a06g032-sysctrl.h>
|
/kernel/linux/linux-5.10/include/linux/mfd/abx500/ |
H A D | ab8500.h | 385 struct ab8500_sysctrl_platform_data *sysctrl; member
|
/kernel/linux/linux-6.6/include/linux/mfd/abx500/ |
H A D | ab8500.h | 382 struct ab8500_sysctrl_platform_data *sysctrl; member
|
/kernel/linux/linux-6.6/drivers/clk/renesas/ |
H A D | r9a06g032-clocks.c | 24 #include <linux/soc/renesas/r9a06g032-sysctrl.h> 26 #include <dt-bindings/clock/r9a06g032-sysctrl.h> 1380 { .compatible = "renesas,r9a06g032-sysctrl" }, 1386 .name = "renesas,r9a06g032-sysctrl",
|