kernel-brax3-ubuntu-touch/drivers/tee/teei/500/tz_dcih/tz_dcih_test.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

31 lines
602 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2015-2019, MICROTRUST Incorporated
* All Rights Reserved.
*
*/
#ifndef _TZ_DCIH_TEST_H_
#define _TZ_DCIH_TEST_H_
#define MAX_BUF_SIZE 512
enum {
GREETING,
BIT_OP_NOT,
};
struct dci_message {
uint32_t cmd;
uint8_t req_data[MAX_BUF_SIZE];
uint8_t res_data[MAX_BUF_SIZE];
};
void start_dcih_notify_test(uint32_t driver_id);
int get_dcih_notify_test_result(void);
void start_dcih_wait_notify_test(uint32_t driver_id);
int get_dcih_wait_notify_test_result(void);
extern int send_sig(int sig, struct task_struct *p, int priv);
#endif