From 3c6a260a705a668b5ff8e8159f04c257273fb458 Mon Sep 17 00:00:00 2001 From: Kristofer Jonsson Date: Thu, 10 Mar 2022 11:17:29 +0100 Subject: Network info Add UAPI and core message that allows user space space to fetch information about network models built into the firmware. Change-Id: Ic92529bce3edd0a5499e691a566bd065da2a72ad --- kernel/ethosu_mailbox.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kernel/ethosu_mailbox.h') diff --git a/kernel/ethosu_mailbox.h b/kernel/ethosu_mailbox.h index af3d986..f004f92 100644 --- a/kernel/ethosu_mailbox.h +++ b/kernel/ethosu_mailbox.h @@ -138,4 +138,14 @@ int ethosu_mailbox_inference(struct ethosu_mailbox *mbox, uint8_t pmu_event_config_count, uint8_t pmu_cycle_counter_enable); +/** + * ethosu_mailbox_network_info_request() - Send network info request + * + * Return: 0 on success, else error code. + */ +int ethosu_mailbox_network_info_request(struct ethosu_mailbox *mbox, + void *user_arg, + struct ethosu_buffer *network, + uint32_t network_index); + #endif /* ETHOSU_MAILBOX_H */ -- cgit v1.2.1