31#define GET_DT_REG_ADDRESS_OFFSET(Index, AddrCells, SizeCells) ( \
32 (Index) * ((AddrCells) + (SizeCells)) \
50#define GET_DT_REG_SIZE_OFFSET(Index, AddrCells, SizeCells) ( \
51 GET_DT_REG_ADDRESS_OFFSET ((Index), (AddrCells), (SizeCells)) + \
56#define COMPATIBLE_STR_LEN (32U)
59#define PPI_OFFSET (16U)
60#define SPI_OFFSET (32U)
61#define DT_PPI_IRQ (1U)
62#define DT_SPI_IRQ (0U)
63#define DT_IRQ_IS_EDGE_TRIGGERED(x) ((((x) & (BIT0 | BIT1)) != 0))
64#define DT_IRQ_IS_ACTIVE_LOW(x) ((((x) & (BIT1 | BIT3)) != 0))
65#define IRQ_TYPE_OFFSET (0U)
66#define IRQ_NUMBER_OFFSET (1U)
67#define IRQ_FLAGS_OFFSET (2U)
286 OUT UINT32 *NodeCount
312 OUT UINT32 *NodeCount
336 OUT UINT32 *NodeCount
393 OUT INT32 *InterruptCells
423 OUT INT32 *AddressCells, OPTIONAL
424 OUT INT32 *SizeCells OPTIONAL
454 OUT INT32 *AddressCells, OPTIONAL
455 OUT INT32 *SizeCells OPTIONAL
484 OUT INT32 *AddressCells, OPTIONAL
485 OUT INT32 *SizeCells OPTIONAL
struct CompatibilityInfo COMPATIBILITY_INFO
EFI_STATUS EFIAPI FdtGetNextPropNodeInBranch(IN CONST VOID *Fdt, IN INT32 FdtBranch, IN CONST CHAR8 *PropName, IN OUT INT32 *Node)
EFI_STATUS EFIAPI FdtGetInterruptCellsInfo(IN CONST VOID *Fdt, IN INT32 IntcNode, OUT INT32 *InterruptCells)
EFI_STATUS EFIAPI FdtCountPropNodeInBranch(IN CONST VOID *Fdt, IN INT32 FdtBranch, IN CONST CHAR8 *PropName, OUT UINT32 *NodeCount)
EFI_STATUS EFIAPI FdtGetNextCompatNodeInBranch(IN CONST VOID *Fdt, IN INT32 FdtBranch, IN CONST COMPATIBILITY_INFO *CompatNamesInfo, IN OUT INT32 *Node)
struct CompatStr COMPATIBILITY_STR
BOOLEAN EFIAPI FdtNodeIsCompatible(IN CONST VOID *Fdt, IN INT32 Node, IN CONST VOID *CompatInfo)
UINT32 EFIAPI FdtGetInterruptId(UINT32 CONST *Data)
BOOLEAN(EFIAPI * NODE_CHECKER_FUNC)(IN CONST VOID *Fdt, IN INT32 NodeOffset, IN CONST VOID *Context)
EFI_STATUS EFIAPI FdtGetParentAddressInfo(IN CONST VOID *Fdt, IN INT32 Node, OUT INT32 *AddressCells, OPTIONAL OUT INT32 *SizeCells OPTIONAL)
EFI_STATUS EFIAPI FdtCountCompatNodeInBranch(IN CONST VOID *Fdt, IN INT32 FdtBranch, IN CONST COMPATIBILITY_INFO *CompatNamesInfo, OUT UINT32 *NodeCount)
EFI_STATUS EFIAPI FdtGetIntcParentNode(IN CONST VOID *Fdt, IN INT32 Node, OUT INT32 *IntcNode)
EFI_STATUS EFIAPI FdtGetAddressInfo(IN CONST VOID *Fdt, IN INT32 Node, OUT INT32 *AddressCells, OPTIONAL OUT INT32 *SizeCells OPTIONAL)
#define COMPATIBLE_STR_LEN
Maximum string length for compatible names.
EFI_STATUS EFIAPI FdtGetNextNamedNodeInBranch(IN CONST VOID *Fdt, IN INT32 FdtBranch, IN CONST CHAR8 *NodeName, IN OUT INT32 *Node)
EFI_STATUS EFIAPI FdtGetIntcAddressCells(IN CONST VOID *Fdt, IN INT32 Node, OUT INT32 *AddressCells, OPTIONAL OUT INT32 *SizeCells OPTIONAL)
UINT32 EFIAPI FdtGetInterruptFlags(UINT32 CONST *Data)
EFI_STATUS EFIAPI FdtCountNamedNodeInBranch(IN CONST VOID *Fdt, IN INT32 FdtBranch, IN CONST CHAR8 *NodeName, OUT UINT32 *NodeCount)
BOOLEAN EFIAPI FdtNodeHasProperty(IN CONST VOID *Fdt, IN INT32 Node, IN CONST VOID *PropertyName)
CONST COMPATIBILITY_STR * CompatTable
Pointer to a table storing the names.
UINT32 Count
Count of entries in the NAME_TABLE.