Searched defs:BarIndex (Results 1 - 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/UfsPciHcDxe/
H A DUfsPciHcDxe.h60 UINT8 BarIndex; member in struct:_UFS_HOST_CONTROLLER_PRIVATE_DATA
H A DUfsPciHcDxe.c47 0, // BarIndex
70 UINT8 BarIndex; local
80 BarIndex = Private->BarIndex;
84 BarIndex,
316 UINT8 BarIndex; local
320 BarIndex = Private->BarIndex;
322 Status = PciIo->Mem.Read (PciIo, (EFI_PCI_IO_PROTOCOL_WIDTH)Width, BarIndex, Offset, Count, Buffer);
358 UINT8 BarIndex; local
565 UINT8 BarIndex; local
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/
H A DSnp.c272 UINT8 BarIndex; local
478 for (BarIndex = 0; BarIndex < PCI_MAX_BAR; BarIndex++) {
481 BarIndex,
492 Snp->MemoryBarIndex = BarIndex;
495 Snp->IoBarIndex = BarIndex;
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
H A DPciEnumeratorSupport.c60 IN UINTN BarIndex
440 UINTN BarIndex; local
467 for (Offset = 0x10, BarIndex = 0; Offset <= 0x24; BarIndex++) {
468 Offset = PciParseBar (PciIoDevice, Offset, BarIndex);
861 IN UINTN BarIndex
891 PciIoDevice->PciBar[BarIndex].BaseAddress = 0;
892 PciIoDevice->PciBar[BarIndex].Length = 0;
893 PciIoDevice->PciBar[BarIndex].Alignment = 0;
898 PciIoDevice->PciBar[BarIndex]
[all...]
H A DPciIo.c49 UINT8 BarIndex,
68 UINT8 BarIndex,
88 IN UINT8 BarIndex,
101 IN UINT8 BarIndex,
114 IN UINT8 BarIndex,
125 IN UINT8 BarIndex,
136 IN UINT8 BarIndex,
147 IN UINT8 BarIndex,
251 IN UINT8 BarIndex,
261 IN UINT8 BarIndex,
324 PciIoVerifyBarAccess( PCI_IO_DEVICE *PciIoDevice, UINT8 BarIndex, PCI_BAR_TYPE Type, IN EFI_PCI_IO_PROTOCOL_WIDTH Width, IN UINTN Count, UINT64 *Offset ) argument
439 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
495 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
548 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
601 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
654 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
707 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
1175 CheckBarType( IN PCI_IO_DEVICE *PciIoDevice, UINT8 BarIndex, PCI_BAR_TYPE BarType ) argument
1584 PciIoGetBarAttributes( IN EFI_PCI_IO_PROTOCOL * This, IN UINT8 BarIndex, OUT UINT64 *Supports, OPTIONAL OUT VOID **Resources OPTIONAL ) argument
1721 PciIoSetBarAttributes( IN EFI_PCI_IO_PROTOCOL *This, IN UINT64 Attributes, IN UINT8 BarIndex, IN OUT UINT64 *Offset, IN OUT UINT64 *Length ) argument
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/
H A DSerial.c436 UINT8 BarIndex; local
446 BarIndex = 0;
476 BarIndex = (PciSerialParameter->BarIndex == PCI_BAR_ALL) ? 0 : PciSerialParameter->BarIndex;
506 Status = ParentIo.PciIo->GetBarAttributes (ParentIo.PciIo, BarIndex, NULL, (VOID **) &Resources);
1015 DefaultPciSerialParameter.BarIndex = 0;
H A DSerial.h62 /// to support multiple UARTs, BarIndex of first instance equals to 0 and BarIndex of
64 /// UARTs, BarIndex of both instance equals to 0 and Offset of first instance equals
74 UINT8 BarIndex; ///< Which BAR to get the UART base address member in struct:__anon5782
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/PciEmulation/
H A DPciEmulation.c113 IN UINT8 BarIndex,
129 IN UINT8 BarIndex,
145 IN UINT8 BarIndex,
155 Private->ConfigSpace->Device.Bar[BarIndex] + Offset,
165 IN UINT8 BarIndex,
175 Private->ConfigSpace->Device.Bar[BarIndex] + Offset,
185 IN UINT8 BarIndex,
199 IN UINT8 BarIndex,
511 IN UINT8 BarIndex,
524 IN UINT8 BarIndex,
110 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
126 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
142 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
162 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
182 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
196 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
509 PciIoGetBarAttributes( IN EFI_PCI_IO_PROTOCOL *This, IN UINT8 BarIndex, OUT UINT64 *Supports, OPTIONAL OUT VOID **Resources OPTIONAL ) argument
521 PciIoSetBarAttributes( IN EFI_PCI_IO_PROTOCOL *This, IN UINT64 Attributes, IN UINT8 BarIndex, IN OUT UINT64 *Offset, IN OUT UINT64 *Length ) argument
[all...]
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/
H A DPciEmulation.c66 IN UINT8 BarIndex,
82 IN UINT8 BarIndex,
98 IN UINT8 BarIndex,
108 Private->ConfigSpace->Device.Bar[BarIndex] + Offset, //Fix me ConfigSpace
118 IN UINT8 BarIndex,
128 Private->ConfigSpace->Device.Bar[BarIndex] + Offset, //Fix me ConfigSpace
138 IN UINT8 BarIndex,
152 IN UINT8 BarIndex,
464 IN UINT8 BarIndex,
477 IN UINT8 BarIndex,
63 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
79 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
95 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
115 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
135 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
149 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
462 PciIoGetBarAttributes( IN EFI_PCI_IO_PROTOCOL *This, IN UINT8 BarIndex, OUT UINT64 *Supports, OPTIONAL OUT VOID **Resources OPTIONAL ) argument
474 PciIoSetBarAttributes( IN EFI_PCI_IO_PROTOCOL *This, IN UINT64 Attributes, IN UINT8 BarIndex, IN OUT UINT64 *Offset, IN OUT UINT64 *Length ) argument
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
H A DPciIo.c67 @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
1770 PciIoGetBarAttributes( IN EFI_PCI_IO_PROTOCOL * This, IN UINT8 BarIndex, OUT UINT64 *Supports, OPTIONAL OUT VOID **Resources OPTIONAL ) argument
1919 PciIoSetBarAttributes( IN EFI_PCI_IO_PROTOCOL *This, IN UINT64 Attributes, IN UINT8 BarIndex, IN OUT UINT64 *Offset, IN OUT UINT64 *Length ) argument
[all...]
H A DPciEnumeratorSupport.c464 UINTN BarIndex; local
491 for (Offset = 0x10, BarIndex = 0; Offset <= 0x24 && BarIndex < PCI_MAX_BAR; BarIndex++) {
492 Offset = PciParseBar (PciIoDevice, Offset, BarIndex);
499 for (Offset = PciIoDevice->SrIovCapabilityOffset + EFI_PCIE_CAPABILITY_ID_SRIOV_BAR0, BarIndex = 0;
501 BarIndex++) {
503 ASSERT (BarIndex < PCI_MAX_BAR);
504 Offset = PciIovParseVfBar (PciIoDevice, Offset, BarIndex);
1330 UINTN BarIndex; local
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSerialPortLib16550/
H A DBaseSerialPortLib16550.c202 UINTN BarIndex; local
308 for (BarIndex = 0; BarIndex < PCI_MAX_BAR; BarIndex ++) {
309 SerialRegisterBase = PciRead32 (PciLibAddress + PCI_BASE_ADDRESSREG_OFFSET + BarIndex * 4);
330 if (BarIndex == PCI_MAX_BAR) {
338 PciLibAddress + PCI_BASE_ADDRESSREG_OFFSET + BarIndex * 4,
/device/linaro/bootloader/edk2/Omap35xxPkg/PciEmulation/
H A DPciEmulation.c113 IN UINT8 BarIndex,
129 IN UINT8 BarIndex,
145 IN UINT8 BarIndex,
155 Private->ConfigSpace->Device.Bar[BarIndex] + Offset,
165 IN UINT8 BarIndex,
175 Private->ConfigSpace->Device.Bar[BarIndex] + Offset,
185 IN UINT8 BarIndex,
199 IN UINT8 BarIndex,
511 IN UINT8 BarIndex,
524 IN UINT8 BarIndex,
110 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
126 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
142 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
162 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
182 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
196 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
509 PciIoGetBarAttributes( IN EFI_PCI_IO_PROTOCOL *This, IN UINT8 BarIndex, OUT UINT64 *Supports, OPTIONAL OUT VOID **Resources OPTIONAL ) argument
521 PciIoSetBarAttributes( IN EFI_PCI_IO_PROTOCOL *This, IN UINT64 Attributes, IN UINT8 BarIndex, IN OUT UINT64 *Offset, IN OUT UINT64 *Length ) argument
[all...]

Completed in 177 milliseconds