drivers/interconnect/qcom/sc8180x.c

Source file repositories/reference/linux-study-clean/drivers/interconnect/qcom/sc8180x.c

File Facts

System
Linux kernel
Corpus path
drivers/interconnect/qcom/sc8180x.c
Extension
.c
Size
46448 bytes
Lines
1909
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.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (c) 2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2021, Linaro Ltd.
 */

#include <linux/device.h>
#include <linux/interconnect-provider.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>

#include <dt-bindings/interconnect/qcom,sc8180x.h>

#include "bcm-voter.h"
#include "icc-rpmh.h"

static struct qcom_icc_node mas_qhm_a1noc_cfg;
static struct qcom_icc_node mas_xm_ufs_card;
static struct qcom_icc_node mas_xm_ufs_g4;
static struct qcom_icc_node mas_xm_ufs_mem;
static struct qcom_icc_node mas_xm_usb3_0;
static struct qcom_icc_node mas_xm_usb3_1;
static struct qcom_icc_node mas_xm_usb3_2;
static struct qcom_icc_node mas_qhm_a2noc_cfg;
static struct qcom_icc_node mas_qhm_qdss_bam;
static struct qcom_icc_node mas_qhm_qspi;
static struct qcom_icc_node mas_qhm_qspi1;
static struct qcom_icc_node mas_qhm_qup0;
static struct qcom_icc_node mas_qhm_qup1;
static struct qcom_icc_node mas_qhm_qup2;
static struct qcom_icc_node mas_qhm_sensorss_ahb;
static struct qcom_icc_node mas_qxm_crypto;
static struct qcom_icc_node mas_qxm_ipa;
static struct qcom_icc_node mas_xm_emac;
static struct qcom_icc_node mas_xm_pcie3_0;
static struct qcom_icc_node mas_xm_pcie3_1;
static struct qcom_icc_node mas_xm_pcie3_2;
static struct qcom_icc_node mas_xm_pcie3_3;
static struct qcom_icc_node mas_xm_qdss_etr;
static struct qcom_icc_node mas_xm_sdc2;
static struct qcom_icc_node mas_xm_sdc4;
static struct qcom_icc_node mas_qxm_camnoc_hf0_uncomp;
static struct qcom_icc_node mas_qxm_camnoc_hf1_uncomp;
static struct qcom_icc_node mas_qxm_camnoc_sf_uncomp;
static struct qcom_icc_node mas_qnm_npu;
static struct qcom_icc_node mas_qnm_snoc;
static struct qcom_icc_node mas_qhm_cnoc_dc_noc;
static struct qcom_icc_node mas_acm_apps;
static struct qcom_icc_node mas_acm_gpu_tcu;
static struct qcom_icc_node mas_acm_sys_tcu;
static struct qcom_icc_node mas_qhm_gemnoc_cfg;
static struct qcom_icc_node mas_qnm_cmpnoc;
static struct qcom_icc_node mas_qnm_gpu;
static struct qcom_icc_node mas_qnm_mnoc_hf;
static struct qcom_icc_node mas_qnm_mnoc_sf;
static struct qcom_icc_node mas_qnm_pcie;
static struct qcom_icc_node mas_qnm_snoc_gc;
static struct qcom_icc_node mas_qnm_snoc_sf;
static struct qcom_icc_node mas_qxm_ecc;
static struct qcom_icc_node mas_llcc_mc;
static struct qcom_icc_node mas_qhm_mnoc_cfg;
static struct qcom_icc_node mas_qxm_camnoc_hf0;
static struct qcom_icc_node mas_qxm_camnoc_hf1;
static struct qcom_icc_node mas_qxm_camnoc_sf;
static struct qcom_icc_node mas_qxm_mdp0;
static struct qcom_icc_node mas_qxm_mdp1;
static struct qcom_icc_node mas_qxm_rot;
static struct qcom_icc_node mas_qxm_venus0;
static struct qcom_icc_node mas_qxm_venus1;
static struct qcom_icc_node mas_qxm_venus_arm9;
static struct qcom_icc_node mas_qhm_snoc_cfg;
static struct qcom_icc_node mas_qnm_aggre1_noc;
static struct qcom_icc_node mas_qnm_aggre2_noc;
static struct qcom_icc_node mas_qnm_gemnoc;
static struct qcom_icc_node mas_qxm_pimem;
static struct qcom_icc_node mas_xm_gic;
static struct qcom_icc_node mas_qup_core_0;
static struct qcom_icc_node mas_qup_core_1;
static struct qcom_icc_node mas_qup_core_2;
static struct qcom_icc_node slv_qns_a1noc_snoc;
static struct qcom_icc_node slv_srvc_aggre1_noc;
static struct qcom_icc_node slv_qns_a2noc_snoc;
static struct qcom_icc_node slv_qns_pcie_mem_noc;
static struct qcom_icc_node slv_srvc_aggre2_noc;
static struct qcom_icc_node slv_qns_camnoc_uncomp;
static struct qcom_icc_node slv_qns_cdsp_mem_noc;
static struct qcom_icc_node slv_qhs_a1_noc_cfg;
static struct qcom_icc_node slv_qhs_a2_noc_cfg;
static struct qcom_icc_node slv_qhs_ahb2phy_refgen_center;

Annotation

Implementation Notes