power.h 740 B

1234567891011121314151617181920
  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. #ifndef __ICNSS_POWER_H__
  7. #define __ICNSS_POWER_H__
  8. int icnss_hw_power_on(struct icnss_priv *priv);
  9. int icnss_hw_power_off(struct icnss_priv *priv);
  10. int icnss_power_on_chain1_reg(struct icnss_priv *priv);
  11. int icnss_get_clk(struct icnss_priv *priv);
  12. int icnss_get_vreg(struct icnss_priv *priv);
  13. void icnss_put_resources(struct icnss_priv *priv);
  14. void icnss_put_vreg(struct icnss_priv *priv);
  15. void icnss_put_clk(struct icnss_priv *priv);
  16. int icnss_vreg_unvote(struct icnss_priv *priv);
  17. int icnss_get_psf_info(struct icnss_priv *priv);
  18. #endif