TT-System-Firmware APIs 19.15.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
tt_grendel_filter.h File Reference
#include <stdint.h>
Include dependency graph for tt_grendel_filter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tt_grendel_filter_flags

Functions

int tt_grendel_filter_enable (uint32_t bank, uint32_t entry, uint32_t hsio_tile, uint64_t start, uint64_t end, struct tt_grendel_filter_flags flags)
 Enable a filter entry for an inclusive address range.
int tt_grendel_filter_disable (uint32_t bank, uint32_t entry, uint32_t hsio_tile)
 Disable a filter entry.

Function Documentation

◆ tt_grendel_filter_disable()

int tt_grendel_filter_disable ( uint32_t bank,
uint32_t entry,
uint32_t hsio_tile )

Disable a filter entry.

Parameters
bankSiVal filter_t bank.
entryFilter entry index.
hsio_tileHSIO/SMN tile (0 for SMC banks).
Return values
0Entry disabled.
-EINVALInvalid entry or SiVal parameters.
-EIOUnmapped SiVal error.

◆ tt_grendel_filter_enable()

int tt_grendel_filter_enable ( uint32_t bank,
uint32_t entry,
uint32_t hsio_tile,
uint64_t start,
uint64_t end,
struct tt_grendel_filter_flags flags )

Enable a filter entry for an inclusive address range.

Parameters
bankSiVal filter_t bank.
entryFilter entry index.
hsio_tileHSIO/SMN tile (0 for SMC banks).
startFirst address admitted by the entry.
endLast address admitted by the entry.
flagsAccesses admitted by the entry.
Return values
0Entry enabled.
-EINVALInvalid entry, range, flags, or SiVal parameters.
-EIOUnmapped SiVal error.