Home
last modified time | relevance | path

Searched refs:guest_paddr (Results 1 – 11 of 11) sorted by relevance

/hardware/google/aemu/host-common/
DDmaMap.cpp56 uint64_t guest_paddr, in addBuffer() argument
59 (unsigned long long)guest_paddr, in addBuffer()
63 info.guestAddr = guest_paddr; // guest address in addBuffer()
68 mDmaBuffers[guest_paddr] = info; in addBuffer()
71 void DmaMap::removeBuffer(uint64_t guest_paddr) { in removeBuffer() argument
72 D("guest paddr 0x%llx", (unsigned long long)guest_paddr); in removeBuffer()
74 if (auto info = android::base::find(mDmaBuffers, guest_paddr)) { in removeBuffer()
76 mDmaBuffers.erase(guest_paddr); in removeBuffer()
79 (unsigned long long)guest_paddr); in removeBuffer()
83 void* DmaMap::getHostAddr(uint64_t guest_paddr) { in getHostAddr() argument
[all …]
DGoldfishDma.cpp23 static void android_goldfish_dma_add_buffer(void* pipe, uint64_t guest_paddr, uint64_t sz) { in android_goldfish_dma_add_buffer() argument
24 android::DmaMap::get()->addBuffer(pipe, guest_paddr, sz); in android_goldfish_dma_add_buffer()
27 static void android_goldfish_dma_remove_buffer(uint64_t guest_paddr) { in android_goldfish_dma_remove_buffer() argument
28 android::DmaMap::get()->removeBuffer(guest_paddr); in android_goldfish_dma_remove_buffer()
31 static void* android_goldfish_dma_get_host_addr(uint64_t guest_paddr) { in android_goldfish_dma_get_host_addr() argument
34 host_ptr = get_address_space_device_control_ops()->get_host_ptr(guest_paddr); in android_goldfish_dma_get_host_addr()
39 return android::DmaMap::get()->getHostAddr(guest_paddr); in android_goldfish_dma_get_host_addr()
46 static void android_goldfish_dma_unlock(uint64_t guest_paddr) { in android_goldfish_dma_unlock() argument
47 void* hwpipe = android::DmaMap::get()->getPipeInstance(guest_paddr); in android_goldfish_dma_unlock()
Ddma_device.cpp18 static void* defaultDmaGetHostAddr(uint64_t guest_paddr) { return nullptr; } in defaultDmaGetHostAddr() argument
/hardware/google/aemu/host-common/include/host-common/
DGoldfishDma.h38 void (*add_buffer)(void* pipe, uint64_t guest_paddr, uint64_t sz);
43 void (*remove_buffer)(uint64_t guest_paddr);
47 void* (*get_host_addr)(uint64_t guest_paddr);
57 void (*unlock)(uint64_t guest_paddr);
Dgoldfish_pipe.h149 void (*dma_add_buffer)(void* pipe, uint64_t guest_paddr, uint64_t);
151 void (*dma_remove_buffer)(uint64_t guest_paddr);
/hardware/google/gfxstream/host/
DChannelStream.cpp92 void* ChannelStream::getDmaForReading(uint64_t guest_paddr) { in getDmaForReading() argument
93 return emugl::g_emugl_dma_get_host_addr(guest_paddr); in getDmaForReading()
96 void ChannelStream::unlockDma(uint64_t guest_paddr) { emugl::g_emugl_dma_unlock(guest_paddr); } in unlockDma() argument
DChannelStream.h38 virtual void* getDmaForReading(uint64_t guest_paddr) override final;
39 virtual void unlockDma(uint64_t guest_paddr) override final;
DRingStream.h66 virtual void* getDmaForReading(uint64_t guest_paddr) override final;
67 virtual void unlockDma(uint64_t guest_paddr) override final;
DRingStream.cpp336 void* RingStream::getDmaForReading(uint64_t guest_paddr) { in getDmaForReading() argument
337 return emugl::g_emugl_dma_get_host_addr(guest_paddr); in getDmaForReading()
340 void RingStream::unlockDma(uint64_t guest_paddr) { emugl::g_emugl_dma_unlock(guest_paddr); } in unlockDma() argument
/hardware/google/gfxstream/include/render-utils/
DIOStream.h103 virtual void* getDmaForReading(uint64_t guest_paddr) = 0;
104 virtual void unlockDma(uint64_t guest_paddr) = 0;
/hardware/google/gfxstream/host/vulkan/
DVkReconstruction.cpp209 virtual void* getDmaForReading(uint64_t guest_paddr) { return nullptr; } in getDmaForReading() argument
210 virtual void unlockDma(uint64_t guest_paddr) {} in unlockDma() argument