Searched defs:p_mem (Results 1 - 5 of 5) sorted by relevance

/external/libnfc-nci/halimpl/bcm2079x/gki/common/
H A Dgki_buffer.c46 static void gki_init_free_queue (UINT8 id, UINT16 size, UINT16 total, void *p_mem) argument
61 if(p_mem)
63 p_cb->pool_start[id] = (UINT8 *)p_mem;
64 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total);
75 LOGD("gki_init_free_queue() init pool=%d, size=%d (aligned=%d) total=%d start=%p", id, size, tempsize, total, p_mem);
79 if(p_mem)
81 hdr = (BUFFER_HDR_T *)p_mem;
113 void* p_mem = GKI_os_malloc((Q->size + BUFFER_PADDING_SIZE) * Q->total); local
114 if(p_mem)
120 gki_init_free_queue(id, Q->size, Q->total, p_mem);
[all...]
/external/libnfc-nci/src/gki/common/
H A Dgki_buffer.c46 static void gki_init_free_queue (UINT8 id, UINT16 size, UINT16 total, void *p_mem) argument
61 if(p_mem)
63 p_cb->pool_start[id] = (UINT8 *)p_mem;
64 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total);
75 LOGD("gki_init_free_queue() init pool=%d, size=%d (aligned=%d) total=%d start=%p", id, size, tempsize, total, p_mem);
79 if(p_mem)
81 hdr = (BUFFER_HDR_T *)p_mem;
113 void* p_mem = GKI_os_malloc((Q->size + BUFFER_PADDING_SIZE) * Q->total); local
114 if(p_mem)
120 gki_init_free_queue(id, Q->size, Q->total, p_mem);
[all...]
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
H A Dgki_ulinux.c1096 ** Parameters: p_mem - (input) pointer to the memory pool
1105 void GKI_register_mempool (void *p_mem) argument
1107 gki_cb.com.p_user_mempool = p_mem;
1147 void GKI_os_free (void *p_mem) argument
1149 if(p_mem != NULL)
1150 free(p_mem);
1290 void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument
1292 register UINT8 *ps = p_mem + len - 1;
/external/libnfc-nci/src/gki/ulinux/
H A Dgki_ulinux.c1073 ** Parameters: p_mem - (input) pointer to the memory pool
1082 void GKI_register_mempool (void *p_mem) argument
1084 gki_cb.com.p_user_mempool = p_mem;
1124 void GKI_os_free (void *p_mem) argument
1126 if(p_mem != NULL)
1127 free(p_mem);
1267 void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument
1269 register UINT8 *ps = p_mem + len - 1;
/external/libnfc-nci/src/nfc/ndef/
H A Dndef_utils.c43 static void shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument
45 register UINT8 *ps = p_mem + len - 1;

Completed in 168 milliseconds