![]() |
TT-System-Firmware APIs 19.8.99
Tenstorrent Firmware
|
Go to the source code of this file.
Enumerations | |
| enum | bh_power_domain { BH_POWER_DOMAIN_AICLK , BH_POWER_DOMAIN_MRISC , BH_POWER_DOMAIN_TENSIX , BH_POWER_DOMAIN_L2CPU , BH_POWER_DOMAIN_COUNT } |
Functions | |
| int32_t | bh_set_l2cpu_enable (bool enable) |
| int | bh_power_state_get (enum bh_power_domain domain, bool *state) |
| Returns the power state of the specified domain. | |
| enum bh_power_domain |
| int bh_power_state_get | ( | enum bh_power_domain | domain, |
| bool * | state ) |
Returns the power state of the specified domain.
| [out] | state | True if power state is high (busy for AICLK), false if power state is low (idle for AICLK) |
| 0 | On success |
| -EINVAL | If domain is invalid |