1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. 4 */ 5 6 #ifndef __IRIS_RESOURCES_H__ 7 #define __IRIS_RESOURCES_H__ 8 9 struct iris_core; 10 11 int iris_opp_set_rate(struct device *dev, unsigned long freq); 12 int iris_enable_power_domains(struct iris_core *core, struct device *pd_dev); 13 int iris_disable_power_domains(struct iris_core *core, struct device *pd_dev); 14 int iris_unset_icc_bw(struct iris_core *core); 15 int iris_set_icc_bw(struct iris_core *core, unsigned long icc_bw); 16 int iris_disable_unprepare_clock(struct iris_core *core, enum platform_clk_type clk_type); 17 int iris_prepare_enable_clock(struct iris_core *core, enum platform_clk_type clk_type); 18 19 #endif 20