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