Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/drivers/interconnect/qcom/
Dbcm-voter.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
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
[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
25 qn = node->data; in qcom_icc_pre_aggregate()
26 qp = to_qcom_provider(node->provider); in qcom_icc_pre_aggregate()
29 qn->sum_avg[i] = 0; in qcom_icc_pre_aggregate()
30 qn->max_peak[i] = 0; in qcom_icc_pre_aggregate()
33 for (i = 0; i < qn->num_bcms; i++) in qcom_icc_pre_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"
707 desc = device_get_match_data(&pdev->dev); in qnoc_probe()
709 return -EINVAL; in qnoc_probe()
711 qnodes = desc->nodes; in qnoc_probe()
712 num_nodes = desc->num_nodes; in qnoc_probe()
714 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 …]
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 …]
/kernel/linux/linux-6.6/drivers/interconnect/qcom/
Dbcm-voter.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
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
[all …]
Dicc-rpmh.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/interconnect-provider.h>
13 #include "bcm-voter.h"
14 #include "icc-common.h"
15 #include "icc-rpmh.h"
18 * qcom_icc_pre_aggregate - cleans up stale values from prior icc_set
27 qn = node->data; in qcom_icc_pre_aggregate()
28 qp = to_qcom_provider(node->provider); in qcom_icc_pre_aggregate()
31 qn->sum_avg[i] = 0; in qcom_icc_pre_aggregate()
32 qn->max_peak[i] = 0; in qcom_icc_pre_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 obj-$(CONFIG_INTERCONNECT_QCOM) += interconnect_qcom.o
5 interconnect_qcom-y := icc-common.o
6 icc-bcm-voter-objs := bcm-voter.o
7 qnoc-msm8916-objs := msm8916.o
8 qnoc-msm8939-objs := msm8939.o
9 qnoc-msm8974-objs := msm8974.o
10 qnoc-msm8996-objs := msm8996.o
11 icc-osm-l3-objs := osm-l3.o
12 qnoc-qcm2290-objs := qcm2290.o
[all …]
Dbcm-voter.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <soc/qcom/cmd-db.h>
13 #include "icc-rpmh.h"
16 void qcom_icc_bcm_voter_add(struct bcm_voter *voter, struct qcom_icc_bcm *bcm);
17 int qcom_icc_bcm_voter_commit(struct bcm_voter *voter);
/kernel/linux/linux-6.6/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-common.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interconnect/qcom,rpmh-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm RPMh Network-On-Chip Interconnect
10 - Georgi Djakov <djakov@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.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)
22 '#interconnect-cells':
[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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/
Dqcom,rpmh-rsc.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpmh-rsc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
19 The hardware block (Direct Resource Voter or DRV) is a part of the h/w entity
27 ACTIVE - Triggered by Linux
28 SLEEP - Triggered by F/W
29 WAKE - Triggered by F/W
30 CONTROL - Triggered by F/W
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/qcom/
Dqcom-sdx65.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
9 #include <dt-bindings/clock/qcom,gcc-sdx65.h>
10 #include <dt-bindings/clock/qcom,rpmh.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/power/qcom-rpmpd.h>
14 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
15 #include <dt-bindings/interconnect/qcom,sdx65.h>
18 #address-cells = <1>;
19 #size-cells = <1>;
[all …]
Dqcom-sdx55.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
9 #include <dt-bindings/clock/qcom,gcc-sdx55.h>
10 #include <dt-bindings/clock/qcom,rpmh.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interconnect/qcom,sdx55.h>
13 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 #include <dt-bindings/power/qcom-rpmpd.h>
15 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
18 #address-cells = <1>;
19 #size-cells = <1>;
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/
Dsdx75.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
9 #include <dt-bindings/clock/qcom,rpmh.h>
10 #include <dt-bindings/clock/qcom,sdx75-gcc.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/power/qcom,rpmhpd.h>
13 #include <dt-bindings/power/qcom-rpmpd.h>
14 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
17 #address-cells = <2>;
18 #size-cells = <2>;
19 interrupt-parent = <&intc>;
[all …]
Dsdm670.dtsi1 // SPDX-License-Identifier: GPL-2.0
9 #include <dt-bindings/clock/qcom,gcc-sdm845.h>
10 #include <dt-bindings/clock/qcom,rpmh.h>
11 #include <dt-bindings/dma/qcom-gpi.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/interconnect/qcom,osm-l3.h>
14 #include <dt-bindings/interconnect/qcom,sdm670-rpmh.h>
15 #include <dt-bindings/interrupt-controller/arm-gic.h>
16 #include <dt-bindings/phy/phy-qcom-qusb2.h>
17 #include <dt-bindings/power/qcom-rpmpd.h>
[all …]
Dqdu1000.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/clock/qcom,qdu1000-gcc.h>
7 #include <dt-bindings/clock/qcom,rpmh.h>
8 #include <dt-bindings/dma/qcom-gpi.h>
9 #include <dt-bindings/interconnect/qcom,qdu1000-rpmh.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/power/qcom-rpmpd.h>
12 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
15 interrupt-parent = <&intc>;
17 #address-cells = <2>;
[all …]

123