diff options
Diffstat (limited to 'kernel/ethosu_mailbox.h')
-rw-r--r-- | kernel/ethosu_mailbox.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/kernel/ethosu_mailbox.h b/kernel/ethosu_mailbox.h index 26367f6..c3f5579 100644 --- a/kernel/ethosu_mailbox.h +++ b/kernel/ethosu_mailbox.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2022 Arm Limited. + * Copyright 2020-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 @@ -40,7 +40,6 @@ struct ethosu_buffer; struct ethosu_device; struct ethosu_core_msg; struct ethosu_core_queue; -struct ethosu_watchdog; struct resource; typedef void (*ethosu_mailbox_cb)(void *user_arg); @@ -57,14 +56,11 @@ struct ethosu_mailbox { ethosu_mailbox_cb callback; void *user_arg; struct idr msg_idr; - struct ethosu_watchdog *wdog; - unsigned ping_count; }; struct ethosu_mailbox_msg { int id; void (*fail)(struct ethosu_mailbox_msg *msg); - int (*resend)(struct ethosu_mailbox_msg *msg); }; /**************************************************************************** @@ -81,8 +77,7 @@ int ethosu_mailbox_init(struct ethosu_mailbox *mbox, struct resource *in_queue, struct resource *out_queue, ethosu_mailbox_cb callback, - void *user_arg, - struct ethosu_watchdog *wdog); + void *user_arg); /** * ethosu_mailbox_deinit() - Deinitialize mailbox @@ -149,13 +144,6 @@ struct ethosu_mailbox_msg *ethosu_mailbox_find(struct ethosu_mailbox *mbox, void ethosu_mailbox_fail(struct ethosu_mailbox *mbox); /** - * ethosu_mailbox_resend() - Resend mailbox messages - * - * Call resend() callback on all messages in pending list. - */ -void ethosu_mailbox_resend(struct ethosu_mailbox *mbox); - -/** * ethosu_mailbox_reset() - Reset to end of queue */ void ethosu_mailbox_reset(struct ethosu_mailbox *mbox); |