/hardware/qcom/display/msm8226/liboverlay/ |
H A D | overlayCtrlData.h | 75 /* ctrl fd */ 108 bool queueBuffer(int fd, uint32_t offset); 233 inline bool Data::queueBuffer(int fd, uint32_t offset) { argument 234 return mMdp->play(fd, offset);
|
H A D | overlayMdp.h | 33 * Mdp Ctrl holds corresponding fd and MDP related struct. 44 /* unset overlay, reset and close fd */ 75 /* returns the fd associated to ctrl*/ 145 /* close fd, and reset */ 151 /* get underlying fd*/ 156 bool play(int fd, uint32_t offset); 166 /* fd to mdp fbnum */ 310 inline bool MdpData::play(int fd, uint32_t offset) { argument 311 mOvData.data.memory_id = fd;
|
H A D | overlayMdpRot.cpp | 186 ALOGE("Mdp Rot error endRotator, fd=%d sessId=%u", 192 ALOGE("Mdp Rot error closing fd"); 239 bool MdpRot::queueBuffer(int fd, uint32_t offset) { argument 241 mRotDataInfo.src.memory_id = fd;
|
H A D | overlayMdssRot.cpp | 158 bool MdssRot::queueBuffer(int fd, uint32_t offset) { argument 160 mRotData.data.memory_id = fd; 235 ALOGE("MdssRot::close unsetOverlay failed, fd=%d sessId=%d", 242 ALOGE("Mdss Rot error closing fd");
|
H A D | overlayMem.h | 46 * Holds base address, offset and the fd 56 /* Use libgralloc to retrieve fd, base addr, alloc type */ 60 /* close fd. assign base address to invalid*/ 63 /* return underlying fd */ 66 /* return true if fd is valid and base address is valid */ 82 /* actual os fd */ 145 data.fd = -1; 156 mFd = data.fd; 215 ALOGE("fd=%d addr=%p type=%d bufsz=%u AlignedBufSz=%u",
|
H A D | overlayRotator.h | 86 virtual bool queueBuffer(int fd, uint32_t offset) = 0; 123 virtual bool queueBuffer(int fd, uint32_t offset); 157 /* rotator fd */ 182 virtual bool queueBuffer(int fd, uint32_t offset); 211 /* rotator fd */
|
H A D | overlayUtils.h | 93 bool open(OvFD& fd, uint32_t fbnum, const char* const dev, 529 inline bool openDev(OvFD& fd, int fbnum, argument 531 return overlay::open(fd, fbnum, devpath, flags); 594 /* Open fd using the path given by dev. 602 /* Close fd if we have a valid fd. */ 605 /* returns underlying fd.*/ 608 /* returns true if fd is valid */ 612 void copy(int fd); 617 /* helper enum for determine valid/invalid fd */ 629 open(OvFD& fd, uint32_t fbnum, const char* const dev, int flags) argument 678 copy(int fd) argument [all...] |
/hardware/qcom/display/msm8226/liboverlay/pipes/ |
H A D | overlayGenPipe.cpp | 77 bool GenericPipe::queueBuffer(int fd, uint32_t offset) { argument 83 return mData->queueBuffer(fd, offset);
|
H A D | overlayGenPipe.h | 63 bool queueBuffer(int fd, uint32_t offset);
|
/hardware/qcom/display/msm8226/libqdutils/ |
H A D | idle_invalidator.cpp | 66 int fd = open(IDLE_TIME_PATH, O_WRONLY); local 67 if (fd < 0) { 77 ssize_t len = pwrite(fd, strSleepTime, strlen(strSleepTime), 0); 83 close(fd); 86 close(fd); 96 pFd.fd = mTimeoutEventFd; 97 if (pFd.fd >= 0) 105 ssize_t len = pread(pFd.fd, data, 64, 0);
|
/hardware/qcom/display/msm8226/libqservice/ |
H A D | IQService.cpp | 122 int fd = -1; local 124 fd = open(buf, O_RDONLY); 125 if (fd < 0) { 128 ssize_t len = read(fd, buf, size - 1); 132 close(fd);
|
/hardware/qcom/display/msm8226/libvirtual/ |
H A D | virtual.cpp | 226 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd; 239 mHwcContext->dpyAttr[HWC_DISPLAY_VIRTUAL].fd = mFd;
|
/hardware/qcom/display/msm8960/libcopybit/ |
H A D | c2d2.h | 659 * mem_fd is the fd of the memory region, hostptr is the host pointer to the region, 674 /* create a fence fd for the timestamp */ 675 C2D_API C2D_STATUS c2dCreateFenceFD( uint32 target_id, c2d_ts_handle timestamp, int32 *fd);
|
H A D | copybit.cpp | 152 img->memory_id = hnd->fd;
|
H A D | copybit.h | 246 * @param fd - gets the fencefd 250 int (*flush_get_fence)(struct copybit_device_t *dev, int* fd);
|
H A D | copybit_c2d.cpp | 90 /* create a fence fd for the timestamp */ 92 int32 *fd); 354 rc = LINK_c2dMapAddr(handle->fd, (void*)handle->base, handle->size, 619 static int flush_get_fence_copybit (struct copybit_device_t *dev, int* fd) argument 635 fd)) { 974 data.fd = -1; 1003 if (-1 != data.fd) { 1005 memalloc->free_buffer(data.base, data.size, 0, data.fd); 1016 if (src_handle->fd == -1) { 1017 ALOGE("%s: src_handle fd i [all...] |
/hardware/qcom/display/msm8960/libexternal/ |
H A D | external.cpp | 450 mHwcContext->dpyAttr[mExtDpyNum].fd = mFd; 464 mHwcContext->dpyAttr[mExtDpyNum].fd = mFd;
|
/hardware/qcom/display/msm8960/libgenlock/ |
H A D | genlock.cpp | 88 lock.fd = hnd->genlockHandle; 93 "err=%s fd=%d)", __FUNCTION__, 94 lockType, strerror(errno), hnd->fd); 103 ALOGE("%s: GENLOCK_IOC_LOCK failed (lockType0x%x, err=%s fd=%d)" 104 ,__FUNCTION__, lockType, strerror(errno), hnd->fd); 116 /* Internal function to close the fd and release the handle */ 117 void close_genlock_fd_and_handle(int& fd, int& handle) argument 119 if (fd >=0 ) { 120 close(fd); 121 fd 149 int fd = open(GENLOCK_DEVICE, O_RDWR); local 234 int fd = open(GENLOCK_DEVICE, O_RDWR); local [all...] |
/hardware/qcom/display/msm8960/libgralloc/ |
H A D | alloc_controller.cpp | 360 data.fd = -1; 373 private_handle_t* hnd = new private_handle_t(data.fd, data.size, 387 if (hnd && hnd->fd > 0) { 389 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd);
|
H A D | framebuffer.cpp | 94 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { 121 int fd = -1; local 126 while ((fd==-1) && device_template[i]) { 128 fd = open(name, O_RDWR, 0); 131 if (fd < 0) 137 if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo) == -1) 141 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) 235 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) 251 if (ioctl(fd, MSMFB_METADATA_GET, &metadata) == -1) { 261 ALOGI("using (fd [all...] |
H A D | gpu.cpp | 64 data.fd = -1; 84 eData.fd = -1; 145 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, 146 bufferType, format, width, height, eData.fd, eData.offset, 214 dup(m->framebuffer->fd), bufferSize, 318 hnd->offset, hnd->fd);
|
H A D | gralloc_priv.h | 170 int fd; member in struct:private_handle_t 171 int fd_metadata; // fd for the meta-data 192 private_handle_t(int fd, int size, int flags, int bufferType, argument 195 fd(fd), fd_metadata(eFd), magic(sMagic),
|
H A D | ionalloc.cpp | 104 MAP_SHARED, fd_data.fd, 0); 114 clean_buffer(base, data.size, data.offset, fd_data.fd, 119 data.fd = fd_data.fd; 121 ALOGD_IF(DEBUG, "ion: Allocated buffer base:%p size:%d fd:%d", 122 data.base, ionAllocData.len, data.fd); 127 int IonAlloc::free_buffer(void* base, size_t size, int offset, int fd) argument 130 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%d fd:%d", 131 base, size, fd); 139 close(fd); 143 map_buffer(void **pBase, size_t size, int offset, int fd) argument 179 clean_buffer(void *base, size_t size, int offset, int fd, int op) argument [all...] |
H A D | ionalloc.h | 45 int offset, int fd); 48 int offset, int fd); 54 int offset, int fd, int op);
|
H A D | mapper.cpp | 67 hnd->offset, hnd->fd); 69 ALOGE("Could not mmap handle %p, fd=%d (%s)", 70 handle, hnd->fd, strerror(errno)); 81 ALOGE("Could not mmap handle %p, fd=%d (%s)", 221 hnd->size, hnd->offset, hnd->fd, 299 hnd->size, hnd->offset, hnd->fd, 308 hnd->size, hnd->offset, hnd->fd, 326 int fd = va_arg(args, int); local 339 hnd->fd = fd; [all...] |