TT-System-Firmware APIs
19.15.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
dvfs.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2024 Tenstorrent AI ULC
3
* SPDX-License-Identifier: Apache-2.0
4
*/
5
6
#ifndef DVFS_H
7
#define DVFS_H
8
9
#include <
stdbool.h
>
10
11
extern
bool
dvfs_enabled
;
12
13
int
StartDVFSTimer
(
void
);
14
void
AdjustDVFSTimer
(
void
);
15
void
DVFSChange
(
void
);
16
17
struct
response
;
18
union
request
;
19
uint8_t
dvfs_counter_handler
(
const
union
request
*
request
,
struct
response
*
response
);
20
21
#endif
dvfs_enabled
bool dvfs_enabled
Definition
dvfs.c:26
AdjustDVFSTimer
void AdjustDVFSTimer(void)
Definition
dvfs.c:165
DVFSChange
void DVFSChange(void)
Definition
dvfs.c:54
StartDVFSTimer
int StartDVFSTimer(void)
Definition
dvfs.c:137
dvfs_counter_handler
uint8_t dvfs_counter_handler(const union request *request, struct response *response)
Definition
dvfs.c:189
stdbool.h
uint8_t
__UINT8_TYPE__ uint8_t
response
Definition
msgqueue.h:1154
request
A tenstorrent host request.
Definition
msgqueue.h:1021
lib
tenstorrent
bh_arc
dvfs.h
Generated by
1.14.0