Lines Matching +full:ethos +full:- +full:u
2 * SPDX-FileCopyrightText: <text>Copyright 2021-2022, 2024 Arm Limited and/or its
3 * affiliates <open-source-office@arm.com></text>
4 * SPDX-License-Identifier: Apache-2.0
23 * Re-implementation/Overrides __((weak)) symbol functions from ethosu_driver.c
48 LOG_ERR("Failed to lock mutex with error - %d", status); in ethosu_mutex_lock()
49 return -1; in ethosu_mutex_lock()
85 /* The Ethos-U driver expects the semaphore implementation to never fail except for in ethosu_semaphore_take()
93 if (status != -EAGAIN) { in ethosu_semaphore_take()
94 LOG_ERR("Failed to take semaphore with error - %d", status); in ethosu_semaphore_take()
96 return -1; in ethosu_semaphore_take()
121 struct ethosu_data *data = dev->data; in ethosu_zephyr_irq_handler()
122 struct ethosu_driver *drv = &data->drv; in ethosu_zephyr_irq_handler()
129 const struct ethosu_dts_info *config = dev->config; in ethosu_zephyr_init()
130 struct ethosu_data *data = dev->data; in ethosu_zephyr_init()
131 struct ethosu_driver *drv = &data->drv; in ethosu_zephyr_init()
134 LOG_DBG("Ethos-U DTS info. base_address=0x%p, secure_enable=%u, privilege_enable=%u", in ethosu_zephyr_init()
135 config->base_addr, config->secure_enable, config->privilege_enable); in ethosu_zephyr_init()
139 LOG_DBG("Version. major=%u, minor=%u, patch=%u", version.major, version.minor, in ethosu_zephyr_init()
142 if (ethosu_init(drv, config->base_addr, NULL, 0, config->secure_enable, in ethosu_zephyr_init()
143 config->privilege_enable)) { in ethosu_zephyr_init()
145 return -EINVAL; in ethosu_zephyr_init()
148 config->irq_config(); in ethosu_zephyr_init()