1
0
mirror of https://github.com/physwizz/a155-U-u1.git synced 2025-10-18 01:15:33 +00:00
Files
physwizz 99537be4e2 first
2024-03-11 06:53:12 +11:00

46 lines
1.0 KiB
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2016 MediaTek Inc.
*/
#ifndef __MODEM_CD_PLAT_H__
#define __MODEM_CD_PLAT_H__
#include <linux/pm_wakeup.h>
#include <linux/dmapool.h>
#include <linux/timer.h>
#include <linux/interrupt.h>
#include <linux/hrtimer.h>
#include <linux/skbuff.h>
#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"
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);
extern void ccci_hif_set_devapc_flag(unsigned int value);
#endif /* __MODEM_CD_PLAT_H__ */