qg-soc.h 818 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2018, 2020 The Linux Foundation. All rights reserved.
  4. * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
  5. */
  6. #ifndef __QG_SOC_H__
  7. #define __QG_SOC_H__
  8. int qg_scale_soc(struct qpnp_qg *chip, bool force_soc);
  9. int qg_soc_init(struct qpnp_qg *chip);
  10. void qg_soc_exit(struct qpnp_qg *chip);
  11. int qg_adjust_sys_soc(struct qpnp_qg *chip);
  12. extern struct device_attribute dev_attr_soc_interval_ms;
  13. extern struct device_attribute dev_attr_soc_cold_interval_ms;
  14. extern struct device_attribute dev_attr_maint_soc_update_ms;
  15. extern struct device_attribute dev_attr_fvss_delta_soc_interval_ms;
  16. extern struct device_attribute dev_attr_fvss_vbat_scaling;
  17. extern struct device_attribute dev_attr_qg_ss_feature;
  18. #endif /* __QG_SOC_H__ */