Lines Matching refs:mFd
86 if(mFd == -1) in configureHDMIDisplay()
113 if(mFd == -1) in configureWFDDisplay()
115 ret = ioctl(mFd, FBIOGET_VSCREENINFO, &mVInfo); in configureWFDDisplay()
169 ExternalDisplay::ExternalDisplay(hwc_context_t* ctx):mFd(-1), in ExternalDisplay()
444 if (mFd == -1) { in openFrameBuffer()
445 mFd = open(msmFbDevicePath[fbNum-1], O_RDWR); in openFrameBuffer()
446 if (mFd < 0) in openFrameBuffer()
450 mHwcContext->dpyAttr[mExtDpyNum].fd = mFd; in openFrameBuffer()
453 return (mFd > 0); in openFrameBuffer()
459 if(mFd >= 0) { in closeFrameBuffer()
460 ret = close(mFd); in closeFrameBuffer()
461 mFd = -1; in closeFrameBuffer()
464 mHwcContext->dpyAttr[mExtDpyNum].fd = mFd; in closeFrameBuffer()
588 ret = ioctl(mFd, FBIOGET_VSCREENINFO, &mVInfo); in setResolution()
624 if (ioctl(mFd, MSMFB_METADATA_SET, &metadata) == -1) { in setResolution()
630 ret = ioctl(mFd, FBIOPUT_VSCREENINFO, &mVInfo); in setResolution()