TT Zephyr Platforms
19.5.0-rc1
Tenstorrent Firmware
Loading...
Searching...
No Matches
dma_tt_bh_noc.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Tenstorrent AI ULC
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#include <
zephyr/drivers/dma.h
>
8
9
enum
tt_bh_dma_noc_channel_direction
{
10
TT_BH_DMA_NOC_CHANNEL_DIRECTION_BROADCAST
=
DMA_CHANNEL_DIRECTION_PRIV_START
11
};
12
13
struct
tt_bh_dma_noc_coords
{
14
uint8_t
source_x
,
source_y
;
15
uint8_t
dest_x
,
dest_y
;
16
};
17
18
static
inline
struct
tt_bh_dma_noc_coords
19
tt_bh_dma_noc_coords_init
(
uint8_t
source_x
,
uint8_t
source_y
,
uint8_t
dest_x
,
uint8_t
dest_y
)
20
{
21
return
(
struct
tt_bh_dma_noc_coords
){
22
.source_x =
source_x
,
23
.source_y =
source_y
,
24
.dest_x =
dest_x
,
25
.dest_y =
dest_y
,
26
};
27
}
tt_bh_dma_noc_coords_init
static struct tt_bh_dma_noc_coords tt_bh_dma_noc_coords_init(uint8_t source_x, uint8_t source_y, uint8_t dest_x, uint8_t dest_y)
Definition
dma_tt_bh_noc.h:19
tt_bh_dma_noc_channel_direction
tt_bh_dma_noc_channel_direction
Definition
dma_tt_bh_noc.h:9
TT_BH_DMA_NOC_CHANNEL_DIRECTION_BROADCAST
@ TT_BH_DMA_NOC_CHANNEL_DIRECTION_BROADCAST
Definition
dma_tt_bh_noc.h:10
dma.h
DMA_CHANNEL_DIRECTION_PRIV_START
DMA_CHANNEL_DIRECTION_PRIV_START
uint8_t
__UINT8_TYPE__ uint8_t
tt_bh_dma_noc_coords
Definition
dma_tt_bh_noc.h:13
tt_bh_dma_noc_coords::dest_x
uint8_t dest_x
Definition
dma_tt_bh_noc.h:15
tt_bh_dma_noc_coords::source_y
uint8_t source_y
Definition
dma_tt_bh_noc.h:14
tt_bh_dma_noc_coords::dest_y
uint8_t dest_y
Definition
dma_tt_bh_noc.h:15
tt_bh_dma_noc_coords::source_x
uint8_t source_x
Definition
dma_tt_bh_noc.h:14
zephyr
drivers
dma
dma_tt_bh_noc.h
Generated by
1.14.0