aboutsummaryrefslogtreecommitdiff
path: root/kernel/ethosu_cancel_inference.h
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2023-01-04 17:09:47 +0100
committerKristofer Jonsson <kristofer.jonsson@arm.com>2023-02-02 16:23:59 +0100
commitd779a08a0f7ca3cdde16941720ddc7af96e74520 (patch)
tree2b05dc35a14f6787568cf92b1ff539afedffecc9 /kernel/ethosu_cancel_inference.h
parentb42bc0b95dcc5fac60d52e956056fd46bfe2beb9 (diff)
downloadethos-u-linux-driver-stack-d779a08a0f7ca3cdde16941720ddc7af96e74520.tar.gz
Converting Ethos-U driver to rpmsg
The Ethos-U kernel driver has been converted from a platform driver with a custom firmware interface into a rpmsg driver. Change-Id: I9ae449f5e79eb02924e6630611d0893e5fec86be
Diffstat (limited to 'kernel/ethosu_cancel_inference.h')
-rw-r--r--kernel/ethosu_cancel_inference.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/kernel/ethosu_cancel_inference.h b/kernel/ethosu_cancel_inference.h
index 044692c..a21b9c0 100644
--- a/kernel/ethosu_cancel_inference.h
+++ b/kernel/ethosu_cancel_inference.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2022 ARM Limited.
+ * Copyright 2022-2023 Arm Limited and/or its affiliates
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
@@ -35,10 +35,10 @@
* Types
****************************************************************************/
-struct ethosu_core_cancel_inference_rsp;
+struct ethosu_core_msg_cancel_inference_rsp;
struct ethosu_device;
-struct ethosu_uapi_cancel_inference_status;
struct ethosu_inference;
+struct ethosu_uapi_cancel_inference_status;
struct ethosu_cancel_inference {
struct ethosu_device *edev;
@@ -65,6 +65,7 @@ int ethosu_cancel_inference_request(struct ethosu_inference *inf,
* ethosu_cancel_inference_rsp() - Handle cancel inference response
*/
void ethosu_cancel_inference_rsp(struct ethosu_device *edev,
- struct ethosu_core_cancel_inference_rsp *rsp);
+ int msg_id,
+ struct ethosu_core_msg_cancel_inference_rsp *rsp);
#endif /* ETHOSU_CANCEL_INFERENCE_H */