Home
last modified time | relevance | path

Searched refs:power_request_counter (Results 1 – 2 of 2) sorted by relevance

/hal_ethos_u-3.6.0-3.5.0-3.4.0/src/
Dethosu_driver.c411 drv->power_request_counter = 0; in ethosu_init()
451 … drv->power_request_counter > 0 ? ETHOSU_CLOCK_Q_DISABLE : ETHOSU_CLOCK_Q_ENABLE, in ethosu_soft_reset()
452 … drv->power_request_counter > 0 ? ETHOSU_POWER_Q_DISABLE : ETHOSU_POWER_Q_ENABLE); in ethosu_soft_reset()
460 if (drv->power_request_counter++ == 0) in ethosu_request_power()
467 drv->power_request_counter--; in ethosu_request_power()
476 if (drv->power_request_counter == 0) in ethosu_release_power()
483 if (--drv->power_request_counter == 0) in ethosu_release_power()
742 drv->power_request_counter = 0; in ethosu_release_driver()
/hal_ethos_u-3.6.0-3.5.0-3.4.0/include/
Dethosu_driver.h77 uint32_t power_request_counter; member