Searched refs:hz (Results 1 – 10 of 10) sorted by relevance
/hardware/intel/img/hwcomposer/merrifield/common/devices/ |
D | ExternalDevice.cpp | 266 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/ |
D | ExternalDevice.cpp | 258 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/ |
D | EmulatedVehicleHal.h | 64 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/ |
D | DisplayAnalyzer.cpp | 458 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()
|
D | Drm.h | 47 bool setRefreshRate(int device, int hz);
|
D | Drm.cpp | 290 bool Drm::setRefreshRate(int device, int hz) in setRefreshRate() argument 326 mode->vrefresh == (uint32_t)hz) { in setRefreshRate()
|
/hardware/intel/img/hwcomposer/merrifield/include/ |
D | ExternalDevice.h | 36 virtual void setRefreshRate(int hz);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/ |
D | ExternalDevice.h | 37 virtual void setRefreshRate(int hz);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/ |
D | Drm.h | 51 bool setRefreshRate(int device, int hz);
|
D | Drm.cpp | 294 bool Drm::setRefreshRate(int device, int hz) in setRefreshRate() argument 330 mode->vrefresh == (uint32_t)hz) { in setRefreshRate()
|