kernel-brax3-ubuntu-touch/drivers/tee/teei/500/common/include/fdrv.h
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

33 lines
671 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2015-2019, MICROTRUST Incorporated
* All Rights Reserved.
*
*/
#ifndef __TEEI_FDRV_H__
#define __TEEI_FDRV_H__
#include <linux/list.h>
#include <notify_queue.h>
#include <teei_common.h>
struct teei_fdrv {
void *buf;
int buff_size;
int call_type;
struct list_head list;
};
/* used by fdrv drivers */
void register_fdrv(struct teei_fdrv *fdrv);
int create_fdrv(struct teei_fdrv *fdrv);
int fdrv_notify(struct teei_fdrv *fdrv);
void teei_handle_fdrv_call(struct NQ_entry *entry);
/* used internally by tz_driver */
int create_all_fdrv(void);
int __call_fdrv(struct fdrv_call_struct *fdrv_ent);
#endif