Searched refs:p_mem (Results 1 – 7 of 7) sorted by relevance
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
D | gki_buffer.c | 46 static void gki_init_free_queue (UINT8 id, UINT16 size, UINT16 total, void *p_mem) in gki_init_free_queue() argument 61 if(p_mem) in gki_init_free_queue() 63 p_cb->pool_start[id] = (UINT8 *)p_mem; in gki_init_free_queue() 64 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total); in gki_init_free_queue() 75 …e_queue() init pool=%d, size=%d (aligned=%d) total=%d start=%p", id, size, tempsize, total, p_mem); in gki_init_free_queue() 79 if(p_mem) in gki_init_free_queue() 81 hdr = (BUFFER_HDR_T *)p_mem; in gki_init_free_queue() 113 void* p_mem = GKI_os_malloc((Q->size + BUFFER_PADDING_SIZE) * Q->total); in gki_alloc_free_queue() local 114 if(p_mem) in gki_alloc_free_queue() 120 gki_init_free_queue(id, Q->size, Q->total, p_mem); in gki_alloc_free_queue()
|
D | gki.h | 402 GKI_API extern void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount); 438 GKI_API extern void GKI_register_mempool (void *p_mem);
|
/external/libnfc-nci/src/gki/common/ |
D | gki_buffer.c | 46 static void gki_init_free_queue (UINT8 id, UINT16 size, UINT16 total, void *p_mem) in gki_init_free_queue() argument 61 if(p_mem) in gki_init_free_queue() 63 p_cb->pool_start[id] = (UINT8 *)p_mem; in gki_init_free_queue() 64 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total); in gki_init_free_queue() 75 …e_queue() init pool=%d, size=%d (aligned=%d) total=%d start=%p", id, size, tempsize, total, p_mem); in gki_init_free_queue() 79 if(p_mem) in gki_init_free_queue() 81 hdr = (BUFFER_HDR_T *)p_mem; in gki_init_free_queue() 113 void* p_mem = GKI_os_malloc((Q->size + BUFFER_PADDING_SIZE) * Q->total); in gki_alloc_free_queue() local 114 if(p_mem) in gki_alloc_free_queue() 120 gki_init_free_queue(id, Q->size, Q->total, p_mem); in gki_alloc_free_queue()
|
D | gki.h | 404 GKI_API extern void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount); 440 GKI_API extern void GKI_register_mempool (void *p_mem);
|
/external/libnfc-nci/src/gki/ulinux/ |
D | gki_ulinux.c | 1082 void GKI_register_mempool (void *p_mem) in GKI_register_mempool() argument 1084 gki_cb.com.p_user_mempool = p_mem; in GKI_register_mempool() 1124 void GKI_os_free (void *p_mem) in GKI_os_free() argument 1126 if(p_mem != NULL) in GKI_os_free() 1127 free(p_mem); in GKI_os_free() 1267 void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) in GKI_shiftdown() argument 1269 register UINT8 *ps = p_mem + len - 1; in GKI_shiftdown()
|
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/ |
D | gki_ulinux.c | 1105 void GKI_register_mempool (void *p_mem) in GKI_register_mempool() argument 1107 gki_cb.com.p_user_mempool = p_mem; in GKI_register_mempool() 1147 void GKI_os_free (void *p_mem) in GKI_os_free() argument 1149 if(p_mem != NULL) in GKI_os_free() 1150 free(p_mem); in GKI_os_free() 1290 void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) in GKI_shiftdown() argument 1292 register UINT8 *ps = p_mem + len - 1; in GKI_shiftdown()
|
/external/libnfc-nci/src/nfc/ndef/ |
D | ndef_utils.c | 43 static void shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) in shiftdown() argument 45 register UINT8 *ps = p_mem + len - 1; in shiftdown()
|