Lines Matching refs:Device
117 NON_DISCOVERABLE_DEVICE *Device; in RegisterNonDiscoverableMmioDevice() local
139 AllocSize = sizeof *Device + in RegisterNonDiscoverableMmioDevice()
142 Device = (NON_DISCOVERABLE_DEVICE *)AllocateZeroPool (AllocSize); in RegisterNonDiscoverableMmioDevice()
143 if (Device == NULL) { in RegisterNonDiscoverableMmioDevice()
147 Device->Type = GetGuidFromType (Type); in RegisterNonDiscoverableMmioDevice()
148 ASSERT (Device->Type != NULL); in RegisterNonDiscoverableMmioDevice()
150 Device->DmaType = DmaType; in RegisterNonDiscoverableMmioDevice()
151 Device->Initialize = InitFunc; in RegisterNonDiscoverableMmioDevice()
152 Device->Resources = (EFI_ACPI_ADDRESS_SPACE_DESCRIPTOR *)(Device + 1); in RegisterNonDiscoverableMmioDevice()
156 Desc = &Device->Resources [Index]; in RegisterNonDiscoverableMmioDevice()
171 End = (EFI_ACPI_END_TAG_DESCRIPTOR *)&Device->Resources [NumMmioResources]; in RegisterNonDiscoverableMmioDevice()
191 DevicePath->BaseAddress = Device->Resources [0].AddrRangeMin; in RegisterNonDiscoverableMmioDevice()
192 DevicePath->ResourceType = Device->Resources [0].ResType; in RegisterNonDiscoverableMmioDevice()
199 &gEdkiiNonDiscoverableDeviceProtocolGuid, Device, in RegisterNonDiscoverableMmioDevice()
211 FreePool (Device); in RegisterNonDiscoverableMmioDevice()