162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (c) 2020, The Linux Foundation. All rights reserved. 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef __DRIVERS_INTERCONNECT_QCOM_BCM_VOTER_H__ 762306a36Sopenharmony_ci#define __DRIVERS_INTERCONNECT_QCOM_BCM_VOTER_H__ 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci#include <soc/qcom/cmd-db.h> 1062306a36Sopenharmony_ci#include <soc/qcom/rpmh.h> 1162306a36Sopenharmony_ci#include <soc/qcom/tcs.h> 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#include "icc-rpmh.h" 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_cistruct bcm_voter *of_bcm_voter_get(struct device *dev, const char *name); 1662306a36Sopenharmony_civoid qcom_icc_bcm_voter_add(struct bcm_voter *voter, struct qcom_icc_bcm *bcm); 1762306a36Sopenharmony_ciint qcom_icc_bcm_voter_commit(struct bcm_voter *voter); 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci#endif 20