TT-System-Firmware APIs 19.8.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
bh_power.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Tenstorrent AI ULC
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#ifndef BH_POWER_H
7#define BH_POWER_H
8
9#include <stdbool.h>
10#include <stdint.h>
11
19
20int32_t bh_set_l2cpu_enable(bool enable);
21
31int bh_power_state_get(enum bh_power_domain domain, bool *state);
32
33#endif
bh_power_domain
Definition bh_power.h:12
@ BH_POWER_DOMAIN_COUNT
Definition bh_power.h:17
@ BH_POWER_DOMAIN_MRISC
Definition bh_power.h:14
@ BH_POWER_DOMAIN_AICLK
Definition bh_power.h:13
@ BH_POWER_DOMAIN_TENSIX
Definition bh_power.h:15
@ BH_POWER_DOMAIN_L2CPU
Definition bh_power.h:16
int bh_power_state_get(enum bh_power_domain domain, bool *state)
Returns the power state of the specified domain.
Definition bh_power.c:59
int32_t bh_set_l2cpu_enable(bool enable)
Definition bh_power.c:32
state
__INT32_TYPE__ int32_t