Home
last modified time | relevance | path

Searched refs:semaphore (Results 1 – 3 of 3) sorted by relevance

/hal_ethos_u-3.7.0/src/
Dethosu_driver.c387 ethosu_semaphore_give(drv->semaphore); in ethosu_irq_handler()
442 drv->semaphore = ethosu_semaphore_create(); in ethosu_init()
443 if (!drv->semaphore) in ethosu_init()
460 ethosu_semaphore_destroy(drv->semaphore); in ethosu_deinit()
550 ret = ethosu_semaphore_take(drv->semaphore, ETHOSU_SEMAPHORE_WAIT_INFERENCE); in ethosu_wait()
563 ethosu_semaphore_take(drv->semaphore, ETHOSU_SEMAPHORE_WAIT_INFERENCE); in ethosu_wait()
/hal_ethos_u-3.7.0/
DREADME.md166 The driver allows for an RTOS to set a timeout for the NPU interrupt semaphore.
168 is then used as `timeout` argument for the interrupt semaphore take call. Note
180 The mutex and semaphore APIs are defined as weak linked functions that can be
191 // create a (binary) semaphore by returning back a handle
193 // take from the given semaphore, accepting a timeout (unit impl. defined)
195 // give from the given semaphore
208 including in the event of an interrupt semaphore take timeout.
/hal_ethos_u-3.7.0/include/
Dethosu_driver.h88 void *semaphore; member