
when SSR is releasing core and some clients voting for bus. Change-Id: I8575d747c17f234bbce216c346843ab07ea6b340 Signed-off-by: George Shen <quic_sqiao@quicinc.com>
29 lines
1.1 KiB
C
29 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
|
|
#ifndef _MSM_CVP_CLOCKS_H_
|
|
#define _MSM_CVP_CLOCKS_H_
|
|
#include "msm_cvp_internal.h"
|
|
#include "cvp_core_hfi.h"
|
|
|
|
int msm_cvp_set_clocks(struct msm_cvp_core *core);
|
|
int msm_cvp_mmrm_register(struct iris_hfi_device *device);
|
|
int msm_cvp_mmrm_deregister(struct iris_hfi_device *device);
|
|
int msm_cvp_mmrm_set_value_in_range(struct iris_hfi_device *device,
|
|
u32 freq_min, u32 freq_cur);
|
|
int msm_cvp_set_clocks_impl(struct iris_hfi_device *device, u32 freq);
|
|
int msm_cvp_scale_clocks(struct iris_hfi_device *device);
|
|
int msm_cvp_prepare_enable_clk(struct iris_hfi_device *device,
|
|
const char *name);
|
|
int msm_cvp_disable_unprepare_clk(struct iris_hfi_device *device,
|
|
const char *name);
|
|
int msm_cvp_init_clocks(struct iris_hfi_device *device);
|
|
void msm_cvp_deinit_clocks(struct iris_hfi_device *device);
|
|
int msm_cvp_set_bw(struct msm_cvp_core *core, struct bus_info *bus, unsigned long bw);
|
|
int cvp_set_bw(struct bus_info *bus, unsigned long bw);
|
|
#endif
|