Home
last modified time | relevance | path

Searched +full:bcm +full:- +full:voter (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/drivers/interconnect/qcom/
Dbcm-voter.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/interconnect-provider.h>
16 #include "bcm-voter.h"
17 #include "icc-rpmh.h"
23 * struct bcm_voter - Bus Clock Manager voter
24 * @dev: reference to the device that communicates with the BCM
25 * @np: reference to the device node to match bcm voters
26 * @lock: mutex to protect commit and wake/sleep lists in the voter
29 * @voter_node: list of bcm voters
49 if (bcm_a->aux_data.vcd < bcm_b->aux_data.vcd) in cmp_vcd()
[all …]
Dicc-rpmh.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/interconnect-provider.h>
12 #include "bcm-voter.h"
13 #include "icc-rpmh.h"
16 * qcom_icc_pre_aggregate - cleans up stale values from prior icc_set
24 qn = node->data; in qcom_icc_pre_aggregate()
27 qn->sum_avg[i] = 0; in qcom_icc_pre_aggregate()
28 qn->max_peak[i] = 0; in qcom_icc_pre_aggregate()
34 * qcom_icc_aggregate - aggregate bw for buckets indicated by tag
49 qn = node->data; in qcom_icc_aggregate()
[all …]
Dicc-rpmh.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <dt-bindings/interconnect/qcom,icc.h>
15 * struct qcom_icc_provider - Qualcomm specific interconnect provider
20 * @voter: bcm voter targeted by this provider
27 struct bcm_voter *voter; member
31 * struct bcm_db - Auxiliary data pertaining to each Bus Clock Manager (BCM)
34 * @vcd: virtual clock domain that this bcm belongs to
50 * struct qcom_icc_node - Qualcomm specific interconnect nodes
76 * struct qcom_icc_bcm - Qualcomm specific hardware accelerator nodes
77 * known as Bus Clock Manager (BCM)
[all …]
DMakefile1 # SPDX-License-Identifier: GPL-2.0
3 icc-bcm-voter-objs := bcm-voter.o
4 qnoc-msm8916-objs := msm8916.o
5 qnoc-msm8974-objs := msm8974.o
6 icc-osm-l3-objs := osm-l3.o
7 qnoc-qcs404-objs := qcs404.o
8 icc-rpmh-obj := icc-rpmh.o
9 qnoc-sc7180-objs := sc7180.o
10 qnoc-sdm845-objs := sdm845.o
11 qnoc-sm8150-objs := sm8150.o
[all …]
Dbcm-voter.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <soc/qcom/cmd-db.h>
13 #include "icc-rpmh.h"
24 void qcom_icc_bcm_voter_add(struct bcm_voter *voter, struct qcom_icc_bcm *bcm);
25 int qcom_icc_bcm_voter_commit(struct bcm_voter *voter);
Dsdm845.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
8 #include <linux/interconnect-provider.h>
12 #include <dt-bindings/interconnect/qcom,sdm845.h>
14 #include "bcm-voter.h"
15 #include "icc-rpmh.h"
451 desc = device_get_match_data(&pdev->dev); in qnoc_probe()
453 return -EINVAL; in qnoc_probe()
455 qnodes = desc->nodes; in qnoc_probe()
456 num_nodes = desc->num_nodes; in qnoc_probe()
[all …]
Dsc7180.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/interconnect-provider.h>
12 #include <dt-bindings/interconnect/qcom,sc7180.h>
14 #include "bcm-voter.h"
15 #include "icc-rpmh.h"
518 desc = device_get_match_data(&pdev->dev); in qnoc_probe()
520 return -EINVAL; in qnoc_probe()
522 qnodes = desc->nodes; in qnoc_probe()
523 num_nodes = desc->num_nodes; in qnoc_probe()
525 qp = devm_kzalloc(&pdev->dev, sizeof(*qp), GFP_KERNEL); in qnoc_probe()
[all …]
Dsm8150.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/interconnect-provider.h>
12 #include <dt-bindings/interconnect/qcom,sm8150.h>
14 #include "bcm-voter.h"
15 #include "icc-rpmh.h"
516 desc = device_get_match_data(&pdev->dev); in qnoc_probe()
518 return -EINVAL; in qnoc_probe()
520 qnodes = desc->nodes; in qnoc_probe()
521 num_nodes = desc->num_nodes; in qnoc_probe()
523 qp = devm_kzalloc(&pdev->dev, sizeof(*qp), GFP_KERNEL); in qnoc_probe()
[all …]
Dsm8250.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/interconnect-provider.h>
12 #include <dt-bindings/interconnect/qcom,sm8250.h>
14 #include "bcm-voter.h"
15 #include "icc-rpmh.h"
532 desc = device_get_match_data(&pdev->dev); in qnoc_probe()
534 return -EINVAL; in qnoc_probe()
536 qnodes = desc->nodes; in qnoc_probe()
537 num_nodes = desc->num_nodes; in qnoc_probe()
539 qp = devm_kzalloc(&pdev->dev, sizeof(*qp), GFP_KERNEL); in qnoc_probe()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/interconnect/
Dqcom,bcm-voter.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interconnect/qcom,bcm-voter.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm BCM-Voter Interconnect
10 - Georgi Djakov <georgi.djakov@linaro.org>
13 The Bus Clock Manager (BCM) is a dedicated hardware accelerator that manages
22 - qcom,bcm-voter
24 qcom,tcs-wait:
42 - compatible
[all …]
Dqcom,rpmh.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm RPMh Network-On-Chip Interconnect
10 - Georgi Djakov <georgi.djakov@linaro.org>
11 - Odelu Kukatla <okukatla@codeaurora.org>
15 RPMh hardware accelerators known as Bus Clock Manager (BCM). The provider is
16 able to communicate with the BCM through the Resource State Coordinator (RSC)
27 - qcom,sc7180-aggre1-noc
28 - qcom,sc7180-aggre2-noc
[all …]
/Linux-v5.10/arch/arm64/boot/dts/qcom/
Dsm8150.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/power/qcom-aoss-qmp.h>
9 #include <dt-bindings/power/qcom-rpmpd.h>
10 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
11 #include <dt-bindings/clock/qcom,rpmh.h>
12 #include <dt-bindings/clock/qcom,gcc-sm8150.h>
13 #include <dt-bindings/clock/qcom,gpucc-sm8150.h>
14 #include <dt-bindings/interconnect/qcom,osm-l3.h>
[all …]
Dsm8250.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/interrupt-controller/arm-gic.h>
7 #include <dt-bindings/clock/qcom,gcc-sm8250.h>
8 #include <dt-bindings/clock/qcom,gpucc-sm8250.h>
9 #include <dt-bindings/clock/qcom,rpmh.h>
10 #include <dt-bindings/interconnect/qcom,osm-l3.h>
11 #include <dt-bindings/mailbox/qcom-ipcc.h>
12 #include <dt-bindings/power/qcom-aoss-qmp.h>
13 #include <dt-bindings/power/qcom-rpmpd.h>
14 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
[all …]
Dsc7180.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
8 #include <dt-bindings/clock/qcom,dispcc-sc7180.h>
9 #include <dt-bindings/clock/qcom,gcc-sc7180.h>
10 #include <dt-bindings/clock/qcom,gpucc-sc7180.h>
11 #include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h>
12 #include <dt-bindings/clock/qcom,rpmh.h>
13 #include <dt-bindings/clock/qcom,videocc-sc7180.h>
14 #include <dt-bindings/interconnect/qcom,osm-l3.h>
15 #include <dt-bindings/interconnect/qcom,sc7180.h>
16 #include <dt-bindings/interrupt-controller/arm-gic.h>
[all …]
Dsdm845.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/clock/qcom,camcc-sdm845.h>
9 #include <dt-bindings/clock/qcom,dispcc-sdm845.h>
10 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
11 #include <dt-bindings/clock/qcom,gpucc-sdm845.h>
12 #include <dt-bindings/clock/qcom,lpass-sdm845.h>
13 #include <dt-bindings/clock/qcom,rpmh.h>
14 #include <dt-bindings/clock/qcom,videocc-sdm845.h>
15 #include <dt-bindings/interconnect/qcom,osm-l3.h>
16 #include <dt-bindings/interconnect/qcom,sdm845.h>
[all …]