drivers/interconnect/qcom/msm8976.c
Source file repositories/reference/linux-study-clean/drivers/interconnect/qcom/msm8976.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/interconnect/qcom/msm8976.c- Extension
.c- Size
- 31625 bytes
- Lines
- 1441
- Domain
- Driver Families
- Bucket
- drivers/interconnect
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/device.hlinux/interconnect-provider.hlinux/mod_devicetable.hlinux/module.hlinux/platform_device.hlinux/regmap.hdt-bindings/interconnect/qcom,msm8976.hicc-rpm.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
// SPDX-License-Identifier: GPL-2.0-only
/*
* Based on data from msm8976-bus.dtsi in Qualcomm's msm-3.10 release:
* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
*/
#include <linux/device.h>
#include <linux/interconnect-provider.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/regmap.h>
#include <dt-bindings/interconnect/qcom,msm8976.h>
#include "icc-rpm.h"
enum {
QNOC_MASTER_AMPSS_M0 = 1,
QNOC_MNOC_BIMC_MAS,
QNOC_SNOC_BIMC_MAS,
QNOC_MASTER_TCU_0,
QNOC_MASTER_USB_HS2,
QNOC_MASTER_BLSP_1,
QNOC_MASTER_USB_HS,
QNOC_MASTER_BLSP_2,
QNOC_MASTER_CRYPTO_CORE0,
QNOC_MASTER_SDCC_1,
QNOC_MASTER_SDCC_2,
QNOC_MASTER_SDCC_3,
QNOC_SNOC_PNOC_MAS,
QNOC_MASTER_LPASS_AHB,
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OC_SLAVE_BLSP_2,
QNOC_PNOC_SNOC_SLV,
QNOC_SLAVE_APPSS,
Annotation
- Immediate include surface: `linux/device.h`, `linux/interconnect-provider.h`, `linux/mod_devicetable.h`, `linux/module.h`, `linux/platform_device.h`, `linux/regmap.h`, `dt-bindings/interconnect/qcom,msm8976.h`, `icc-rpm.h`.
- Atlas domain: Driver Families / drivers/interconnect.
- 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.