H A D | PciIo.c | 67 @param BarIndex The BAR index of the standard PCI Configuration header to use as the 74 @retval EFI_INVALID_PARAMETER Invalid Width/BarIndex or Bar type. 81 IN UINT8 BarIndex, 92 if (BarIndex == EFI_PCI_IO_PASS_THROUGH_BAR) { 97 // BarIndex 0-5 is legal 99 if (BarIndex >= PCI_MAX_BAR) { 103 if (!CheckBarType (PciIoDevice, BarIndex, Type)) { 117 if ((*Offset + Count * (UINTN)(1 << Width)) - 1 >= PciIoDevice->PciBar[BarIndex].Length) { 121 *Offset = *Offset + PciIoDevice->PciBar[BarIndex].BaseAddress; 184 @param BarIndex Th 79 PciIoVerifyBarAccess( IN PCI_IO_DEVICE *PciIoDevice, IN UINT8 BarIndex, IN PCI_BAR_TYPE Type, IN IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN IN UINTN Count, IN UINT64 *Offset ) argument 202 PciIoPollMem( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 BarIndex, IN UINT64 Offset, IN UINT64 Mask, IN UINT64 Value, IN UINT64 Delay, OUT UINT64 *Result ) argument 309 PciIoPollIo( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 BarIndex, IN UINT64 Offset, IN UINT64 Mask, IN UINT64 Value, IN UINT64 Delay, OUT UINT64 *Result ) argument 410 PciIoMemRead( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 BarIndex, IN UINT64 Offset, IN UINTN Count, IN OUT VOID *Buffer ) argument 489 PciIoMemWrite( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 BarIndex, IN UINT64 Offset, IN UINTN Count, IN OUT VOID *Buffer ) argument 567 PciIoIoRead( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 BarIndex, IN UINT64 Offset, IN UINTN Count, IN OUT VOID *Buffer ) argument 645 PciIoIoWrite( IN EFI_PCI_IO_PROTOCOL *This, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINT8 BarIndex, IN UINT64 Offset, IN UINTN Count, IN OUT VOID *Buffer ) argument 1238 CheckBarType( IN PCI_IO_DEVICE *PciIoDevice, IN UINT8 BarIndex, IN PCI_BAR_TYPE BarType ) argument 1775 PciIoGetBarAttributes( IN EFI_PCI_IO_PROTOCOL * This, IN UINT8 BarIndex, OUT UINT64 *Supports, OPTIONAL OUT VOID **Resources OPTIONAL ) argument 1937 PciIoSetBarAttributes( IN EFI_PCI_IO_PROTOCOL *This, IN UINT64 Attributes, IN UINT8 BarIndex, IN OUT UINT64 *Offset, IN OUT UINT64 *Length ) argument [all...] |