Searched refs:p_mem (Results 1 - 14 of 14) sorted by relevance

/external/bluetooth/bluedroid/hci/include/
H A Dhci.h53 typedef void (*tINT_CMD_CBACK)(void *p_mem);
H A Dbt_vendor_lib.h250 * in at the p_mem parameter by calling dealloc callout function.
252 typedef void (*tINT_CMD_CBACK)(void *p_mem);
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
H A Dgki_ulinux.c1094 ** Parameters: p_mem - (input) pointer to the memory pool
1103 void GKI_register_mempool (void *p_mem) argument
1105 gki_cb.com.p_user_mempool = p_mem;
1145 void GKI_os_free (void *p_mem) argument
1147 if(p_mem != NULL)
1148 free(p_mem);
1288 void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument
1290 register UINT8 *ps = p_mem + len - 1;
/external/libnfc-nci/src/gki/ulinux/
H A Dgki_ulinux.c1072 ** Parameters: p_mem - (input) pointer to the memory pool
1081 void GKI_register_mempool (void *p_mem) argument
1083 gki_cb.com.p_user_mempool = p_mem;
1123 void GKI_os_free (void *p_mem) argument
1125 if(p_mem != NULL)
1126 free(p_mem);
1266 void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument
1268 register UINT8 *ps = p_mem + len - 1;
/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...]
H A Dgki.h402 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/
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...]
H A Dgki.h404 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/bluetooth/bluedroid/gki/common/
H A Dgki_buffer.c38 static void gki_init_free_queue (UINT8 id, UINT16 size, UINT16 total, void *p_mem) argument
54 if(p_mem)
56 p_cb->pool_start[id] = (UINT8 *)p_mem;
57 p_cb->pool_end[id] = (UINT8 *)p_mem + (act_size * total);
70 if(p_mem)
72 hdr = (BUFFER_HDR_T *)p_mem;
104 void* p_mem = GKI_os_malloc((Q->size + BUFFER_PADDING_SIZE) * Q->total); local
105 if(p_mem)
109 gki_init_free_queue(id, Q->size, Q->total, p_mem);
H A Dgki.h390 GKI_API extern void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount);
415 GKI_API extern void GKI_register_mempool (void *p_mem);
/external/bluetooth/bluedroid/gki/ulinux/
H A Dgki_ulinux.c1329 ** Parameters: p_mem - (input) pointer to the memory pool
1338 void GKI_register_mempool (void *p_mem) argument
1340 gki_cb.com.p_user_mempool = p_mem;
1380 void GKI_os_free (void *p_mem) argument
1382 if(p_mem != NULL)
1383 free(p_mem);
/external/bluetooth/bluedroid/hci/src/
H A Dhci_h4.c122 typedef void (*tINT_CMD_CBACK)(void *p_mem);
192 void get_acl_data_length_cback(void *p_mem) argument
196 HC_BT_HDR *p_buf = (HC_BT_HDR *) p_mem;
H A Dhci_mct.c100 typedef void (*tINT_CMD_CBACK)(void *p_mem);
175 void get_acl_data_length_cback(void *p_mem) argument
179 HC_BT_HDR *p_buf = (HC_BT_HDR *) p_mem;
/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 90 milliseconds