TT-System-Firmware APIs 19.15.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
tt_grendel_filter.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2026 Tenstorrent AI ULC
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DRIVERS_MISC_TT_GRENDEL_FILTER_H_
8#define ZEPHYR_INCLUDE_DRIVERS_MISC_TT_GRENDEL_FILTER_H_
9
10#include <stdint.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
22
37int tt_grendel_filter_enable(uint32_t bank, uint32_t entry, uint32_t hsio_tile, uint64_t start,
39
51int tt_grendel_filter_disable(uint32_t bank, uint32_t entry, uint32_t hsio_tile);
52
53#ifdef __cplusplus
54}
55#endif
56
57#endif /* ZEPHYR_INCLUDE_DRIVERS_MISC_TT_GRENDEL_FILTER_H_ */
flags
__UINT32_TYPE__ uint32_t
__UINT64_TYPE__ uint64_t
Definition tt_grendel_filter.h:16
uint32_t read
Definition tt_grendel_filter.h:17
uint32_t nonsecure
Definition tt_grendel_filter.h:19
uint32_t burst
Definition tt_grendel_filter.h:20
uint32_t write
Definition tt_grendel_filter.h:18
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.
Definition tt_grendel_filter.c:31
int tt_grendel_filter_disable(uint32_t bank, uint32_t entry, uint32_t hsio_tile)
Disable a filter entry.
Definition tt_grendel_filter.c:61