kernel_samsung_a34x-permissive/drivers/tee/teei/400/common/include/fdrv.h
2024-04-28 15:49:01 +02:00

34 lines
671 B
C
Executable file

/* 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