/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2016 MediaTek Inc. */ #ifndef __MODEM_CD_PLAT_H__ #define __MODEM_CD_PLAT_H__ #include #include #include #include #include #include #include "mt-plat/mtk_ccci_common.h" #include "ccci_config.h" #include "ccci_common_config.h" #include "ccci_bm.h" #include "ccci_hif_internal.h" #include "modem_sys.h" #include "md_sys1_platform.h" struct ccci_cldma_plat_ops { void (*hw_reset)(unsigned char md_id); void (*set_clk_cg)(unsigned char md_id, unsigned int on); int (*syssuspend)(unsigned char md_id); void (*sysresume)(unsigned char md_id); }; #define CLDMA_CLOCK_COUNT 1 extern void cldma_plat_hw_reset(unsigned char md_id); extern void cldma_plat_set_clk_cg(unsigned char md_id, unsigned int on); extern int cldma_plat_suspend(unsigned char md_id); extern void cldma_plat_resume(unsigned char md_id); #endif /* __MODEM_CD_PLAT_H__ */