Home
last modified time | relevance | path

Searched refs:device_fd_ (Results 1 – 25 of 26) sorted by relevance

12

/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_primary.cpp231 if (Sys::ioctl_(device_fd_, FBIOGET_VSCREENINFO, &var_screeninfo) < 0) { in PopulateDisplayAttributes()
239 if (Sys::ioctl_(device_fd_, MSMFB_METADATA_GET, &meta_data) < 0) { in PopulateDisplayAttributes()
347 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_POWERDOWN) < 0) { in PowerOff()
356 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_NORMAL) < 0) { in Doze()
365 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_VSYNC_SUSPEND) < 0) { in DozeSuspend()
502 if (Sys::ioctl_(device_fd_, INT(MSMFB_LPM_ENABLE), &mode) < 0) { in SetDisplayMode()
593 if (Sys::ioctl_(device_fd_, INT(MSMFB_MDP_PP_GET_FEATURE_VERSION), &version) < 0) { in GetPPFeaturesVersion()
619 if (Sys::ioctl_(device_fd_, INT(MSMFB_MDP_PP), &kernel_params) < 0) { in SetPPFeatures()
Dhw_device.cpp81 device_fd_ = Sys::open_(device_name, O_RDWR); in Init()
82 if (device_fd_ < 0) { in Init()
93 if (device_fd_ >= 0) { in Deinit()
94 Sys::close_(device_fd_); in Deinit()
95 device_fd_ = -1; in Deinit()
136 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_UNBLANK) < 0) { in PowerOn()
325 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Validate()
447 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Commit()
512 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Flush()
1030 if (Sys::ioctl_(device_fd_, INT(MSMFB_ASYNC_POSITION_UPDATE), &pos_update) < 0) { in SetCursorPosition()
[all …]
Dhw_device.h137 int device_fd_; variable
Dhw_hdmi.cpp272 if (Sys::ioctl_(device_fd_, FBIOGET_VSCREENINFO, &vscreeninfo) < 0) { in SetDisplayAttributes()
298 if (Sys::ioctl_(device_fd_, MSMFB_METADATA_SET, &metadata) < 0) { in SetDisplayAttributes()
309 if (Sys::ioctl_(device_fd_, FBIOPUT_VSCREENINFO, &vscreeninfo) < 0) { in SetDisplayAttributes()
/hardware/qcom/sdm845/display/sdm/libs/core/fb/
Dhw_primary.cpp219 if (Sys::ioctl_(device_fd_, FBIOGET_VSCREENINFO, &var_screeninfo) < 0) { in PopulateDisplayAttributes()
227 if (Sys::ioctl_(device_fd_, MSMFB_METADATA_GET, &meta_data) < 0) { in PopulateDisplayAttributes()
337 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_POWERDOWN) < 0) { in PowerOff()
348 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_NORMAL) < 0) { in Doze()
357 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_VSYNC_SUSPEND) < 0) { in DozeSuspend()
508 if (Sys::ioctl_(device_fd_, INT(MSMFB_LPM_ENABLE), &mode) < 0) { in SetDisplayMode()
604 if (Sys::ioctl_(device_fd_, INT(MSMFB_MDP_PP_GET_FEATURE_VERSION), &version) < 0) { in GetPPFeaturesVersion()
630 if (Sys::ioctl_(device_fd_, INT(MSMFB_MDP_PP), &kernel_params) < 0) { in SetPPFeatures()
Dhw_device.cpp102 device_fd_ = Sys::open_(dev_name, O_RDWR); in Init()
103 if (device_fd_ < 0) { in Init()
114 if (device_fd_ >= 0) { in Deinit()
115 Sys::close_(device_fd_); in Deinit()
116 device_fd_ = -1; in Deinit()
161 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_UNBLANK) < 0) { in PowerOn()
362 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Validate()
499 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Commit()
563 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Flush()
1148 if (Sys::ioctl_(device_fd_, INT(MSMFB_ASYNC_POSITION_UPDATE), &pos_update) < 0) { in SetCursorPosition()
[all …]
Dhw_device.h150 int device_fd_ = -1; variable
Dhw_hdmi.cpp354 if (Sys::ioctl_(device_fd_, FBIOGET_VSCREENINFO, &vscreeninfo) < 0) { in SetDisplayAttributes()
380 if (Sys::ioctl_(device_fd_, MSMFB_METADATA_SET, &metadata) < 0) { in SetDisplayAttributes()
391 if (Sys::ioctl_(device_fd_, FBIOPUT_VSCREENINFO, &vscreeninfo) < 0) { in SetDisplayAttributes()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_primary.cpp219 if (Sys::ioctl_(device_fd_, FBIOGET_VSCREENINFO, &var_screeninfo) < 0) { in PopulateDisplayAttributes()
227 if (Sys::ioctl_(device_fd_, MSMFB_METADATA_GET, &meta_data) < 0) { in PopulateDisplayAttributes()
337 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_POWERDOWN) < 0) { in PowerOff()
348 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_NORMAL) < 0) { in Doze()
357 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_VSYNC_SUSPEND) < 0) { in DozeSuspend()
508 if (Sys::ioctl_(device_fd_, INT(MSMFB_LPM_ENABLE), &mode) < 0) { in SetDisplayMode()
610 if (Sys::ioctl_(device_fd_, INT(MSMFB_MDP_PP_GET_FEATURE_VERSION), &version) < 0) { in GetPPFeaturesVersion()
636 if (Sys::ioctl_(device_fd_, INT(MSMFB_MDP_PP), &kernel_params) < 0) { in SetPPFeatures()
Dhw_device.cpp101 device_fd_ = Sys::open_(dev_name, O_RDWR); in Init()
102 if (device_fd_ < 0) { in Init()
113 if (device_fd_ >= 0) { in Deinit()
114 Sys::close_(device_fd_); in Deinit()
115 device_fd_ = -1; in Deinit()
156 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_UNBLANK) < 0) { in PowerOn()
358 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Validate()
501 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Commit()
568 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Flush()
1151 if (Sys::ioctl_(device_fd_, INT(MSMFB_ASYNC_POSITION_UPDATE), &pos_update) < 0) { in SetCursorPosition()
[all …]
Dhw_device.h146 int device_fd_ = -1; variable
Dhw_hdmi.cpp359 if (Sys::ioctl_(device_fd_, FBIOGET_VSCREENINFO, &vscreeninfo) < 0) { in SetDisplayAttributes()
385 if (Sys::ioctl_(device_fd_, MSMFB_METADATA_SET, &metadata) < 0) { in SetDisplayAttributes()
396 if (Sys::ioctl_(device_fd_, FBIOPUT_VSCREENINFO, &vscreeninfo) < 0) { in SetDisplayAttributes()
/hardware/qcom/sm8150/display/sdm/libs/core/fb/
Dhw_primary.cpp219 if (Sys::ioctl_(device_fd_, FBIOGET_VSCREENINFO, &var_screeninfo) < 0) { in PopulateDisplayAttributes()
227 if (Sys::ioctl_(device_fd_, MSMFB_METADATA_GET, &meta_data) < 0) { in PopulateDisplayAttributes()
337 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_POWERDOWN) < 0) { in PowerOff()
348 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_NORMAL) < 0) { in Doze()
357 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_VSYNC_SUSPEND) < 0) { in DozeSuspend()
508 if (Sys::ioctl_(device_fd_, INT(MSMFB_LPM_ENABLE), &mode) < 0) { in SetDisplayMode()
627 if (Sys::ioctl_(device_fd_, INT(MSMFB_MDP_PP_GET_FEATURE_VERSION), &version) < 0) { in GetPPFeaturesVersion()
653 if (Sys::ioctl_(device_fd_, INT(MSMFB_MDP_PP), &kernel_params) < 0) { in SetPPFeatures()
Dhw_device.cpp109 device_fd_ = Sys::open_(dev_name, O_RDWR); in Init()
110 if (device_fd_ < 0) { in Init()
123 if (device_fd_ >= 0) { in Deinit()
124 Sys::close_(device_fd_); in Deinit()
125 device_fd_ = -1; in Deinit()
178 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_UNBLANK) < 0) { in PowerOn()
379 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Validate()
516 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Commit()
580 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Flush()
1143 if (Sys::ioctl_(device_fd_, INT(MSMFB_ASYNC_POSITION_UPDATE), &pos_update) < 0) { in SetCursorPosition()
[all …]
Dhw_device.h169 int device_fd_ = -1; variable
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_primary.cpp219 if (Sys::ioctl_(device_fd_, FBIOGET_VSCREENINFO, &var_screeninfo) < 0) { in PopulateDisplayAttributes()
227 if (Sys::ioctl_(device_fd_, MSMFB_METADATA_GET, &meta_data) < 0) { in PopulateDisplayAttributes()
337 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_POWERDOWN) < 0) { in PowerOff()
348 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_NORMAL) < 0) { in Doze()
357 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_VSYNC_SUSPEND) < 0) { in DozeSuspend()
508 if (Sys::ioctl_(device_fd_, INT(MSMFB_LPM_ENABLE), &mode) < 0) { in SetDisplayMode()
610 if (Sys::ioctl_(device_fd_, INT(MSMFB_MDP_PP_GET_FEATURE_VERSION), &version) < 0) { in GetPPFeaturesVersion()
636 if (Sys::ioctl_(device_fd_, INT(MSMFB_MDP_PP), &kernel_params) < 0) { in SetPPFeatures()
Dhw_device.cpp102 device_fd_ = Sys::open_(dev_name, O_RDWR); in Init()
103 if (device_fd_ < 0) { in Init()
114 if (device_fd_ >= 0) { in Deinit()
115 Sys::close_(device_fd_); in Deinit()
116 device_fd_ = -1; in Deinit()
157 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_UNBLANK) < 0) { in PowerOn()
354 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Validate()
502 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Commit()
569 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Flush()
1152 if (Sys::ioctl_(device_fd_, INT(MSMFB_ASYNC_POSITION_UPDATE), &pos_update) < 0) { in SetCursorPosition()
[all …]
Dhw_device.h147 int device_fd_; variable
Dhw_hdmi.cpp347 if (Sys::ioctl_(device_fd_, FBIOGET_VSCREENINFO, &vscreeninfo) < 0) { in SetDisplayAttributes()
373 if (Sys::ioctl_(device_fd_, MSMFB_METADATA_SET, &metadata) < 0) { in SetDisplayAttributes()
384 if (Sys::ioctl_(device_fd_, FBIOPUT_VSCREENINFO, &vscreeninfo) < 0) { in SetDisplayAttributes()
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_primary.cpp219 if (Sys::ioctl_(device_fd_, FBIOGET_VSCREENINFO, &var_screeninfo) < 0) { in PopulateDisplayAttributes()
227 if (Sys::ioctl_(device_fd_, MSMFB_METADATA_GET, &meta_data) < 0) { in PopulateDisplayAttributes()
337 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_POWERDOWN) < 0) { in PowerOff()
348 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_NORMAL) < 0) { in Doze()
357 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_VSYNC_SUSPEND) < 0) { in DozeSuspend()
508 if (Sys::ioctl_(device_fd_, INT(MSMFB_LPM_ENABLE), &mode) < 0) { in SetDisplayMode()
606 if (Sys::ioctl_(device_fd_, INT(MSMFB_MDP_PP_GET_FEATURE_VERSION), &version) < 0) { in GetPPFeaturesVersion()
638 if (Sys::ioctl_(device_fd_, INT(MSMFB_MDP_PP), &kernel_params) < 0) { in SetPPFeatures()
Dhw_device.cpp101 device_fd_ = Sys::open_(dev_name, O_RDWR); in Init()
102 if (device_fd_ < 0) { in Init()
113 if (device_fd_ >= 0) { in Deinit()
114 Sys::close_(device_fd_); in Deinit()
115 device_fd_ = -1; in Deinit()
160 if (Sys::ioctl_(device_fd_, FBIOBLANK, FB_BLANK_UNBLANK) < 0) { in PowerOn()
362 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Validate()
499 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Commit()
563 if (Sys::ioctl_(device_fd_, INT(MSMFB_ATOMIC_COMMIT), &mdp_disp_commit_) < 0) { in Flush()
1146 if (Sys::ioctl_(device_fd_, INT(MSMFB_ASYNC_POSITION_UPDATE), &pos_update) < 0) { in SetCursorPosition()
[all …]
Dhw_device.h145 int device_fd_ = -1; variable
Dhw_hdmi.cpp365 if (Sys::ioctl_(device_fd_, FBIOGET_VSCREENINFO, &vscreeninfo) < 0) { in SetDisplayAttributes()
391 if (Sys::ioctl_(device_fd_, MSMFB_METADATA_SET, &metadata) < 0) { in SetDisplayAttributes()
402 if (Sys::ioctl_(device_fd_, FBIOPUT_VSCREENINFO, &vscreeninfo) < 0) { in SetDisplayAttributes()
/hardware/libhardware/modules/camera/3_4/
Dv4l2_wrapper.h105 inline bool connected() { return device_fd_.get() >= 0; } in connected()
113 android::base::unique_fd device_fd_; variable
Dv4l2_wrapper.cpp78 device_fd_.reset(fd); in Connect()
117 device_fd_.reset(-1); // Includes close(). in Disconnect()
135 return TEMP_FAILURE_RETRY(ioctl(device_fd_.get(), request, data)); in IoctlLocked()

12