Searched refs:buf (Results 1 - 25 of 609) sorted by relevance

1234567891011>>

/hardware/intel/img/hwcomposer/merrifield/ips/common/
H A DWsbmWrapper.h25 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(uint64_t handle, void **buf);
31 extern int psbWsbmWrapTTMBuffer2(uint64_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 DWsbm.h34 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(int64_t handle, void **buf);
40 bool unreferenceTTMBuffer(void *buf);
41 bool waitIdleTTMBuffer(void *buf);
42 uint64_t getKBufHandle(void *buf);
H A DWsbm.cpp57 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(int64_t handle, void **buf) argument
111 unreferenceTTMBuffer(void *buf) argument
122 getKBufHandle(void *buf) argument
127 waitIdleTTMBuffer(void *buf) argument
[all...]
H A DWsbmWrapper.c156 int psbWsbmAllocateFromUB(uint32_t size, uint32_t align, void ** buf, void *user_pt) argument
164 if(!buf || !user_pt) {
189 *buf = wsbmBuf;
191 VTRACE("ttm UB buffer allocated. %p", *buf);
195 int psbWsbmAllocateTTMBuffer(uint32_t size, uint32_t align, void ** buf) argument
203 if(!buf) {
227 *buf = wsbmBuf;
229 VTRACE("ttm buffer allocated. %p", *buf);
233 int psbWsbmWrapTTMBuffer(uint64_t handle, void **buf) argument
238 if (!buf) {
264 psbWsbmWrapTTMBuffer2(uint64_t handle, void **buf) argument
289 psbWsbmCreateFromUB(void *buf, uint32_t size, void *vaddr) argument
309 psbWsbmUnReference(void *buf) argument
325 psbWsbmDestroyTTMBuffer(void * buf) argument
344 psbWsbmGetCPUAddress(void * buf) argument
366 psbWsbmGetGttOffset(void * buf) argument
383 psbWsbmGetKBufHandle(void *buf) argument
393 psbWsbmWaitIdle(void *buf) argument
[all...]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
H A DWsbmWrapper.h25 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 DWsbm.h34 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 DWsbm.cpp57 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 DWsbmWrapper.c157 int psbWsbmAllocateFromUB(uint32_t size, uint32_t align, void ** buf, void *user_pt) argument
164 if(!buf || !user_pt) {
189 *buf = wsbmBuf;
191 VLOGTRACE("ttm UB buffer allocated. %p", *buf);
195 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 DAKFS_Disp.c43 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 DAKFS_FileIO.c46 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/bsp/intel/peripheral/libmraa/examples/javascript/
H A Dspi.js33 buf = new Buffer(4)
34 buf[0] = char('0xf4')
35 buf[1] = char('0x2e')
36 buf[2] = char('0x3e')
37 buf[3] = char('0x4e')
38 buf2 = x.write(buf)
39 console.log("Sent: " + buf.toString('hex') + ". Received: " + buf2.toString('hex'))
H A Dbmp85.js48 buf = new Buffer(2)
49 buf[0] = char('0xf4')
50 buf[1] = char('0x2e')
51 console.log(buf.toString('hex'))
52 x.write(buf)
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Dvpxstats.c25 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 Dy4menc.h24 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 Dy4menc.c13 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 Dmd5_utils.h35 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 Dwsbm_mallocpool.c44 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 Dwsbm_manager.c165 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, int fd) 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...]
/hardware/intel/common/libmix/mix_video/src/
H A Dmixvideoformatqueue.h19 MixBuffer *buf; member in struct:_MixInputBufferEntry
/hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/
H A Ddriver_cmd_nl80211.c38 char *buf; member in struct:android_wifi_priv_cmd
75 int wpa_driver_nl80211_driver_cmd(void *priv, char *cmd, char *buf, argument
95 ret = os_snprintf(buf, buf_len,
100 os_memcpy(buf, cmd, strlen(cmd) + 1);
103 priv_cmd.buf = buf;
121 ret = strlen(buf);
124 __func__, MAC2STR(buf));
126 wpa_printf(MSG_DEBUG, "%s: P2P: %s ", __func__, buf);
128 wpa_printf(MSG_DEBUG, "%s: P2P: %s ", __func__, buf);
146 char buf[MAX_DRV_CMD_SIZE]; local
154 wpa_driver_get_p2p_noa(void *priv, u8 *buf, size_t len) argument
162 char buf[MAX_DRV_CMD_SIZE]; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_lookahead.c26 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 Dlookahead.c24 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/bsp/intel/peripheral/libupm/src/m24lr64e/
H A Dm24lr64e.cxx61 uint8_t buf[pktLen]; local
63 buf[0] = 0x09;
64 buf[1] = 0x00;
66 buf[2] = ((passwd >> 24) & 0xff);
67 buf[3] = ((passwd >> 16) & 0xff);
68 buf[4] = ((passwd >> 8) & 0xff);
69 buf[5] = (passwd & 0xff);
71 buf[6] = 0x09;
74 buf[7] = ((passwd >> 24) & 0xff);
75 buf[
92 uint8_t buf[pktLen]; local
135 uint8_t buf[64]={0x0}; local
215 uint8_t buf[pktLen]; local
234 uint8_t buf[pktLen]; local
268 uint8_t buf[apktLen]; local
[all...]
/hardware/bsp/intel/peripheral/libupm/src/nunchuck/
H A Dnunchuck.cxx110 uint8_t buf[bufsize]; local
113 rv = readBytes(0x00, buf, bufsize);
123 stickX = buf[0];
126 stickY = buf[1];
129 accelX = ( (buf[2] << 2) | ((buf[5] & 0x0c) >> 2) );
132 accelY = ( (buf[3] << 2) | ((buf[5] & 0x30) >> 4) );
135 accelZ = ( (buf[4] << 2) | ((buf[
[all...]
/hardware/intel/img/psb_video/src/
H A Dpsb_buffer.c67 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, int fd, unsigned int flags ) argument
303 psb_buffer_reference(psb_driver_data_p driver_data, psb_buffer_p buf, psb_buffer_p reference_buf ) argument
343 psb_kbuffer_reference(psb_driver_data_p driver_data, psb_buffer_p buf, int kbuf_handle ) argument
387 psb_buffer_destroy(psb_buffer_p buf) argument
407 psb_buffer_map(psb_buffer_p buf, unsigned char **address ) argument
452 psb_buffer_unmap(psb_buffer_p buf) argument
[all...]

Completed in 3743 milliseconds

1234567891011>>