Home
last modified time | relevance | path

Searched refs:hz (Results 1 – 10 of 10) sorted by relevance

/hardware/intel/img/hwcomposer/merrifield/common/devices/
DExternalDevice.cpp266 void ExternalDevice::setRefreshRate(int hz) in setRefreshRate() argument
270 ITRACE("setting refresh rate to %d", hz); in setRefreshRate()
282 if (hz == 0 && (mode.type & DRM_MODE_TYPE_PREFERRED)) in setRefreshRate()
285 if (hz == (int)mode.vrefresh) in setRefreshRate()
289 mExpectedRefreshRate == hz && mHotplugEventPending) { in setRefreshRate()
293 mExpectedRefreshRate = hz; in setRefreshRate()
295 ITRACE("changing refresh rate from %d to %d", mode.vrefresh, hz); in setRefreshRate()
301 drm->setRefreshRate(IDisplayDevice::DEVICE_EXTERNAL, hz); in setRefreshRate()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/devices/
DExternalDevice.cpp258 void ExternalDevice::setRefreshRate(int hz) in setRefreshRate() argument
262 ILOGTRACE("setting refresh rate to %d", hz); in setRefreshRate()
274 if (hz == 0 && (mode.type & DRM_MODE_TYPE_PREFERRED)) in setRefreshRate()
277 if (hz == (int)mode.vrefresh) in setRefreshRate()
280 ILOGTRACE("changing refresh rate from %d to %d", mode.vrefresh, hz); in setRefreshRate()
284 drm->setRefreshRate(IDisplayDevice::DEVICE_EXTERNAL, hz); in setRefreshRate()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DEmulatedVehicleHal.h64 constexpr std::chrono::nanoseconds hertzToNanoseconds(float hz) const { in hertzToNanoseconds() argument
65 return std::chrono::nanoseconds(static_cast<int64_t>(1000000000L / hz)); in hertzToNanoseconds()
/hardware/intel/img/hwcomposer/merrifield/common/base/
DDisplayAnalyzer.cpp458 int hz = dev->getRefreshRate(); in handleHotplugEvent() local
459 if (hz > 0 && info.frameRate > 0 && hz != info.frameRate) { in handleHotplugEvent()
460 ITRACE("Old Hz %d, new one %d", hz, info.frameRate); in handleHotplugEvent()
463 WTRACE("Old Hz %d is invalid, %d", hz, info.frameRate); in handleHotplugEvent()
511 int hz = 0; in handleTimingEvent() local
518 hz = info.frameRate; in handleTimingEvent()
522 dev->setRefreshRate(hz); in handleTimingEvent()
DDrm.h47 bool setRefreshRate(int device, int hz);
DDrm.cpp290 bool Drm::setRefreshRate(int device, int hz) in setRefreshRate() argument
326 mode->vrefresh == (uint32_t)hz) { in setRefreshRate()
/hardware/intel/img/hwcomposer/merrifield/include/
DExternalDevice.h36 virtual void setRefreshRate(int hz);
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DExternalDevice.h37 virtual void setRefreshRate(int hz);
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DDrm.h51 bool setRefreshRate(int device, int hz);
DDrm.cpp294 bool Drm::setRefreshRate(int device, int hz) in setRefreshRate() argument
330 mode->vrefresh == (uint32_t)hz) { in setRefreshRate()