/external/bluetooth/bluedroid/gki/common/ |
H A D | gki_buffer.c | 38 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);
|
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
H A D | gki_buffer.c | 46 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 D | gki_buffer.c | 46 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/bluetooth/bluedroid/gki/ulinux/ |
H A D | gki_ulinux.c | 1329 ** 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 D | hci_h4.c | 122 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 D | hci_mct.c | 100 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/halimpl/bcm2079x/gki/ulinux/ |
H A D | gki_ulinux.c | 1094 ** 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 D | gki_ulinux.c | 1072 ** 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/src/nfc/ndef/ |
H A D | ndef_utils.c | 43 static void shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument 45 register UINT8 *ps = p_mem + len - 1;
|