35 ASSERT (Data !=
NULL);
37 IrqType = fdt32_to_cpu (Data[IRQ_TYPE_OFFSET]);
38 IrqId = fdt32_to_cpu (Data[IRQ_NUMBER_OFFSET]);
77 ASSERT (Data !=
NULL);
79 IrqFlags = fdt32_to_cpu (Data[IRQ_FLAGS_OFFSET]);
81 AcpiIrqFlags = DT_IRQ_IS_EDGE_TRIGGERED (IrqFlags) ? BIT0 : 0;
82 AcpiIrqFlags |= DT_IRQ_IS_ACTIVE_LOW (IrqFlags) ? BIT1 : 0;
113 OUT INT32 *AddressCells, OPTIONAL
114 OUT INT32 *SizeCells OPTIONAL
UINT32 EFIAPI FdtGetInterruptId(UINT32 CONST *Data)
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 FdtGetAddressInfo(IN CONST VOID *Fdt, IN INT32 Node, OUT INT32 *AddressCells, OPTIONAL OUT INT32 *SizeCells OPTIONAL)
#define PPI_OFFSET
Interrupt macros.