Searched refs:mDeviceHandle (Results 1 – 9 of 9) sorted by relevance
/hardware/google/gfxstream/guest/platform/linux/ |
D | LinuxVirtGpuDevice.cpp | 61 mDeviceHandle = static_cast<int64_t>(drmOpenRender(128)); in LinuxVirtGpuDevice() 62 if (mDeviceHandle < 0) { in LinuxVirtGpuDevice() 67 mDeviceHandle = dup(fd); in LinuxVirtGpuDevice() 68 if (mDeviceHandle < 0) { in LinuxVirtGpuDevice() 79 ret = drmIoctl(mDeviceHandle, DRM_IOCTL_VIRTGPU_GETPARAM, &get_param); in LinuxVirtGpuDevice() 110 ret = drmIoctl(mDeviceHandle, DRM_IOCTL_VIRTGPU_GET_CAPS, &get_caps); in LinuxVirtGpuDevice() 139 ret = drmIoctl(mDeviceHandle, DRM_IOCTL_VIRTGPU_CONTEXT_INIT, &init); in LinuxVirtGpuDevice() 146 LinuxVirtGpuDevice::~LinuxVirtGpuDevice() { close(mDeviceHandle); } in ~LinuxVirtGpuDevice() 150 int64_t LinuxVirtGpuDevice::getDeviceHandle(void) { return mDeviceHandle; } in getDeviceHandle() 169 int ret = drmIoctl(mDeviceHandle, DRM_IOCTL_VIRTGPU_RESOURCE_CREATE, &create); in createResource() [all …]
|
D | LinuxVirtGpuBlob.cpp | 31 : mDeviceHandle(deviceHandle), in LinuxVirtGpuResource() 41 int ret = drmIoctl(mDeviceHandle, DRM_IOCTL_GEM_CLOSE, &gem_close); in ~LinuxVirtGpuResource() 58 ret = drmIoctl(mDeviceHandle, DRM_IOCTL_VIRTGPU_MAP, &map); in createMapping() 65 mmap64(nullptr, mSize, PROT_WRITE | PROT_READ, MAP_SHARED, mDeviceHandle, map.offset)); in createMapping() 79 ret = drmPrimeHandleToFD(mDeviceHandle, mBlobHandle, flags, &fd); in exportBlob() 100 ret = drmIoctl(mDeviceHandle, DRM_IOCTL_VIRTGPU_WAIT, &wait_3d); in wait() 123 ret = drmIoctl(mDeviceHandle, DRM_IOCTL_VIRTGPU_TRANSFER_TO_HOST, &xfer); in transferToHost() 143 ret = drmIoctl(mDeviceHandle, DRM_IOCTL_VIRTGPU_TRANSFER_FROM_HOST, &xfer); in transferFromHost()
|
D | LinuxVirtGpu.h | 41 int64_t mDeviceHandle; 79 int64_t mDeviceHandle;
|
/hardware/libhardware/modules/input/evdev/ |
D | InputMapper.h | 63 virtual void setDeviceHandle(InputDeviceHandle* handle) { mDeviceHandle = handle; } in setDeviceHandle() 76 virtual InputDeviceHandle* getDeviceHandle() final { return mDeviceHandle; } in getDeviceHandle() 82 InputDeviceHandle* mDeviceHandle = nullptr; variable
|
D | InputDevice.cpp | 113 mDeviceHandle = mHost->registerDevice(mInputId, mDeviceDefinition); in EvdevDevice() 115 mapper->setDeviceHandle(mDeviceHandle); in EvdevDevice()
|
D | InputDevice.h | 72 InputDeviceHandle* mDeviceHandle = nullptr; variable
|
/hardware/google/gfxstream/guest/platform/stub/ |
D | StubVirtGpu.h | 41 int64_t mDeviceHandle; 81 int64_t mDeviceHandle;
|
D | StubVirtGpuBlob.cpp | 21 : mDeviceHandle(deviceHandle), in StubVirtGpuResource()
|
D | StubVirtGpuDevice.cpp | 26 return mDeviceHandle; in getDeviceHandle()
|