TT-System-Firmware APIs 19.15.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
tt_grendel_hsio.c File Reference
#include <errno.h>
#include <zephyr/drivers/misc/tt_grendel_hsio.h>
#include <zephyr/logging/log.h>
#include <basic_init.h>
#include <clock.h>
#include <err.h>
#include <firewall.h>
#include <platform.h>
Include dependency graph for tt_grendel_hsio.c:

Macros

#define CONFIG_TT_GRENDEL_HSIO_LOG_LEVEL   0
#define HSIO_TILE_MAX   4U

Functions

 LOG_MODULE_REGISTER (tt_grendel_hsio, 0)
int tt_grendel_hsio_init (uint32_t hsio_tile)
 Bring one HSIO tile out of reset and open its host-path firewalls.

Macro Definition Documentation

◆ CONFIG_TT_GRENDEL_HSIO_LOG_LEVEL

#define CONFIG_TT_GRENDEL_HSIO_LOG_LEVEL   0

◆ HSIO_TILE_MAX

#define HSIO_TILE_MAX   4U

Function Documentation

◆ LOG_MODULE_REGISTER()

LOG_MODULE_REGISTER ( tt_grendel_hsio ,
0  )

◆ tt_grendel_hsio_init()

int tt_grendel_hsio_init ( uint32_t hsio_tile)

Bring one HSIO tile out of reset and open its host-path firewalls.

Parameters
hsio_tileTile index (0-4).
Return values
0Tile programmed.
-EINVALInvalid tile.
-EIOSiVal programming failed.