xref: /wlan-driver/platform/icnss2/power.h (revision 5113495b16420b49004c444715d2daae2066e7dc)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
4  * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
5  */
6 
7 #ifndef __ICNSS_POWER_H__
8 #define __ICNSS_POWER_H__
9 
10 int icnss_hw_power_on(struct icnss_priv *priv);
11 int icnss_hw_power_off(struct icnss_priv *priv);
12 int icnss_power_on_chain1_reg(struct icnss_priv *priv);
13 int icnss_get_clk(struct icnss_priv *priv);
14 int icnss_get_vreg(struct icnss_priv *priv);
15 void icnss_put_resources(struct icnss_priv *priv);
16 void icnss_put_vreg(struct icnss_priv *priv);
17 void icnss_put_clk(struct icnss_priv *priv);
18 int icnss_vreg_unvote(struct icnss_priv *priv);
19 int icnss_get_psf_info(struct icnss_priv *priv);
20 #endif
21