mirror of
https://github.com/physwizz/a155-U-u1.git
synced 2025-09-16 03:59:21 +00:00
26 lines
436 B
C
26 lines
436 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2020 MediaTek Inc.
|
|
*/
|
|
#ifndef __APUSYS_DAPC_H__
|
|
#define __APUSYS_DAPC_H__
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/kref.h>
|
|
#include "dapc_cfg.h"
|
|
|
|
struct dapc_driver {
|
|
struct kref ref;
|
|
void __iomem *reg;
|
|
int irq;
|
|
unsigned int debug_log;
|
|
int enable_ke;
|
|
int enable_aee;
|
|
int enable_irq;
|
|
struct dentry *droot;
|
|
struct dentry *ddevapc;
|
|
struct dapc_config *cfg;
|
|
};
|
|
|
|
#endif
|