power.h 613 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef __ICNSS_POWER_H__
  6. #define __ICNSS_POWER_H__
  7. int icnss_hw_power_on(struct icnss_priv *priv);
  8. int icnss_hw_power_off(struct icnss_priv *priv);
  9. int icnss_get_clk(struct icnss_priv *priv);
  10. int icnss_get_vreg(struct icnss_priv *priv);
  11. int icnss_init_vph_monitor(struct icnss_priv *priv);
  12. void icnss_put_resources(struct icnss_priv *priv);
  13. void icnss_put_vreg(struct icnss_priv *priv);
  14. void icnss_put_clk(struct icnss_priv *priv);
  15. int icnss_vreg_unvote(struct icnss_priv *priv);
  16. #endif