/hardware/google/graphics/common/libhwc2.1/libdrmresource/include/ |
D | autofd.h | 27 UniqueFd(int fd) : fd_(fd) { in UniqueFd() 30 fd_ = rhs.fd_; in UniqueFd() 31 rhs.fd_ = -1; in UniqueFd() 40 if (fd_ >= 0) in ~UniqueFd() 41 close(fd_); in ~UniqueFd() 45 int old_fd = fd_; in Release() 46 fd_ = -1; in Release() 51 if (fd_ >= 0) in Set() 52 close(fd_); in Set() 53 fd_ = fd; in Set() [all …]
|
D | drmdevice.h | 40 return fd_.get(); in fd() 92 UniqueFd fd_; variable
|
/hardware/qcom/sm7250/display/sde-drm/ |
D | drm_encoder.h | 48 explicit DRMEncoder(int fd) : fd_(fd) {} in DRMEncoder() 49 DRMEncoder(int fd, uint32_t id, uint32_t type) : fd_(fd), fake_id_(id), fake_type_(type) {} in DRMEncoder() 68 int fd_ = -1; 80 explicit DRMEncoderManager(int fd) : fd_(fd) {} in DRMEncoderManager() 94 int fd_ = -1;
|
D | drm_manager.cpp | 93 fd_ = drm_fd; in Init() 95 drmSetClientCap(fd_, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1); in Init() 96 drmSetClientCap(fd_, DRM_CLIENT_CAP_ATOMIC, 1); in Init() 98 drmModeRes *resource = drmModeGetResources(fd_); in Init() 104 conn_mgr_ = new DRMConnectorManager(fd_); in Init() 111 encoder_mgr_ = new DRMEncoderManager(fd_); in Init() 118 crtc_mgr_ = new DRMCrtcManager(fd_); in Init() 125 plane_mgr_ = new DRMPlaneManager(fd_); in Init() 134 dpps_mgr_intf_->Init(fd_, resource); in Init() 342 DRMAtomicReq *req = new DRMAtomicReq(fd_, this); in CreateAtomicReq()
|
D | drm_connector.h | 51 explicit DRMConnector(int fd) : fd_(fd) {} in DRMConnector() 75 int fd_ = -1; variable 85 explicit DRMConnectorManager(int fd) : fd_(fd) {} in DRMConnectorManager() 101 int fd_ = -1;
|
D | drm_crtc.h | 83 int fd_ = -1; variable 100 explicit DRMCrtcManager(int fd) : fd_(fd) {} in DRMCrtcManager() 113 int fd_ = -1;
|
D | drm_plane.cpp | 264 DRMPlaneManager::DRMPlaneManager(int fd) : fd_(fd) {} in DRMPlaneManager() 267 drmModePlaneRes *resource = drmModeGetPlaneResources(fd_); in Init() 274 unique_ptr<DRMPlane> plane(new DRMPlane(fd_, i)); in Init() 275 drmModePlane *libdrm_plane = drmModeGetPlane(fd_, resource->planes[i]); in Init() 366 drmModeCreatePropertyBlob(fd_, reinterpret_cast<void *>(lut_info.dir_lut), in SetScalerLUT() 370 drmModeCreatePropertyBlob(fd_, reinterpret_cast<void *>(lut_info.cir_lut), in SetScalerLUT() 374 drmModeCreatePropertyBlob(fd_, reinterpret_cast<void *>(lut_info.sep_lut), in SetScalerLUT() 381 drmModeDestroyPropertyBlob(fd_, dir_lut_blob_id_); in UnsetScalerLUT() 385 drmModeDestroyPropertyBlob(fd_, cir_lut_blob_id_); in UnsetScalerLUT() 389 drmModeDestroyPropertyBlob(fd_, sep_lut_blob_id_); in UnsetScalerLUT() [all …]
|
D | drm_pp_manager.cpp | 48 DRMPPManager::DRMPPManager(int fd) : fd_(fd) { in DRMPPManager() 59 drmModeDestroyPropertyBlob(fd_, prop_info.blob_id); in ~DRMPPManager() 64 fd_ = -1; in ~DRMPPManager() 239 ret = drmModeDestroyPropertyBlob(fd_, prop_info->blob_id); in SetPPBlobProperty() 254 ret = drmModeCreatePropertyBlob(fd_, feature.payload, feature.payload_size, &blob_id); in SetPPBlobProperty()
|
D | drm_connector.cpp | 249 unique_ptr<DRMConnector> conn(new DRMConnector(fd_)); in Init() 250 drmModeConnector *libdrm_conn = drmModeGetConnector(fd_, resource->connectors[i]); in Init() 263 drmModeRes *resource = drmModeGetResources(fd_); in Update() 301 unique_ptr<DRMConnector> conn(new DRMConnector(fd_)); in Update() 302 drmModeConnector *libdrm_conn = drmModeGetConnector(fd_, drmconn.first); in Update() 447 drmModeObjectGetProperties(fd_, drm_connector_->connector_id, DRM_MODE_OBJECT_CONNECTOR); in ParseProperties() 454 drmModePropertyRes *info = drmModeGetProperty(fd_, props->props[j]); in ParseProperties() 491 drmModePropertyBlobRes *blob = drmModeGetPropertyBlob(fd_, blob_id); in ParseCapabilities() 556 drmModePropertyBlobRes *blob = drmModeGetPropertyBlob(fd_, blob_id); in ParseCapabilities() 575 drmModePropertyBlobRes *blob = drmModeGetPropertyBlob(fd_, blob_id); in ParseModeProperties() [all …]
|
D | drm_atomic_req.h | 58 int fd_ = -1; variable
|
D | drm_pp_manager.h | 60 int fd_ = -1; variable
|
D | drm_plane.h | 94 int fd_ = -1; variable 136 int fd_ = -1; variable
|
D | drm_atomic_req.cpp | 45 DRMAtomicReq::DRMAtomicReq(int fd, DRMManager *drm_mgr) : drm_mgr_(drm_mgr), fd_(fd) {} in DRMAtomicReq() 154 int ret = drmModeAtomicCommit(fd_, drm_atomic_req_, flags, nullptr); in CallAtomic()
|
D | drm_manager.h | 79 int fd_ = -1; variable
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
D | FileNode.cc | 65 fd_.reset(TEMP_FAILURE_RETRY( in Update() 68 if (fd_ == -1 || !android::base::WriteStringToFd(req_value, fd_)) { in Update() 71 << " with value: " << req_value << ", fd: " << fd_; in Update() 77 fsync(fd_); in Update() 84 fd_.reset(); in Update()
|
/hardware/qcom/sm7250/display/sdm/libs/utils/ |
D | fence.cpp | 46 Fence::Fence(int fd, const string &name) : fd_(fd), name_(name) { in Fence() 50 close(fd_); in ~Fence() 81 return (fence ? dup(fence->fd_) : -1); in Dup() 85 return (fence ? fence->fd_ : -1); in Get() 92 int fd1 = fence1 ? fence1->fd_ : -1; in Merge() 93 int fd2 = fence2 ? fence2->fd_ : -1; in Merge()
|
/hardware/libhardware/modules/camera/3_4/arc/ |
D | frame_buffer.h | 89 int GetFd() const { return fd_.get(); } in GetFd() 93 base::ScopedFD fd_;
|
D | frame_buffer.cpp | 65 : fd_(std::move(fd)), is_mapped_(false) { in V4L2FrameBuffer() 84 void* addr = mmap(NULL, buffer_size_, PROT_READ, MAP_SHARED, fd_.get(), 0); in Map()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/ |
D | FileNode.h | 50 android::base::unique_fd fd_; variable
|
/hardware/qcom/sm7250/display/sdm/include/utils/ |
D | fence.h | 106 int fd_ = -1; variable
|
/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/ |
D | drmdevice.cpp | 51 fd_.Set(open(path, O_RDWR)); in Init()
|