/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
H A D | hwc_buffer_sync_handler.cpp | 42 DisplayError HWCBufferSyncHandler::SyncWait(int fd) { argument 45 if (fd >= 0) { 46 error = sync_wait(fd, 1000); 83 bool HWCBufferSyncHandler::IsSyncSignaled(int fd) { argument 84 if (sync_wait(fd, 0) < 0) {
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_buffer_sync_handler.cpp | 44 DisplayError HWCBufferSyncHandler::SyncWait(int fd) { argument 47 if (fd >= 0) { 48 error = sync_wait(fd, 1000); 85 bool HWCBufferSyncHandler::IsSyncSignaled(int fd) { argument 86 if (sync_wait(fd, 0) < 0) {
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_buffer_sync_handler.cpp | 43 DisplayError HWCBufferSyncHandler::SyncWait(int fd) { argument 46 if (fd >= 0) { 47 error = sync_wait(fd, 1000); 84 bool HWCBufferSyncHandler::IsSyncSignaled(int fd) { argument 85 if (sync_wait(fd, 0) < 0) {
|
/hardware/broadcom/libbt/src/ |
H A D | userial_vendor.c | 63 int fd; /* fd to Bluetooth device */ member in struct:__anon50 138 void userial_ioctl_init_bt_wake(int fd) argument 146 if (ioctl(vnd_userial.fd, TIOCSETD, &ldisc) < 0) 148 VNDUSERIALDBG("USERIAL_Open():fd %d, TIOCSETD failed: error %d for ldisc: %d", 149 fd, errno, ldisc); 156 ioctl(fd, USERIAL_IOCTL_BT_WAKE_ASSERT, NULL); 157 ioctl(fd, USERIAL_IOCTL_BT_WAKE_GET_ST, &bt_wake_state); 179 vnd_userial.fd = -1; 190 ** Returns device fd [all...] |
/hardware/qcom/display/msm8084/liboverlay/ |
H A D | mdpWrapper.h | 51 bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo); 54 bool getVScreenInfo(int fd, fb_var_screeninfo& vinfo); 57 bool setVScreenInfo(int fd, fb_var_screeninfo& vinfo); 60 bool startRotator(int fd, msm_rotator_img_info& rot); 63 bool rotate(int fd, msm_rotator_data_info& rot); 66 bool setOverlay(int fd, mdp_overlay& ov); 69 bool validateAndSet(const int& fd, mdp_overlay_list& list); 72 bool endRotator(int fd, int sessionId); 75 bool unsetOverlay(int fd, int ovId); 78 bool getOverlay(int fd, mdp_overla 124 getFScreenInfo(int fd, fb_fix_screeninfo& finfo) argument 133 getVScreenInfo(int fd, fb_var_screeninfo& vinfo) argument 142 setVScreenInfo(int fd, fb_var_screeninfo& vinfo) argument 151 startRotator(int fd, msm_rotator_img_info& rot) argument 160 rotate(int fd, msm_rotator_data_info& rot) argument 169 setOverlay(int fd, mdp_overlay& ov) argument 178 validateAndSet(const int& fd, mdp_overlay_list& list) argument 187 endRotator(int fd, uint32_t sessionId) argument 196 unsetOverlay(int fd, int ovId) argument 205 getOverlay(int fd, mdp_overlay& ov) argument 214 play(int fd, msmfb_overlay_data& od) argument 223 set3D(int fd, msmfb_overlay_3d& ov) argument 232 displayCommit(int fd, mdp_display_commit& info) argument [all...] |
/hardware/akm/AK8975_FS/libsensors/ |
H A D | SensorBase.cpp | 73 int fd, amt; local 75 fd = open(path, O_WRONLY); 76 if (fd < 0) { 82 amt = write(fd, value, bytes); 86 close(fd); 117 int fd = -1; 135 fd = open(devname, O_RDONLY); 136 if (fd>=0) { 138 if (ioctl(fd, EVIOCGNAME(sizeof(name) - 1), &name) < 1) { 145 close(fd); [all...] |
/hardware/invensense/6515/libsensors_iio/ |
H A D | MPLSupport.cpp | 33 int count, fd; local 35 fd = open(fname, O_RDONLY); 36 if(fd < 0) { 41 count = read_attribute_sensor(fd, buf, sizeof(buf)); 43 close(fd); 50 close(fd); 56 int read_attribute_sensor(int fd, char* data, unsigned int size) argument 61 if (fd > 0) { 62 count = pread(fd, data, size, 0); 74 * @param fd 80 enable_sysfs_sensor(int fd, int en) argument 102 write_attribute_sensor(int fd, long data) argument 125 write_attribute_sensor_continuous(int fd, long data) argument 286 int fd; local [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
H A D | MPLSupport.cpp | 33 int count, fd; local 35 fd = open(fname, O_RDONLY); 36 if(fd < 0) { 41 count = read_attribute_sensor(fd, buf, sizeof(buf)); 43 close(fd); 50 close(fd); 56 int read_attribute_sensor(int fd, char* data, unsigned int size) argument 61 if (fd > 0) { 62 count = pread(fd, data, size, 0); 74 * @param fd 80 enable_sysfs_sensor(int fd, int en) argument 102 write_attribute_sensor(int fd, long data) argument 125 write_attribute_sensor_continuous(int fd, long data) argument 283 int fd; local [all...] |
/hardware/qcom/display/msm8226/liboverlay/ |
H A D | mdpWrapper.h | 54 bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo); 57 bool getVScreenInfo(int fd, fb_var_screeninfo& vinfo); 60 bool setVScreenInfo(int fd, fb_var_screeninfo& vinfo); 63 bool startRotator(int fd, msm_rotator_img_info& rot); 66 bool rotate(int fd, msm_rotator_data_info& rot); 69 bool setOverlay(int fd, mdp_overlay& ov); 72 bool validateAndSet(const int& fd, mdp_overlay_list& list); 75 bool endRotator(int fd, int sessionId); 78 bool unsetOverlay(int fd, int ovId); 81 bool getOverlay(int fd, mdp_overla 121 getFScreenInfo(int fd, fb_fix_screeninfo& finfo) argument 131 getVScreenInfo(int fd, fb_var_screeninfo& vinfo) argument 141 setVScreenInfo(int fd, fb_var_screeninfo& vinfo) argument 151 startRotator(int fd, msm_rotator_img_info& rot) argument 161 rotate(int fd, msm_rotator_data_info& rot) argument 171 setOverlay(int fd, mdp_overlay& ov) argument 181 validateAndSet(const int& fd, mdp_overlay_list& list) argument 191 endRotator(int fd, uint32_t sessionId) argument 201 unsetOverlay(int fd, int ovId) argument 211 getOverlay(int fd, mdp_overlay& ov) argument 221 play(int fd, msmfb_overlay_data& od) argument 231 displayCommit(int fd, mdp_display_commit& info) argument [all...] |
/hardware/qcom/display/msm8994/liboverlay/ |
H A D | mdpWrapper.h | 57 bool getFScreenInfo(int fd, fb_fix_screeninfo& finfo); 60 bool getVScreenInfo(int fd, fb_var_screeninfo& vinfo); 63 bool setVScreenInfo(int fd, fb_var_screeninfo& vinfo); 66 bool startRotator(int fd, msm_rotator_img_info& rot); 69 bool rotate(int fd, msm_rotator_data_info& rot); 72 bool setOverlay(int fd, mdp_overlay& ov); 75 int validateAndSet(const int& fd, mdp_overlay_list& list); 78 bool endRotator(int fd, int sessionId); 81 bool unsetOverlay(int fd, int ovId); 84 bool getOverlay(int fd, mdp_overla 123 getFScreenInfo(int fd, fb_fix_screeninfo& finfo) argument 133 getVScreenInfo(int fd, fb_var_screeninfo& vinfo) argument 143 setVScreenInfo(int fd, fb_var_screeninfo& vinfo) argument 153 startRotator(int fd, msm_rotator_img_info& rot) argument 163 rotate(int fd, msm_rotator_data_info& rot) argument 173 setOverlay(int fd, mdp_overlay& ov) argument 183 validateAndSet(const int& fd, mdp_overlay_list& list) argument 215 endRotator(int fd, uint32_t sessionId) argument 225 unsetOverlay(int fd, int ovId) argument 238 getOverlay(int fd, mdp_overlay& ov) argument 248 play(int fd, msmfb_overlay_data& od) argument 258 displayCommit(int fd, mdp_display_commit& info) argument [all...] |
/hardware/qcom/audio/hal/audio_extn/ |
H A D | hwdep_cal.c | 69 int fd = -1; local 75 fd = open(dev_name, O_WRONLY); 76 if (fd < 0) { 78 return fd; 81 return fd; 84 static int send_codec_cal(acdb_get_calibration_t acdb_loader_get_calibration, int fd) argument 113 if (ioctl(fd, SNDRV_CTL_IOCTL_HWDEP_CAL_TYPE, &codec_buffer) < 0) 125 int fd; local 127 fd = hw_util_open(snd_card); 128 if (fd [all...] |
/hardware/qcom/display/msm8226/libgralloc/ |
H A D | ionalloc.h | 45 unsigned int offset, int fd); 48 unsigned int offset, int fd); 54 unsigned int offset, int fd, int op);
|
/hardware/qcom/display/msm8909/libdrmutils/ |
H A D | drm_master.h | 40 int fd = -1; member in struct:drm_utils::DRMBuffer 53 /* Converts from ION fd --> Prime Handle --> FB_ID. 69 /* Poplulates master DRM fd 71 * fd: Pointer to store master fd into 73 void GetHandle(int *fd) { *fd = dev_fd_; } argument 88 int dev_fd_ = -1; // Master fd for DRM
|
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | ionalloc.h | 45 unsigned int offset, int fd); 48 unsigned int offset, int fd); 54 unsigned int offset, int fd, int op);
|
/hardware/qcom/display/msm8909w_3100/libdrmutils/ |
H A D | drm_master.h | 40 int fd = -1; member in struct:drm_utils::DRMBuffer 53 /* Converts from ION fd --> Prime Handle --> FB_ID. 69 /* Poplulates master DRM fd 71 * fd: Pointer to store master fd into 73 void GetHandle(int *fd) { *fd = dev_fd_; } argument 88 int dev_fd_ = -1; // Master fd for DRM
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
H A D | ionalloc.h | 45 unsigned int offset, int fd); 48 unsigned int offset, int fd); 54 unsigned int offset, int fd, int op);
|
/hardware/qcom/display/msm8960/libgralloc/ |
H A D | ionalloc.h | 45 int offset, int fd); 48 int offset, int fd); 54 int offset, int fd, int op);
|
/hardware/qcom/display/msm8994/libgralloc/ |
H A D | ionalloc.h | 45 unsigned int offset, int fd); 48 unsigned int offset, int fd); 54 unsigned int offset, int fd, int op);
|
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | ionalloc.h | 45 unsigned int offset, int fd); 48 unsigned int offset, int fd); 54 unsigned int offset, int fd, int op);
|
/hardware/qcom/display/msm8998/libdrmutils/ |
H A D | drm_master.h | 40 int fd = -1; member in struct:drm_utils::DRMBuffer 53 /* Converts from ION fd --> Prime Handle --> FB_ID. 69 /* Poplulates master DRM fd 71 * fd: Pointer to store master fd into 73 void GetHandle(int *fd) { *fd = dev_fd_; } argument 88 int dev_fd_ = -1; // Master fd for DRM
|
/hardware/qcom/bt/msm8960/libbt-vendor/include/ |
H A D | bt_vendor_qcom.h | 33 extern int fd;
|
/hardware/qcom/display/msm8084/libgralloc/ |
H A D | memalloc.h | 45 int fd; member in struct:gralloc::alloc_data 60 // and fd are returned in the alloc_data struct 65 size_t offset, int fd) = 0; 69 size_t offset, int fd) = 0; 77 size_t offset, int fd, int op) = 0;
|
/hardware/qcom/display/msm8909/gralloc/ |
H A D | gr_ion_alloc.h | 47 int fd = -1; member in struct:gralloc1::AllocData 67 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int ion_handle); 68 int MapBuffer(void **base, unsigned int size, unsigned int offset, int fd); 69 int ImportBuffer(int fd);
|
/hardware/qcom/display/msm8909/sdm/include/utils/ |
H A D | utils.h | 37 void CloseFd(int *fd);
|
/hardware/qcom/display/msm8909/sdm/libs/utils/ |
H A D | utils.cpp | 59 void CloseFd(int *fd) { argument 60 if (*fd >= 0) { 61 Sys::close_(*fd); 62 *fd = -1;
|