arch/arm/mach-omap2/powerdomains43xx_data.c
Source file repositories/reference/linux-study-clean/arch/arm/mach-omap2/powerdomains43xx_data.c
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/mach-omap2/powerdomains43xx_data.c- Extension
.c- Size
- 3337 bytes
- Lines
- 134
- Domain
- Architecture Layer
- Bucket
- arch/arm
- Inferred role
- Architecture Layer: implementation source
- Status
- source implementation candidate
Why This File Exists
CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/init.hpowerdomain.hprcm-common.hprcm44xx.hprcm43xx.h
Detected Declarations
function am43xx_check_vcvpfunction am43xx_powerdomains_init
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0-only
/*
* AM43xx Power domains framework
*
* Copyright (C) 2013 Texas Instruments, Inc.
*/
#include <linux/kernel.h>
#include <linux/init.h>
#include "powerdomain.h"
#include "prcm-common.h"
#include "prcm44xx.h"
#include "prcm43xx.h"
static struct powerdomain gfx_43xx_pwrdm = {
.name = "gfx_pwrdm",
.voltdm = { .name = "core" },
.prcm_offs = AM43XX_PRM_GFX_INST,
.prcm_partition = AM43XX_PRM_PARTITION,
.pwrsts = PWRSTS_OFF_ON,
.banks = 1,
.pwrsts_mem_on = {
[0] = PWRSTS_ON, /* gfx_mem */
},
.flags = PWRDM_HAS_LOWPOWERSTATECHANGE,
};
static struct powerdomain mpu_43xx_pwrdm = {
.name = "mpu_pwrdm",
.voltdm = { .name = "mpu" },
.prcm_offs = AM43XX_PRM_MPU_INST,
.prcm_partition = AM43XX_PRM_PARTITION,
.pwrsts = PWRSTS_OFF_RET_ON,
.pwrsts_logic_ret = PWRSTS_OFF_RET,
.banks = 3,
.pwrsts_mem_ret = {
[0] = PWRSTS_OFF_RET, /* mpu_l1 */
[1] = PWRSTS_OFF_RET, /* mpu_l2 */
[2] = PWRSTS_OFF_RET, /* mpu_ram */
},
.pwrsts_mem_on = {
[0] = PWRSTS_ON, /* mpu_l1 */
[1] = PWRSTS_ON, /* mpu_l2 */
[2] = PWRSTS_ON, /* mpu_ram */
},
.flags = PWRDM_HAS_LOWPOWERSTATECHANGE,
};
static struct powerdomain rtc_43xx_pwrdm = {
.name = "rtc_pwrdm",
.voltdm = { .name = "rtc" },
.prcm_offs = AM43XX_PRM_RTC_INST,
.prcm_partition = AM43XX_PRM_PARTITION,
.pwrsts = PWRSTS_ON,
};
static struct powerdomain wkup_43xx_pwrdm = {
.name = "wkup_pwrdm",
.voltdm = { .name = "core" },
.prcm_offs = AM43XX_PRM_WKUP_INST,
.prcm_partition = AM43XX_PRM_PARTITION,
.pwrsts = PWRSTS_ON,
.banks = 1,
.pwrsts_mem_on = {
[0] = PWRSTS_ON, /* debugss_mem */
},
};
static struct powerdomain tamper_43xx_pwrdm = {
.name = "tamper_pwrdm",
.voltdm = { .name = "tamper" },
.prcm_offs = AM43XX_PRM_TAMPER_INST,
.prcm_partition = AM43XX_PRM_PARTITION,
.pwrsts = PWRSTS_ON,
};
static struct powerdomain cefuse_43xx_pwrdm = {
.name = "cefuse_pwrdm",
.voltdm = { .name = "core" },
.prcm_offs = AM43XX_PRM_CEFUSE_INST,
.prcm_partition = AM43XX_PRM_PARTITION,
.pwrsts = PWRSTS_OFF_ON,
.flags = PWRDM_HAS_LOWPOWERSTATECHANGE,
};
static struct powerdomain per_43xx_pwrdm = {
.name = "per_pwrdm",
.voltdm = { .name = "core" },
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/init.h`, `powerdomain.h`, `prcm-common.h`, `prcm44xx.h`, `prcm43xx.h`.
- Detected declarations: `function am43xx_check_vcvp`, `function am43xx_powerdomains_init`.
- Atlas domain: Architecture Layer / arch/arm.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.