/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
H A D | bt_vendor_qcom.c | 67 extern int rome_soc_init(int fd, char *bdaddr); 68 extern int check_embedded_mode(int fd); 69 extern int rome_get_addon_feature_list(int fd); 71 extern int enable_controller_log(int fd, unsigned char req); 86 int userial_clock_operation(int fd, int cmd); 87 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti); 88 int rome_soc_init(int fd, char *bdaddr); 129 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti); 130 int userial_clock_operation(int fd, int cmd); 131 int rome_soc_init(int fd, cha 142 int fd; local 152 bt_semaphore_get(int fd) argument 168 bt_semaphore_release(int fd) argument 184 bt_semaphore_destroy(int fd) argument 351 int fd = 0, size, i, ret, fd_ldo; local 758 int idx, fd = -1, fd_filter = -1; local [all...] |
H A D | hw_ar3k.c | 234 int set_speed(int fd, struct termios *ti, int speed) argument 242 if (tcsetattr(fd, TCSANOW, ti) < 0) 295 static int write_cmd(int fd, uint8_t *buffer, int len) argument 300 err = send_hci_cmd_sync(fd, buffer, len, &event); 317 static int write_ps_cmd(int fd, uint8_t opcode, uint32_t ps_param) argument 326 if (write_cmd(fd, cmd, HCI_PS_CMD_HDR_LEN) < 0) 337 if (write_cmd(fd, cmd, PS_RESET_CMD_LEN) < 0) 349 if (write_cmd(fd, cmd, ps_list[i].len + 388 static int set_cntrlr_baud(int fd, int speed) argument 409 if (write(fd, cm 669 ps_config_download(int fd, int tag_count) argument 713 write_bdaddr_from_file(int rom_version, int fd) argument 911 ps_patch_download(int fd, FILE *stream) argument 970 ath_ps_download(int fd) argument 1052 ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti) argument 1233 ath3k_post(int fd, int pm) argument 1281 int i, fd; local 1392 int fd = -1; local [all...] |
/hardware/interfaces/bluetooth/1.0/default/ |
H A D | h4_protocol.h | 33 H4Protocol(int fd, PacketReadCallback event_cb, PacketReadCallback acl_cb, argument 35 : uart_fd_(fd), 45 void OnDataReady(int fd);
|
H A D | hci_protocol.cc | 31 size_t HciProtocol::WriteSafely(int fd, const uint8_t* data, size_t length) { argument 35 TEMP_FAILURE_RETRY(write(fd, data + transmitted_length, length));
|
H A D | mct_protocol.h | 40 void OnEventDataReady(int fd); 41 void OnAclDataReady(int fd);
|
/hardware/qcom/display/msm8084/libgralloc/ |
H A D | ionalloc.h | 45 size_t offset, int fd); 48 size_t offset, int fd); 54 size_t offset, int fd, int op);
|
/hardware/qcom/display/msm8909/gralloc/ |
H A D | gr_allocator.h | 52 int MapBuffer(void **base, unsigned int size, unsigned int offset, int fd); 53 int ImportBuffer(int fd); 54 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int handle);
|
H A D | gr_ion_alloc.cpp | 97 data->fd = fd_data.fd; 99 ALOGD_IF(DEBUG, "ion: Allocated buffer size:%zu fd:%d handle:0x%x", 100 ion_alloc_data.len, data->fd, data->ion_handle); 105 int IonAlloc::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, argument 109 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%u fd:%d handle:0x%x", base, size, fd, 121 close(fd); 125 int IonAlloc::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) { argument 131 // ion fd i 144 ImportBuffer(int fd) argument [all...] |
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
H A D | gr_allocator.h | 52 int MapBuffer(void **base, unsigned int size, unsigned int offset, int fd); 53 int ImportBuffer(int fd); 54 int FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, int handle);
|
H A D | gr_ion_alloc.cpp | 97 data->fd = fd_data.fd; 99 ALOGD_IF(DEBUG, "ion: Allocated buffer size:%zu fd:%d handle:0x%x", 100 ion_alloc_data.len, data->fd, data->ion_handle); 105 int IonAlloc::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, argument 109 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%u fd:%d handle:0x%x", base, size, fd, 121 close(fd); 125 int IonAlloc::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) { argument 131 // ion fd i 144 ImportBuffer(int fd) argument [all...] |
/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_ion_alloc.cpp | 97 data->fd = fd_data.fd; 99 ALOGD_IF(DEBUG, "ion: Allocated buffer size:%zu fd:%d handle:0x%x", 100 ion_alloc_data.len, data->fd, data->ion_handle); 105 int IonAlloc::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, argument 109 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%u fd:%d handle:0x%x", base, size, fd, 121 close(fd); 125 int IonAlloc::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) { argument 131 // ion fd i 144 ImportBuffer(int fd) argument [all...] |
/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_ion_alloc.cpp | 111 data->fd = fd_data.fd; 113 ALOGD_IF(DEBUG, "ion: Allocated buffer size:%zu fd:%d handle:0x%x", 114 ion_alloc_data.len, data->fd, data->ion_handle); 119 int IonAlloc::FreeBuffer(void *base, unsigned int size, unsigned int offset, int fd, argument 123 ALOGD_IF(DEBUG, "ion: Freeing buffer base:%p size:%u fd:%d handle:0x%x", base, size, fd, 135 close(fd); 139 int IonAlloc::MapBuffer(void **base, unsigned int size, unsigned int offset, int fd) { argument 145 // ion fd i 158 ImportBuffer(int fd) argument [all...] |
/hardware/qcom/camera/msm8998/usbcamcore/inc/ |
H A D | QCameraUsbPriv.h | 101 camHal->fd = open(camHal->dev_name, O_RDWR | O_NONBLOCK, 0);\ 102 if(!camHal->fd)\ 113 if(camHal->fd){\ 114 rc = close(camHal->fd);\ 119 camHal->fd = 0;\ 156 int fd; member in struct:android::__anon2652
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
H A D | DrmControl.cpp | 40 int fd = Hwcomposer::getInstance().getDrm()->getDrmFd(); local 45 int ret = drmCommandWriteRead(fd, DRM_PSB_EXTENSION,
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
H A D | DrmControl.cpp | 40 int fd = Hwcomposer::getInstance().getDrm()->getDrmFd(); local 45 int ret = drmCommandWriteRead(fd, DRM_PSB_EXTENSION,
|
/hardware/qcom/display/msm8909/gpu_tonemapper/ |
H A D | EGLImageWrapper.cpp | 38 int get_ion_cookie(int ion_fd, int fd) argument 41 int cookie = fd; 45 fdData.fd = fd; 50 ALOGE("ION_IOC_IMPORT failed: ion_fd = %d, fd = %d", ion_fd, fd); 57 EGLImageWrapper::DeleteEGLImageCallback::DeleteEGLImageCallback(int fd) argument 60 ion_fd = fd; 142 int ion_cookie = get_ion_cookie(ion_fd, src->fd);
|
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/ |
H A D | EGLImageWrapper.cpp | 38 int get_ion_cookie(int ion_fd, int fd) argument 41 int cookie = fd; 45 fdData.fd = fd; 50 ALOGE("ION_IOC_IMPORT failed: ion_fd = %d, fd = %d", ion_fd, fd); 57 EGLImageWrapper::DeleteEGLImageCallback::DeleteEGLImageCallback(int fd) argument 60 ion_fd = fd; 142 int ion_cookie = get_ion_cookie(ion_fd, src->fd);
|
/hardware/qcom/display/msm8994/libqdutils/ |
H A D | idle_invalidator.cpp | 90 int fd = open(IDLE_TIME_PATH, O_WRONLY); local 92 if (fd < 0) { 102 ssize_t len = pwrite(fd, strSleepTime, strlen(strSleepTime), 0); 106 close(fd); 110 close(fd); 117 pFd.fd = mTimeoutEventFd; 118 if (pFd.fd >= 0) 126 ssize_t len = pread(pFd.fd, data, 64, 0);
|
/hardware/qcom/display/msm8998/gpu_tonemapper/ |
H A D | EGLImageWrapper.cpp | 38 int get_ion_cookie(int ion_fd, int fd) argument 41 int cookie = fd; 45 fdData.fd = fd; 50 ALOGE("ION_IOC_IMPORT failed: ion_fd = %d, fd = %d", ion_fd, fd); 57 EGLImageWrapper::DeleteEGLImageCallback::DeleteEGLImageCallback(int fd) argument 60 ion_fd = fd; 142 int ion_cookie = get_ion_cookie(ion_fd, src->fd);
|
/hardware/ril/include/libril/ |
H A D | ril_ex.h | 28 int blockingWrite_helper(int fd, void* data, size_t len); 44 void (*processCommandsCallback)(int fd, short flags, void *param);
|
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
H A D | bt_vendor_qcom.c | 54 extern int rome_soc_init(int fd, char *bdaddr); 55 extern int check_embedded_mode(int fd); 56 extern int rome_get_addon_feature_list(int fd); 58 extern int enable_controller_log(int fd); 107 int ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti); 108 int userial_clock_operation(int fd, int cmd); 109 int rome_soc_init(int fd, char *bdaddr); 120 int fd; local 122 fd = open(WIFI_BT_STATUS_LOCK, O_RDONLY); 124 if (fd < 130 bt_semaphore_get(int fd) argument 146 bt_semaphore_release(int fd) argument 162 bt_semaphore_destroy(int fd) argument 322 int fd, size, i, ret, fd_ldo; local 711 int fd = -1, fd_filter = -1; local [all...] |
H A D | hw_ar3k.c | 230 int set_speed(int fd, struct termios *ti, int speed) argument 238 if (tcsetattr(fd, TCSANOW, ti) < 0) 291 static int write_cmd(int fd, uint8_t *buffer, int len) argument 296 err = send_hci_cmd_sync(fd, buffer, len, &event); 313 static int write_ps_cmd(int fd, uint8_t opcode, uint32_t ps_param) argument 322 if (write_cmd(fd, cmd, HCI_PS_CMD_HDR_LEN) < 0) 333 if (write_cmd(fd, cmd, PS_RESET_CMD_LEN) < 0) 345 if (write_cmd(fd, cmd, ps_list[i].len + 384 static int set_cntrlr_baud(int fd, int speed) argument 405 if (write(fd, cm 665 ps_config_download(int fd, int tag_count) argument 709 write_bdaddr_from_file(int rom_version, int fd) argument 905 ps_patch_download(int fd, FILE *stream) argument 964 ath_ps_download(int fd) argument 1046 ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti) argument 1227 ath3k_post(int fd, int pm) argument 1275 int i, fd; local 1386 int fd = -1; local [all...] |
/hardware/qcom/msm8998/json-c/ |
H A D | json_util.c | 72 int fd, ret; local 74 if((fd = open(filename, O_RDONLY)) < 0) { 80 close(fd); 84 while((ret = read(fd, buf, JSON_FILE_BUF_SIZE)) > 0) { 87 close(fd); 104 int fd, ret; local 112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { 119 close(fd); 126 if((ret = write(fd, json_str + wpos, wsize-wpos)) < 0) { 127 close(fd); [all...] |
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
H A D | hw_ar3k.c | 230 int set_speed(int fd, struct termios *ti, int speed) argument 238 if (tcsetattr(fd, TCSANOW, ti) < 0) 291 static int write_cmd(int fd, uint8_t *buffer, int len) argument 296 err = send_hci_cmd_sync(fd, buffer, len, &event); 313 static int write_ps_cmd(int fd, uint8_t opcode, uint32_t ps_param) argument 322 if (write_cmd(fd, cmd, HCI_PS_CMD_HDR_LEN) < 0) 333 if (write_cmd(fd, cmd, PS_RESET_CMD_LEN) < 0) 345 if (write_cmd(fd, cmd, ps_list[i].len + 384 static int set_cntrlr_baud(int fd, int speed) argument 405 if (write(fd, cm 665 ps_config_download(int fd, int tag_count) argument 709 write_bdaddr_from_file(int rom_version, int fd) argument 905 ps_patch_download(int fd, FILE *stream) argument 964 ath_ps_download(int fd) argument 1046 ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti) argument 1227 ath3k_post(int fd, int pm) argument 1275 int i, fd; local 1386 int fd = -1; local [all...] |
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/ |
H A D | hw_ar3k.c | 232 int set_speed(int fd, struct termios *ti, int speed) argument 240 if (tcsetattr(fd, TCSANOW, ti) < 0) 293 static int write_cmd(int fd, uint8_t *buffer, int len) argument 298 err = send_hci_cmd_sync(fd, buffer, len, &event); 315 static int write_ps_cmd(int fd, uint8_t opcode, uint32_t ps_param) argument 324 if (write_cmd(fd, cmd, HCI_PS_CMD_HDR_LEN) < 0) 335 if (write_cmd(fd, cmd, PS_RESET_CMD_LEN) < 0) 347 if (write_cmd(fd, cmd, ps_list[i].len + 386 static int set_cntrlr_baud(int fd, int speed) argument 407 if (write(fd, cm 667 ps_config_download(int fd, int tag_count) argument 711 write_bdaddr_from_file(int rom_version, int fd) argument 909 ps_patch_download(int fd, FILE *stream) argument 968 ath_ps_download(int fd) argument 1050 ath3k_init(int fd, int speed, int init_speed, char *bdaddr, struct termios *ti) argument 1231 ath3k_post(int fd, int pm) argument 1279 int i, fd; local 1390 int fd = -1; local [all...] |