/hardware/invensense/60xx/mlsdk/mlutils/ |
H A D | checksum.c | 5 uint32_t inv_checksum(unsigned char *str, int len) argument 10 for (i = 0; i < len; i++) {
|
H A D | checksum.h | 13 uint32_t inv_checksum(unsigned char *str, int len);
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/linux/ |
H A D | ml_stored_data.h | 40 inv_error_t inv_write_cal(unsigned char *cal, size_t len); 41 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len); 42 inv_error_t inv_load_cal_V1(unsigned char *calData, size_t len);
|
H A D | ml_stored_data.c | 81 inv_error_t inv_write_cal(unsigned char *cal, size_t len) argument 87 if (len <= 0) { 92 MPL_LOGI("cal data size to write = %d", len); 99 bytesWritten = fwrite(cal, 1, len, fp); 100 if (bytesWritten != len) { 102 bytesWritten, len); 131 * @param len 136 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len) argument 142 /*if (len != expLen) { 144 expLen, len); 175 inv_load_cal_V1(unsigned char *calData, size_t len) argument 196 int len = 0; local [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
H A D | ml_stored_data.h | 40 inv_error_t inv_write_cal(unsigned char *cal, size_t len); 41 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len); 42 inv_error_t inv_load_cal_V1(unsigned char *calData, size_t len);
|
H A D | ml_stored_data.c | 85 inv_error_t inv_write_cal(unsigned char *cal, size_t len) argument 91 if (len <= 0) { 96 MPL_LOGI("cal data size to write = %d", len); 103 bytesWritten = fwrite(cal, 1, len, fp); 104 if (bytesWritten != len) { 106 bytesWritten, len); 135 * @param len 140 inv_error_t inv_load_cal_V0(unsigned char *calData, size_t len) argument 146 /*if (len != expLen) { 148 expLen, len); 179 inv_load_cal_V1(unsigned char *calData, size_t len) argument 200 int len = 0; local [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/ |
H A D | CWsm.h | 45 uint32_t len; member in class:CWsm 50 uint32_t len, 55 len(len), 49 CWsm(addr_t virtAddr, uint32_t len, uint32_t handle, addr_t physAddr = NULL) argument
|
H A D | Connection.cpp | 78 int32_t len; local 89 len = strlen(remote.sun_path) + sizeof(remote.sun_family); 92 if (::connect(socketDescriptor, (struct sockaddr *) &remote, len) < 0) { 101 size_t Connection::readData(void *buffer, uint32_t len) argument 103 return readData(buffer, len, -1); 108 size_t Connection::readData(void *buffer, uint32_t len, int32_t timeout) argument 149 ret = recv(socketDescriptor, buffer, len, MSG_DONTWAIT); 159 size_t Connection::writeData(void *buffer, uint32_t len) argument 166 ret = send(socketDescriptor, buffer, len, 0); 167 if (ret != len) { [all...] |
H A D | NetlinkConnection.cpp | 170 uint32_t len 173 return readData(buffer, len, -1); 180 uint32_t len, 198 // __FUNCTION__, len, dataLen); 203 if (len > dataLen) { 208 ret = len; 209 memcpy(buffer, dataStart, len); 210 dataLen -= len; 211 dataStart += len; 231 uint32_t len 178 readData( void *buffer, uint32_t len, int32_t timeout ) argument 259 memcpy(NLMSG_DATA(nlh), buffer, len); local [all...] |
H A D | Connection.h | 82 * @param len Number of bytes to read. 88 virtual size_t readData(void *buffer, uint32_t len, int32_t timeout); 94 * @param len Number of bytes to read. 97 virtual size_t readData(void *buffer, uint32_t len); 103 * @param len Number of bytes to read. 105 * @return -1 if written bytes not equal to len. 107 virtual size_t writeData(void *buffer, uint32_t len);
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
H A D | storage_manager.h | 23 inv_error_t inv_load_mpl_states(const unsigned char *data, size_t len); 24 inv_error_t inv_save_mpl_states(unsigned char *data, size_t len);
|
H A D | storage_manager.c | 127 long len; local 129 len = length; // Important so we get negative numbers 130 if (len < sizeof(struct data_header_t)) 135 len = MIN(hd->size, len); 136 len = hd->size; 137 len -= sizeof(struct data_header_t); 139 checksum = inv_checksum(data, len); 143 while (len > (long)sizeof(struct data_header_t)) { 147 len [all...] |
/hardware/invensense/60xx/mlsdk/mllite/ |
H A D | mlFIFOHW.h | 39 inv_error_t inv_get_fifo_length(uint_fast16_t * len); 43 inv_error_t inv_read_fifo(unsigned char *data, uint_fast16_t len);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | storage_manager.h | 23 inv_error_t inv_load_mpl_states(const unsigned char *data, size_t len); 24 inv_error_t inv_save_mpl_states(unsigned char *data, size_t len);
|
H A D | storage_manager.c | 131 long len; local 133 len = length; // Important so we get negative numbers 134 if (data == NULL || len == 0) 136 if (len < sizeof(struct data_header_t)) 141 len = MIN(hd->size, len); 142 len = hd->size; 143 len -= sizeof(struct data_header_t); 145 checksum = inv_checksum(data, len); 149 while (len > (lon [all...] |
/hardware/invensense/60xx/libsensors_iio/software/core/driver/include/ |
H A D | mlsl.h | 220 * @len Length of the configuration data. 228 int inv_serial_read_cfg(unsigned char *cfg, unsigned int len); 233 * @len Length of the configuration data. 241 int inv_serial_write_cfg(unsigned char *cfg, unsigned int len); 246 * @len Length of the calibration data. 254 int inv_serial_read_cal(unsigned char *cal, unsigned int len); 260 * @len Length of the calibration data. 267 int inv_serial_write_cal(unsigned char *cal, unsigned int len); 271 * @len lenght to be returned 275 int inv_serial_get_cal_length(unsigned int *len); [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
H A D | mlsl.h | 220 * @len Length of the configuration data. 228 int inv_serial_read_cfg(unsigned char *cfg, unsigned int len); 233 * @len Length of the configuration data. 241 int inv_serial_write_cfg(unsigned char *cfg, unsigned int len); 246 * @len Length of the calibration data. 254 int inv_serial_read_cal(unsigned char *cal, unsigned int len); 260 * @len Length of the calibration data. 267 int inv_serial_write_cal(unsigned char *cal, unsigned int len); 271 * @len lenght to be returned 275 int inv_serial_get_cal_length(unsigned int *len); [all...] |
/hardware/libhardware_legacy/qemu/ |
H A D | qemu.c | 55 qemu_fd_write( int fd, const char* cmd, int len ) 59 len2 = write(fd, cmd, len); 65 qemu_fd_read( int fd, char* buff, int len ) 69 len2 = read(fd, buff, len); 257 int len; local 262 len = vsnprintf(buffer+4, buffer_size-4, format, args); 263 if (len >= buffer_size-4) 266 snprintf(header, sizeof header, "%04x", len); 268 return len + 4; 302 qemu_control_send(const char* cmd, int len) argument 331 int len, fd; local 353 int ret, fd, len, result = -1; local [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/ |
H A D | CMcKMod.h | 51 * @param len 60 mcResult_t mapWsm(uint32_t len, 67 * @param len 78 uint32_t len, 88 uint32_t len, 93 int read(addr_t buffer, uint32_t len); 111 mcResult_t free(uint32_t handle, addr_t buffer, uint32_t len); 115 uint32_t len, 130 mcResult_t findContiguousWsm(uint32_t handle, addr_t *phys, uint32_t *len);
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/Platforms/Generic/ |
H A D | TrustZoneDevice.h | 108 bool getMciInstance(uint32_t len, CWsm_ptr *mci, bool *reused); 112 CWsm_ptr registerWsmL2(addr_t buffer, uint32_t len, uint32_t pid); 122 bool findContiguousWsm(uint32_t handle, addr_t *phys, uint32_t *len); 132 CWsm_ptr allocateContiguousPersistentWsm(uint32_t len);
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
H A D | dhdu_cmd.h | 46 extern int dhd_get(void *dhd, int cmd, void *buf, int len); 47 extern int dhd_set(void *dhd, int cmd, void *buf, int len);
|
/hardware/invensense/60xx/mlsdk/platform/include/ |
H A D | mlsl.h | 227 * @len Length of the configuration data. 235 inv_error_t inv_serial_read_cfg(unsigned char *cfg, unsigned int len); 240 * @len Length of the configuration data. 248 inv_error_t inv_serial_write_cfg(unsigned char *cfg, unsigned int len); 253 * @len Length of the calibration data. 261 inv_error_t inv_serial_read_cal(unsigned char *cal, unsigned int len); 267 * @len Length of the calibration data. 274 inv_error_t inv_serial_write_cal(unsigned char *cal, unsigned int len); 278 * @len lenght to be returned 282 inv_error_t inv_serial_get_cal_length(unsigned int *len); [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/ |
H A D | Session.h | 47 uint32_t len; /**< Length of the Bulk buffer*/ member in class:BulkBufferDescriptor 54 uint32_t len, 60 len(len), 114 * @param len Length of bulk buffer. 120 mcResult_t addBulkBuf(addr_t buf, uint32_t len, BulkBufferDescriptor **blkBuf); 51 BulkBufferDescriptor( addr_t virtAddr, addr_t sVirtAddr, uint32_t len, uint32_t handle, addr_t physAddrWsmL2 ) argument
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
H A D | p2p.h | 43 uint8 len; /* IE length */ member in struct:wifi_p2p_ie 88 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_info_se_s 115 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_intent_se_s 123 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_cfg_tmo_se_s 132 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_listen_channel_se_s 142 uint8 len[ member in struct:wifi_p2p_grp_bssid_se_s 150 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_grp_id_se_s 159 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_intf_se_s 169 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_status_se_s 205 uint8 len[2]; /* length not including eltId, len fields */ member in struct:wifi_p2p_ext_se_s 216 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_intintad_se_s 224 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_channel_se_s 243 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_chanlist_se_s 263 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_devinfo_se_s 274 uint8 len; member in struct:wifi_p2p_cid_fixed_s 287 uint8 len[2]; member in struct:wifi_p2p_devid_se_s 295 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_mgbt_se_s 305 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_grpinfo_se_s 312 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_op_channel_se_s 322 uint8 len[2]; /* SE length not including eltId, len fields */ member in struct:wifi_p2p_invite_flags_se_s 395 uint8 len[2]; /* Length */ member in struct:wifi_p2p_noa_se 476 uint8 len; /* IE length */ member in struct:wifi_p2psd_adp_ie 495 uint16 len; /* Length: 5 plus size of Query Data */ member in struct:wifi_p2psd_qreq_tlv 505 uint16 len; /* Length of service request TLV, 5 plus the size of request data */ member in struct:wifi_p2psd_qreq_frame 522 uint16 len; /* Length: 5 plus size of Query Data */ member in struct:wifi_p2psd_qresp_tlv 533 uint16 len; /* Lenth of service response TLV, 6 plus the size of resp data */ member in struct:wifi_p2psd_qresp_frame [all...] |
/hardware/samsung_slsi/exynos5/include/ |
H A D | ion.h | 102 * @len: Size of a buffer required in bytes. 103 * @align: Alignment requirements of @len and the start address of the allocated 104 * buffer. If the @len is not aligned by @align, ION allocates a buffer 106 * than @len. 115 ion_buffer ion_alloc(ion_client client, size_t len, size_t align, 126 * @len: The size of the buffer to map. This must not exceed the size of the 128 * before calling this function. If @len is less than the size of the 129 * buffer, this function just map just the size requested (@len) not the 136 * Note that @len + (@offset * PAGE_SIZE) must not exceed the size of the 139 void *ion_map(ion_buffer buffer, size_t len, off_ [all...] |