xref: /linux/drivers/media/platform/qcom/iris/iris_resources.h (revision 4f9786035f9e519db41375818e1d0b5f20da2f10)
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_enable_power_domains(struct iris_core *core, struct device *pd_dev);
12 int iris_disable_power_domains(struct iris_core *core, struct device *pd_dev);
13 int iris_unset_icc_bw(struct iris_core *core);
14 int iris_set_icc_bw(struct iris_core *core, unsigned long icc_bw);
15 int iris_disable_unprepare_clock(struct iris_core *core, enum platform_clk_type clk_type);
16 int iris_prepare_enable_clock(struct iris_core *core, enum platform_clk_type clk_type);
17 
18 #endif
19