/hardware/invensense/60xx/mlsdk/platform/linux/ |
H A D | log_printf_linux.c | 35 int _MLWriteLog (const char * buf, int buflen) argument 37 return fputs(buf, stdout);
|
/hardware/intel/img/hwcomposer/ips/common/ |
H A D | WsbmWrapper.h | 25 extern int psbWsbmAllocateFromUB(uint32_t size, uint32_t align, void ** buf, void *user_pt); 26 extern int psbWsbmAllocateTTMBuffer(uint32_t size, uint32_t align,void ** buf); 27 extern int psbWsbmDestroyTTMBuffer(void * buf); 28 extern void * psbWsbmGetCPUAddress(void * buf); 29 extern uint32_t psbWsbmGetGttOffset(void * buf); 30 extern int psbWsbmWrapTTMBuffer(uint32_t handle, void **buf); 31 extern int psbWsbmWrapTTMBuffer2(uint32_t handle, void **buf); 32 extern int psbWsbmCreateFromUB(void *buf, uint32_t size, void *vaddr); 33 extern int psbWsbmUnReference(void *buf); 34 extern int psbWsbmWaitIdle(void *buf); [all...] |
H A D | Wsbm.h | 34 bool allocateTTMBuffer(uint32_t size, uint32_t align,void ** buf); 35 bool allocateTTMBufferUB(uint32_t size, uint32_t align, void ** buf, void *user_pt); 36 bool destroyTTMBuffer(void * buf); 37 void * getCPUAddress(void * buf); 38 uint32_t getGttOffset(void * buf); 39 bool wrapTTMBuffer(uint32_t handle, void **buf); 40 bool unreferenceTTMBuffer(void *buf); 41 bool waitIdleTTMBuffer(void *buf); 42 uint32_t getKBufHandle(void *buf);
|
H A D | Wsbm.cpp | 57 bool Wsbm::allocateTTMBuffer(uint32_t size, uint32_t align, void ** buf) argument 59 int ret = psbWsbmAllocateTTMBuffer(size, align, buf); 68 bool Wsbm::allocateTTMBufferUB(uint32_t size, uint32_t align, void ** buf, void *user_pt) argument 70 int ret = psbWsbmAllocateFromUB(size, align, buf, user_pt); 79 bool Wsbm::destroyTTMBuffer(void * buf) argument 81 int ret = psbWsbmDestroyTTMBuffer(buf); 90 void * Wsbm::getCPUAddress(void * buf) argument 92 return psbWsbmGetCPUAddress(buf); 95 uint32_t Wsbm::getGttOffset(void * buf) argument 97 return psbWsbmGetGttOffset(buf); 100 wrapTTMBuffer(uint32_t handle, void **buf) argument 111 unreferenceTTMBuffer(void *buf) argument 122 getKBufHandle(void *buf) argument 127 waitIdleTTMBuffer(void *buf) argument [all...] |
H A D | WsbmWrapper.c | 155 int psbWsbmAllocateFromUB(uint32_t size, uint32_t align, void ** buf, void *user_pt) argument 163 if(!buf || !user_pt) { 188 *buf = wsbmBuf; 190 VLOGTRACE("ttm UB buffer allocated. %p", *buf); 194 int psbWsbmAllocateTTMBuffer(uint32_t size, uint32_t align, void ** buf) argument 202 if(!buf) { 226 *buf = wsbmBuf; 228 VLOGTRACE("ttm buffer allocated. %p", *buf); 232 int psbWsbmWrapTTMBuffer(uint32_t handle, void **buf) argument 237 if (!buf) { 263 psbWsbmWrapTTMBuffer2(uint32_t handle, void **buf) argument 288 psbWsbmCreateFromUB(void *buf, uint32_t size, void *vaddr) argument 308 psbWsbmUnReference(void *buf) argument 324 psbWsbmDestroyTTMBuffer(void * buf) argument 343 psbWsbmGetCPUAddress(void * buf) argument 365 psbWsbmGetGttOffset(void * buf) argument 382 psbWsbmGetKBufHandle(void *buf) argument 392 psbWsbmWaitIdle(void *buf) argument [all...] |
/hardware/akm/AK8975_FS/akmdfs/ |
H A D | AKFS_Disp.c | 43 void Disp_Result(int buf[YPR_DATA_SIZE]) argument 46 "Flag=%d\n", buf[0]); 49 buf[4], REVERT_ACC(buf[1]), REVERT_ACC(buf[2]), REVERT_ACC(buf[3])); 52 buf[8], REVERT_MAG(buf[5]), REVERT_MAG(buf[6]), REVERT_MAG(buf[ [all...] |
H A D | AKFS_FileIO.c | 46 char buf[LOAD_BUF_SIZE]; local 58 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.x) != 2) { 61 if (strncmp(buf, "HO.x", sizeof(buf)) != 0) { 65 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.y) != 2) { 68 if (strncmp(buf, "HO.y", sizeof(buf)) != 0) { 72 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.z) != 2) { 75 if (strncmp(buf, "HO.z", sizeof(buf)) ! [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | vpxstats.c | 25 stats->buf.sz = 0; 26 stats->buf.buf = NULL; 36 stats->buf.sz = stat_buf.st_size; 37 stats->buf.buf = mmap(NULL, stats->buf.sz, PROT_READ, MAP_PRIVATE, fd, 0); 38 res = (stats->buf.buf != NULL); 47 stats->buf [all...] |
H A D | y4menc.h | 24 int y4m_write_file_header(char *buf, size_t len, int width, int height, 27 int y4m_write_frame_header(char *buf, size_t len);
|
H A D | y4menc.c | 13 int y4m_write_file_header(char *buf, size_t len, int width, int height, argument 21 return snprintf(buf, len, "YUV4MPEG2 W%u H%u F%u:%u I%c %s", width, height, 25 int y4m_write_frame_header(char *buf, size_t len) { argument 26 return snprintf(buf, len, "FRAME\n");
|
H A D | md5_utils.h | 35 UWORD32 buf[4]; member in struct:MD5Context 41 void MD5Update(struct MD5Context *context, md5byte const *buf, unsigned len); 43 void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
|
/hardware/intel/common/libwsbm/src/ |
H A D | wsbm_mallocpool.c | 44 struct _WsbmBufStorage buf; member in struct:_WsbmMallocBuffer 50 mallocBuf(struct _WsbmBufStorage *buf) argument 52 return containerOf(buf, struct _WsbmMallocBuffer, buf); 64 wsbmBufStorageInit(&mBuf->buf, pool); 70 return &mBuf->buf; 74 pool_destroy(struct _WsbmBufStorage **buf) argument 76 free(mallocBuf(*buf)); 77 *buf = NULL; 81 pool_waitIdle(struct _WsbmBufStorage *buf __attribute_ 87 pool_map(struct _WsbmBufStorage *buf, unsigned mode __attribute__ ((unused)), void **virtual __attribute__ ((unused))) argument 137 pool_size(struct _WsbmBufStorage *buf) argument [all...] |
H A D | wsbm_manager.c | 165 node->buf = item; 358 wsbmBOWaitIdle(struct _WsbmBufferObject *buf, int lazy) argument 362 storage = buf->storage; 370 wsbmBOMap(struct _WsbmBufferObject *buf, unsigned mode) argument 372 struct _WsbmBufStorage *storage = buf->storage; 382 wsbmBOUnmap(struct _WsbmBufferObject *buf) argument 384 struct _WsbmBufStorage *storage = buf->storage; 393 wsbmBOSyncForCpu(struct _WsbmBufferObject *buf, unsigned mode) argument 395 struct _WsbmBufStorage *storage = buf->storage; 401 wsbmBOReleaseFromCpu(struct _WsbmBufferObject *buf, unsigne argument 409 wsbmBOOffsetHint(struct _WsbmBufferObject *buf) argument 417 wsbmBOPoolOffset(struct _WsbmBufferObject *buf) argument 425 wsbmBOPlacementHint(struct _WsbmBufferObject * buf) argument 435 wsbmBOReference(struct _WsbmBufferObject *buf) argument 446 wsbmBOSetStatus(struct _WsbmBufferObject *buf, uint32_t setFlags, uint32_t clrFlags) argument 463 struct _WsbmBufferObject *buf = *p_buf; local 484 wsbmBOData(struct _WsbmBufferObject *buf, unsigned size, const void *data, struct _WsbmBufferPool *newPool, uint32_t placement) argument 614 wsbmBODataUB(struct _WsbmBufferObject *buf, unsigned size, const void *data, struct _WsbmBufferPool *newPool, uint32_t placement, const unsigned long *user_ptr) argument 744 wsbmStorageClone(struct _WsbmBufferObject *buf) argument 754 wsbmBOClone(struct _WsbmBufferObject *buf, int (*accelCopy) (struct _WsbmBufferObject *, struct _WsbmBufferObject *)) argument 808 wsbmBOSubData(struct _WsbmBufferObject *buf, unsigned long offset, unsigned long size, const void *data, int (*accelCopy) (struct _WsbmBufferObject *, struct _WsbmBufferObject *)) argument 876 wsbmBOGetSubData(struct _WsbmBufferObject *buf, unsigned long offset, unsigned long size, void *data) argument 903 wsbmBOSetReferenced(struct _WsbmBufferObject *buf, unsigned long handle) argument 934 struct _WsbmBufferObject *buf; local 973 struct _WsbmBufferObject *buf; local 1056 wsbmAddValidateItem(struct _ValidateList *list, void *buf, uint64_t flags, uint64_t mask, int *itemLoc, struct _ValidateNode **pnode, int *newItem) argument 1119 wsbmBOAddListItem(struct _WsbmBufferList *list, struct _WsbmBufferObject *buf, uint64_t flags, uint64_t mask, int *itemLoc, struct _ValidateNode **node) argument 1156 wsbmBOFence(struct _WsbmBufferObject *buf, struct _WsbmFenceObject *fence) argument 1167 wsbmBOOnList(const struct _WsbmBufferObject *buf) argument 1280 wsbmBOSize(struct _WsbmBufferObject *buf) argument 1352 wsbmKBuf(const struct _WsbmBufferObject *buf) argument [all...] |
H A D | wsbm_pool.h | 58 int (*map) (struct _WsbmBufStorage * buf, unsigned mode, void **virtual); 59 void (*unmap) (struct _WsbmBufStorage * buf); 60 int (*syncforcpu) (struct _WsbmBufStorage * buf, unsigned mode); 61 void (*releasefromcpu) (struct _WsbmBufStorage * buf, unsigned mode); 62 void (*destroy) (struct _WsbmBufStorage ** buf); 63 unsigned long (*offset) (struct _WsbmBufStorage * buf); 64 unsigned long (*poolOffset) (struct _WsbmBufStorage * buf); 65 uint32_t(*placement) (struct _WsbmBufStorage * buf); 66 unsigned long (*size) (struct _WsbmBufStorage * buf); 67 struct _WsbmKernelBuf *(*kernel) (struct _WsbmBufStorage * buf); [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
H A D | vp9_lookahead.c | 26 struct lookahead_entry *buf; /* Buffer list */ member in struct:lookahead_ctx 34 struct lookahead_entry *buf = ctx->buf + index; local 40 return buf; 46 if (ctx->buf) { 50 vp9_free_frame_buffer(&ctx->buf[i].img); 51 free(ctx->buf); 76 ctx->buf = calloc(depth, sizeof(*ctx->buf)); 77 if (!ctx->buf) 95 struct lookahead_entry *buf; local 167 struct lookahead_entry *buf = NULL; local 179 struct lookahead_entry *buf = NULL; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
H A D | lookahead.c | 24 struct lookahead_entry *buf; /* Buffer list */ member in struct:lookahead_ctx 34 struct lookahead_entry *buf = ctx->buf + index; local 40 return buf; 49 if(ctx->buf) 54 vp8_yv12_de_alloc_frame_buffer(&ctx->buf[i].img); 55 free(ctx->buf); 88 ctx->buf = calloc(depth, sizeof(*ctx->buf)); 89 if(!ctx->buf) 111 struct lookahead_entry* buf; local 182 struct lookahead_entry* buf = NULL; local 198 struct lookahead_entry* buf = NULL; local [all...] |
/hardware/intel/img/libdrm/tests/ |
H A D | gem_readwrite.c | 41 int do_read(int fd, int handle, void *buf, int offset, int size) argument 45 /* Ensure that we don't have any convenient data in buf in case 48 memset(buf, 0xd0, size); 52 read.data_ptr = (uintptr_t)buf; 59 int do_write(int fd, int handle, void *buf, int offset, int size) argument 65 write.data_ptr = (uintptr_t)buf; 77 uint8_t buf[OBJECT_SIZE]; local 94 ret = do_read(fd, handle, buf, 0, OBJECT_SIZE); 97 assert(memcmp(expected, buf, sizeof(expected)) == 0); 100 ret = do_read(fd, handle, buf, OBJECT_SIZ [all...] |
/hardware/intel/img/psb_video/src/ |
H A D | psb_buffer.c | 67 psb_buffer_p buf 76 buf->rar_handle = 0; 77 buf->buffer_ofs = 0; 79 buf->type = type; 80 buf->driver_data = driver_data; /* only for RAR buffers */ 81 buf->size = size; 174 ret = wsbmGenBuffers(driver_data->main_pool, 1, &buf->drm_buf, 176 if (!buf->drm_buf) { 183 ret = wsbmBOData(buf->drm_buf, size, NULL, NULL, 0); 192 size, wsbmBOOffsetHint(buf 204 psb_buffer_create_from_ub(psb_driver_data_p driver_data, unsigned int size, psb_buffer_type_t type, psb_buffer_p buf, void * vaddr, unsigned int flags ) argument 301 psb_buffer_reference(psb_driver_data_p driver_data, psb_buffer_p buf, psb_buffer_p reference_buf ) argument 341 psb_kbuffer_reference(psb_driver_data_p driver_data, psb_buffer_p buf, int kbuf_handle ) argument 385 psb_buffer_destroy(psb_buffer_p buf) argument 405 psb_buffer_map(psb_buffer_p buf, unsigned char **address ) argument 450 psb_buffer_unmap(psb_buffer_p buf) argument [all...] |
H A D | psb_buffer.h | 93 psb_buffer_p buf 104 psb_buffer_p buf, 112 int psb_buffer_setstatus(psb_buffer_p buf, uint32_t set_placement, uint32_t clr_placement); 119 psb_buffer_p buf, 126 psb_buffer_p buf, 138 void psb_buffer_destroy(psb_buffer_p buf); 145 int psb_buffer_map(psb_buffer_p buf, unsigned char **address /* out */); 159 int psb_buffer_unmap(psb_buffer_p buf); 166 psb_buffer_p buf, 177 psb_buffer_p buf, [all...] |
/hardware/intel/img/psb_video/src/mrst/ |
H A D | lnc_H264ES.h | 41 unsigned char *buf,
|
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/ |
H A D | driver_cmd_nl80211.c | 23 char *buf; member in struct:android_wifi_priv_cmd 60 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, argument 80 ret = os_snprintf(buf, buf_len, 85 os_memcpy(buf, cmd, strlen(cmd) + 1); 88 priv_cmd.buf = buf; 101 ret = strlen(buf); 104 __func__, MAC2STR(buf)); 106 wpa_printf(MSG_DEBUG, "%s: P2P: %s ", __func__, buf); 108 wpa_printf(MSG_DEBUG, "%s: P2P: %s ", __func__, buf); 119 char buf[MAX_DRV_CMD_SIZE]; local 127 wpa_driver_get_p2p_noa(void *priv, u8 *buf, size_t len) argument 135 char buf[MAX_DRV_CMD_SIZE]; local 147 char buf[MAX_WPSP2PIE_CMD_SIZE]; local [all...] |
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
H A D | driver_cmd_wext.c | 77 char buf[WEXT_CSCAN_BUF_LEN]; local 92 os_memcpy(buf, WEXT_CSCAN_HEADER, bp); 94 if ((bp + IW_ESSID_MAX_SIZE + 10) >= (int)sizeof(buf)) 97 buf[bp++] = WEXT_CSCAN_SSID_SECTION; 98 buf[bp++] = params->ssids[i].ssid_len; 99 os_memcpy(&buf[bp], params->ssids[i].ssid, params->ssids[i].ssid_len); 104 buf[bp++] = WEXT_CSCAN_CHANNEL_SECTION; 105 buf[bp++] = 0; 108 buf[bp++] = WEXT_CSCAN_PASV_DWELL_SECTION; 109 buf[b 131 wpa_driver_wext_set_cscan_params(char *buf, size_t buf_len, char *cmd) argument 208 char buf[WEXT_PNO_MAX_COMMAND_SIZE]; local 281 wpa_driver_wext_driver_cmd( void *priv, char *cmd, char *buf, size_t buf_len ) argument 374 char buf[MAX_DRV_CMD_SIZE]; local [all...] |
H A D | driver_cmd_nl80211.c | 64 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, argument 101 ret = os_snprintf(buf, buf_len, 104 os_memcpy(buf, cmd, strlen(cmd) + 1); 110 priv_cmd.bufaddr = (u64)(uintptr_t)buf; 112 priv_cmd.bufaddr = buf; 128 ret = strlen(buf); 130 wpa_printf(MSG_DEBUG, "%s %s len = %d, %zu", __func__, buf, ret, strlen(buf)); 138 char buf[MAX_DRV_CMD_SIZE]; local 140 memset(buf, 154 char buf[MAX_DRV_CMD_SIZE]; local 166 char *buf; local [all...] |
/hardware/libhardware_legacy/qemu_tracing/ |
H A D | qemu_tracing.c | 62 char buf[MAX_BUF_SIZE]; local 69 sprintf(buf, "%x %s\n", addr, name); 70 write(fd, buf, strlen(buf)); 77 char buf[MAX_BUF_SIZE]; local 82 sprintf(buf, "%x\n", addr); 83 write(fd, buf, strlen(buf));
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
H A D | loc_eng_dmn_conn_glue_pipe.h | 40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz); 41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
|