Home
last modified time | relevance | path

Searched refs:phys_addr (Results 1 – 14 of 14) sorted by relevance

/hardware/google/aemu/host-common/
Daddress_space_host_memory_allocator.cpp59 void *AddressSpaceHostMemoryAllocatorContext::allocate_impl(const uint64_t phys_addr, in allocate_impl() argument
70 auto r = m_paddr2ptr.insert({phys_addr, {host_ptr, aligned_size}}); in allocate_impl()
72 if (m_ops->add_memory_mapping(phys_addr, host_ptr, aligned_size)) { in allocate_impl()
89 void* host_ptr = allocate_impl(info->phys_addr, info->size); in allocate()
98 const uint64_t phys_addr = info->phys_addr; in unallocate() local
99 const auto i = m_paddr2ptr.find(phys_addr); in unallocate()
104 if (m_ops->remove_memory_mapping(phys_addr, host_ptr, size)) { in unallocate()
110 phys_addr, host_ptr, size); in unallocate()
125 const uint64_t phys_addr = kv.first; in save() local
129 stream->putBe64(phys_addr); in save()
[all …]
Daddress_space_host_media.cpp109 void AddressSpaceHostMediaContext::allocatePages(uint64_t phys_addr, int num_pages) { in allocatePages() argument
112 phys_addr, mHostBuffer, num_pages * 4096); in allocatePages()
114 (uint64_t)phys_addr, (uint64_t)mHostBuffer); in allocatePages()
117 void AddressSpaceHostMediaContext::deallocatePages(uint64_t phys_addr, in deallocatePages() argument
123 mControlOps->remove_memory_mapping(phys_addr, mHostBuffer, in deallocatePages()
130 (uint64_t)phys_addr, (uint64_t)mHostBuffer); in deallocatePages()
183 (uint8_t*)(mControlOps->get_host_ptr(info->phys_addr)) + in handleMediaRequest()
192 (uint8_t*)(mControlOps->get_host_ptr(info->phys_addr)) + in handleMediaRequest()
Daddress_space_host_memory_allocator_unittests.cpp53 AddressSpaceDevicePingInfo createAllocateRequest(uint64_t phys_addr) { in createAllocateRequest() argument
58 req.phys_addr = phys_addr; in createAllocateRequest()
64 AddressSpaceDevicePingInfo createUnallocateRequest(uint64_t phys_addr) { in createUnallocateRequest() argument
69 req.phys_addr = phys_addr; in createUnallocateRequest()
Daddress_space_device.cpp112 const uint64_t phys_addr = pingInfo->phys_addr; in ping() local
116 (unsigned long long)phys_addr, in ping()
117 sVmOps->physicalMemoryGetAddr(phys_addr), in ping()
127 create.physAddr = phys_addr; in ping()
138 const uint64_t phys_addr = pingInfo->phys_addr; in pingAtHva() local
142 (unsigned long long)phys_addr, in pingAtHva()
143 sVmOps->physicalMemoryGetAddr(phys_addr), in pingAtHva()
152 create.physAddr = phys_addr; in pingAtHva()
Daddress_space_shared_slots_host_memory_allocator.cpp313 result = unallocate(info->phys_addr); in perform()
399 info->phys_addr = physAddr - get_address_space_device_hw_funcs()->getPhysAddrStartLocked(); in populatePhysAddr()
/hardware/google/aemu/host-common/include/host-common/
Daddress_space_host_media.h40 void allocatePages(uint64_t phys_addr, int num_pages);
41 void deallocatePages(uint64_t phys_addr, int num_pages);
DAddressSpaceService.h45 uint64_t phys_addr; member
Daddress_space_host_memory_allocator.h50 void *allocate_impl(uint64_t phys_addr, uint64_t size);
/hardware/google/gchips/include/
Ds5p_fimc_v4l2.h107 void *phys_addr; member
/hardware/google/gfxstream/guest/GoldfishAddressSpace/include/
Daddress_space.h51 address_space_handle_t, size_t size, uint64_t* phys_addr, uint64_t* offset);
Dgoldfish_address_space_fuchsia.impl258 uint64_t phys_addr = 0;
350 size_t size, uint64_t* phys_addr, uint64_t* offset) {
361 *phys_addr = result->paddr;
370 *phys_addr,
387 auto result = deviceSync->DeallocateBlock(info.phys_addr);
Dgoldfish_address_space_android.impl49 __u64 phys_addr;
203 m_phys_addr = request.phys_addr;
445 size_t size, uint64_t* phys_addr, uint64_t* offset) {
455 *phys_addr = request.phys_addr;
Dgoldfish_address_space.h122 address_space_handle_t, size_t size, uint64_t* phys_addr, uint64_t* offset);
/hardware/interfaces/tv/cec/1.0/default/
DHdmiCecDefault.cpp393 .connected = (ev.state_change.phys_addr != CEC_PHYS_ADDR_INVALID), in event_thread()