2 * ASPEED XDMA Controller
3 * Eddie James <eajames@linux.ibm.com>
5 * Copyright (C) 2019 IBM Corp.
6 * SPDX-License-Identifer: GPL-2.0-or-later
12 #include "hw/sysbus.h"
14 #define TYPE_ASPEED_XDMA "aspeed.xdma"
15 #define ASPEED_XDMA(obj) OBJECT_CHECK(AspeedXDMAState, (obj), TYPE_ASPEED_XDMA)
17 #define ASPEED_XDMA_NUM_REGS (ASPEED_XDMA_REG_SIZE / sizeof(uint32_t))
18 #define ASPEED_XDMA_REG_SIZE 0x7C
20 typedef struct AspeedXDMAState
{
26 char bmc_cmdq_readp_set
;
27 uint32_t regs
[ASPEED_XDMA_NUM_REGS
];
30 #endif /* ASPEED_XDMA_H */