Home
last modified time | relevance | path

Searched refs:deviceFd_ (Results 1 - 8 of 8) sorted by relevance

/drivers/peripheral/display/hal/default_standard/src/display_gralloc/
H A Ddmabufferheap_allocator.cpp26 deviceFd_ = DmabufHeapOpen(HEAP_NAME); in Init()
27 if (deviceFd_ < 0) { in Init()
40 DmabufHeapBufferAlloc(deviceFd_, &buffer); in Allocate()
48 if (deviceFd_ >= 0) { in ~DmaBufferHeapAllocator()
49 DmabufHeapClose(deviceFd_); in ~DmaBufferHeapAllocator()
50 deviceFd_ = -1; in ~DmaBufferHeapAllocator()
H A Dframebuffer_allocator.cpp51 ret = DisplayAdapter::GetInstance()->Ioctl(deviceFd_, FBIOPUT_VSCREENINFO, &varInfo); in SetFdFormatAndVirtualRes()
60 ret = DisplayAdapter::GetInstance()->Ioctl(deviceFd_, FBIOGET_FSCREENINFO, &fixInfo_); in InitFb()
63 ret = DisplayAdapter::GetInstance()->Ioctl(deviceFd_, FBIOGET_VSCREENINFO, &varInfo_); in InitFb()
70 ret = DisplayAdapter::GetInstance()->Ioctl(deviceFd_, FBIOGET_VSCREENINFO, &varInfo_); in InitFb()
80 dmaBufferFb_ = DisplayAdapter::GetInstance()->FbGetDmaBuffer(deviceFd_); in InitFb()
96 deviceFd_ = DisplayAdapter::GetInstance()->OpenDevice(FBDEV_PATH, O_RDWR, 0); in Init()
97 if (deviceFd_ < 0) { in Init()
98 DISPLAY_LOGE("Failed to open fbdev %{public}d", deviceFd_); in Init()
115 handle.fd = DisplayAdapter::GetInstance()->FbGetDmaBuffer(deviceFd_); in Allocate()
132 if (deviceFd_ > in ~FramebufferAllocator()
[all...]
H A Ddmabufferheap_allocator.h27 int32_t deviceFd_ = -1; member in OHOS::HDI::DISPLAY::DmaBufferHeapAllocator
H A Dframebuffer_allocator.h47 int32_t deviceFd_ = -1; member in OHOS::HDI::DISPLAY::FramebufferAllocator
/drivers/peripheral/display/hal/default_standard/src/display_device/fbdev/
H A Dfb_device.cpp49 deviceFd_ = fd; in FbDevice()
55 if (deviceFd_ > 0) { in ~FbDevice()
56 close(deviceFd_); in ~FbDevice()
57 deviceFd_ = -1; in ~FbDevice()
70 std::vector<int> fds = {deviceFd_}; in Init()
H A Dfb_device.h39 int deviceFd_ = -1; member in OHOS::HDI::DISPLAY::FbDevice
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/
H A Dv4l2_dev.h115 int deviceFd_ = 0; member in OHOS::Camera::HosV4L2Dev
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_dev.cpp265 int fd = deviceFd_; in loopBuffers()
372 deviceFd_ = fd; in StartStream()

Completed in 4 milliseconds