Searched refs:semaphore (Results 1 – 3 of 3) sorted by relevance
387 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()
166 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. Note180 The mutex and semaphore APIs are defined as weak linked functions that can be191 // create a (binary) semaphore by returning back a handle193 // take from the given semaphore, accepting a timeout (unit impl. defined)195 // give from the given semaphore208 including in the event of an interrupt semaphore take timeout.
88 void *semaphore; member