Home
last modified time | relevance | path

Searched full:voter (Results 1 – 25 of 47) sorted by relevance

12

/linux/drivers/interconnect/qcom/
H A Dbcm-voter.c16 #include "bcm-voter.h"
23 * struct bcm_voter - Bus Clock Manager voter
26 * @lock: mutex to protect commit and wake/sleep lists in the voter
156 static void tcs_list_gen(struct bcm_voter *voter, int bucket, in tcs_list_gen() argument
160 struct list_head *bcm_list = &voter->commit_list; in tcs_list_gen()
176 wait = commit && (voter->tcs_wait & BIT(bucket)); in tcs_list_gen()
199 * of_bcm_voter_get - gets a bcm voter handle from DT node
201 * @name: name for the bcm voter device
207 * when matching bcm voter is yet to be found.
211 struct bcm_voter *voter = ERR_PTR(-EPROBE_DEFER); in of_bcm_voter_get() local
[all …]
H A Dicc-rpmh.c16 #include "bcm-voter.h"
71 qcom_icc_bcm_voter_add(qp->voter, qn->bcms[i]); in qcom_icc_pre_aggregate()
133 qcom_icc_bcm_voter_commit(qp->voter); in qcom_icc_set()
271 qp->voter = of_bcm_voter_get(qp->dev, NULL); in qcom_icc_rpmh_probe()
272 if (IS_ERR(qp->voter)) in qcom_icc_rpmh_probe()
273 return PTR_ERR(qp->voter); in qcom_icc_rpmh_probe()
H A Dbcm-voter.h16 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);
H A Dicc-rpmh.h22 * @voter: bcm voter targeted by this provider
34 struct bcm_voter *voter; member
H A DMakefile6 icc-bcm-voter-objs := bcm-voter.o
51 obj-$(CONFIG_INTERCONNECT_QCOM_BCM_VOTER) += icc-bcm-voter.o
H A Dsdx65.c14 #include "bcm-voter.h"
H A Dsdx55.c18 #include "bcm-voter.h"
H A Dsdx75.c14 #include "bcm-voter.h"
H A Dqdu1000.c15 #include "bcm-voter.h"
H A Dsdm670.c14 #include "bcm-voter.h"
H A Dsm8750.c14 #include "bcm-voter.h"
H A Dsm7150.c15 #include "bcm-voter.h"
H A Dsdm845.c15 #include "bcm-voter.h"
/linux/Documentation/devicetree/bindings/interconnect/
H A Dqcom,bcm-voter.yaml4 $id: http://devicetree.org/schemas/interconnect/qcom,bcm-voter.yaml#
7 title: Qualcomm BCM-Voter Interconnect
22 - qcom,bcm-voter
51 apps_bcm_voter: bcm-voter {
52 compatible = "qcom,bcm-voter";
61 disp_bcm_voter: bcm-voter {
62 compatible = "qcom,bcm-voter";
H A Dqcom,rpmh-common.yaml31 List of phandles to qcom,bcm-voter nodes that are required by
34 qcom,bcm-voter-names:
/linux/Documentation/devicetree/bindings/clock/
H A Dmediatek,mt8196-sys-clock.yaml51 mediatek,hardware-voter:
54 Phandle to the "Hardware Voter" (HWV), as named in the vendor
71 counter than a true voter. Furthermore, it is not a separate
83 The name "hardware-voter" is retained to match vendor documentation, but
104 mediatek,hardware-voter = <&scp_hwv>;
H A Dmediatek,mt8196-clock.yaml56 mediatek,hardware-voter:
59 Phandle to the "Hardware Voter" (HWV), as named in the vendor
76 counter than a true voter. Furthermore, it is not a separate
88 The name "hardware-voter" is retained to match vendor documentation, but
103 mediatek,hardware-voter = <&scp_hwv>;
/linux/drivers/soc/qcom/
H A Drpmh-internal.h93 * struct rsc_drv: the Direct Resource Voter (DRV) of the
99 * @id: Instance id in the controller (Direct Resource Voter).
/linux/drivers/clk/mediatek/
H A Dclk-gate.c227 "regmap not found for hardware voter clocks\n"); in mtk_clk_register_gate()
277 "Cannot find hardware voter regmap for %pOF\n", node); in mtk_clk_register_gates()
H A Dclk-mux.c296 "regmap not found for hardware voter clocks\n"); in mtk_clk_register_mux()
346 "Cannot find hardware voter regmap for %pOF\n", node); in mtk_clk_register_muxes()
H A Dclk-mt8196-topckgen2.c72 /* HW Voter REG */
H A Dclk-mtk.c695 hwv_node = of_parse_phandle(node, "mediatek,hardware-voter", 0); in mtk_clk_get_hwv_regmap()
H A Dclk-mt8196-topckgen.c169 /* HW Voter REG */
/linux/drivers/pmdomain/mediatek/
H A Dmtk-pm-domains.c339 /* Make sure the HW Voter is idle and able to accept commands */ in scpsys_hwv_power_on()
345 dev_err(scpsys->dev, "Failed to power on: HW Voter busy.\n"); in scpsys_hwv_power_on()
364 dev_err(scpsys->dev, "Failed to power on: HW Voter not starting.\n"); in scpsys_hwv_power_on()
372 dev_err(scpsys->dev, "Failed to power on: HW Voter ACK timeout.\n"); in scpsys_hwv_power_on()
414 /* Make sure the HW Voter is idle and able to accept commands */ in scpsys_hwv_power_off()
876 /* HW-Voter code can be invoked in atomic context */ in scpsys_add_one_domain()
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-sdx65.dtsi807 apps_bcm_voter: bcm-voter {
808 compatible = "qcom,bcm-voter";

12