Lines Matching refs:addr
17 err = BS->AllocatePages(AllocateAnyPages, EfiACPIReclaimMemory, pages, &state->addr); in devicetree_allocate()
43 err = fixup->Fixup(fixup, PHYSICAL_ADDRESS_TO_POINTER(state->addr), &size, in devicetree_fixup()
46 EFI_PHYSICAL_ADDRESS oldaddr = state->addr; in devicetree_fixup()
48 void *oldptr = PHYSICAL_ADDRESS_TO_POINTER(state->addr); in devicetree_fixup()
54 CopyMem(PHYSICAL_ADDRESS_TO_POINTER(state->addr), oldptr, len); in devicetree_fixup()
60 err = fixup->Fixup(fixup, PHYSICAL_ADDRESS_TO_POINTER(state->addr), &size, in devicetree_fixup()
98 err = handle->Read(handle, &len, PHYSICAL_ADDRESS_TO_POINTER(state->addr)); in devicetree_install()
106 … return BS->InstallConfigurationTable(&EfiDtbTableGuid, PHYSICAL_ADDRESS_TO_POINTER(state->addr)); in devicetree_install()
125 CopyMem(PHYSICAL_ADDRESS_TO_POINTER(state->addr), dtb_buffer, dtb_length); in devicetree_install_from_memory()
131 … return BS->InstallConfigurationTable(&EfiDtbTableGuid, PHYSICAL_ADDRESS_TO_POINTER(state->addr)); in devicetree_install_from_memory()
145 BS->FreePages(state->addr, state->pages); in devicetree_cleanup()