mirror of
https://github.com/physwizz/a155-U-u1.git
synced 2025-10-18 01:15:33 +00:00
42 lines
788 B
C
42 lines
788 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2016 MediaTek Inc.
|
|
*/
|
|
|
|
#ifndef __MODEM_DPMA_BAT_V3_H__
|
|
#define __MODEM_DPMA_BAT_V3_H__
|
|
|
|
#include <linux/device.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"
|
|
|
|
extern struct hif_dpmaif_ctrl *dpmaif_ctrl;
|
|
|
|
|
|
|
|
#define BAT_ALLOC_NO_PAUSED 0
|
|
#define BAT_ALLOC_IS_PAUSED 1
|
|
#define BAT_ALLOC_PAUSE_SUCC 2
|
|
|
|
|
|
|
|
void ccci_dpmaif_bat_hw_init_v3(void);
|
|
|
|
int ccci_dpmaif_bat_sw_init_v3(void);
|
|
|
|
int ccci_dpmaif_bat_start_v3(void);
|
|
|
|
void ccci_dpmaif_bat_stop_v3(void);
|
|
|
|
inline void ccci_dpmaif_bat_wakeup_thread_v3(void);
|
|
|
|
#endif /* __MODEM_DPMA_BAT_V3_H__ */
|
|
|