Home
last modified time | relevance | path

Searched refs:p_last (Results 1 – 10 of 10) sorted by relevance

/system/nfc/src/nfc/nfc/
Dnfc_ncif.c1356 NFC_HDR* p_last; in nfc_ncif_proc_data() local
1371 p_last = (NFC_HDR*)GKI_getlast(&p_cb->rx_q); in nfc_ncif_proc_data()
1372 if (p_last && (p_last->layer_specific & NFC_RAS_FRAGMENTED)) { in nfc_ncif_proc_data()
1375 size = GKI_get_buf_size(p_last); in nfc_ncif_proc_data()
1376 if (size < (NFC_HDR_SIZE + p_last->len + p_last->offset + len)) { in nfc_ncif_proc_data()
1384 memcpy(p_max, p_last, NFC_HDR_SIZE); in nfc_ncif_proc_data()
1386 ps = (uint8_t*)(p_last + 1) + p_last->offset; in nfc_ncif_proc_data()
1387 memcpy(pd, ps, p_last->len); in nfc_ncif_proc_data()
1390 GKI_remove_from_queue(&p_cb->rx_q, p_last); in nfc_ncif_proc_data()
1391 GKI_freebuf(p_last); in nfc_ncif_proc_data()
[all …]
/system/nfc/src/gki/common/
Dgki_time.c587 p_timer_listq->p_last = NULL; in GKI_init_timer_list()
766 if (p_timer_listq->p_last != NULL) in GKI_add_to_timer_list()
767 p_timer_listq->p_last->p_next = p_tle; in GKI_add_to_timer_list()
769 p_tle->p_prev = p_timer_listq->p_last; in GKI_add_to_timer_list()
773 p_timer_listq->p_last = p_tle; in GKI_add_to_timer_list()
861 if (p_timer_listq->p_last == p_tle) p_timer_listq->p_last = NULL; in GKI_remove_from_timer_list()
863 if (p_timer_listq->p_last == p_tle) { in GKI_remove_from_timer_list()
864 p_timer_listq->p_last = p_tle->p_prev; in GKI_remove_from_timer_list()
866 if (p_timer_listq->p_last != NULL) p_timer_listq->p_last->p_next = NULL; in GKI_remove_from_timer_list()
889 if (p_timer_listq->p_first == NULL && p_timer_listq->p_last == NULL) { in GKI_remove_from_timer_list()
Dgki_buffer.c99 p_cb->freeq[id].p_last = hdr; in gki_init_free_queue()
169 p_cb->freeq[tt].p_last = 0; in gki_buffer_init()
348 p_q->p_first = p_q->p_last = NULL; in GKI_init_q()
431 if (!Q->p_first) Q->p_last = NULL; in GKI_getbuf_debug()
540 if (!Q->p_first) Q->p_last = NULL; in GKI_getpoolbuf_debug()
622 if (Q->p_last) in GKI_freebuf()
623 Q->p_last->p_next = p_hdr; in GKI_freebuf()
627 Q->p_last = p_hdr; in GKI_freebuf()
817 (BUFFER_HDR_T*)((uint8_t*)p_q->p_last - BUFFER_HDR_SIZE); in GKI_enqueue()
822 p_q->p_last = p_buf; in GKI_enqueue()
[all …]
Dgki.h321 TIMER_LIST_ENT* p_last; member
330 void* p_last; member
Dgki_common.h78 BUFFER_HDR_T* p_last; /* last buffer in the queue */ member
/system/nfc/halimpl/bcm2079x/gki/common/
Dgki_time.c595 p_timer_listq->p_last = NULL; in GKI_init_timer_list()
779 if (p_timer_listq->p_last != NULL) in GKI_add_to_timer_list()
780 p_timer_listq->p_last->p_next = p_tle; in GKI_add_to_timer_list()
782 p_tle->p_prev = p_timer_listq->p_last; in GKI_add_to_timer_list()
786 p_timer_listq->p_last = p_tle; in GKI_add_to_timer_list()
875 if (p_timer_listq->p_last == p_tle) p_timer_listq->p_last = NULL; in GKI_remove_from_timer_list()
877 if (p_timer_listq->p_last == p_tle) { in GKI_remove_from_timer_list()
878 p_timer_listq->p_last = p_tle->p_prev; in GKI_remove_from_timer_list()
880 if (p_timer_listq->p_last != NULL) p_timer_listq->p_last->p_next = NULL; in GKI_remove_from_timer_list()
903 if (p_timer_listq->p_first == NULL && p_timer_listq->p_last == NULL) { in GKI_remove_from_timer_list()
Dgki_buffer.c98 p_cb->freeq[id].p_last = hdr1; in gki_init_free_queue()
168 p_cb->freeq[tt].p_last = 0; in gki_buffer_init()
347 p_q->p_first = p_q->p_last = NULL; in GKI_init_q()
430 if (!Q->p_first) Q->p_last = NULL; in GKI_getbuf_debug()
539 if (!Q->p_first) Q->p_last = NULL; in GKI_getpoolbuf_debug()
621 if (Q->p_last) in GKI_freebuf()
622 Q->p_last->p_next = p_hdr; in GKI_freebuf()
626 Q->p_last = p_hdr; in GKI_freebuf()
816 (BUFFER_HDR_T*)((uint8_t*)p_q->p_last - BUFFER_HDR_SIZE); in GKI_enqueue()
821 p_q->p_last = p_buf; in GKI_enqueue()
[all …]
Dgki.h326 TIMER_LIST_ENT* p_last; member
335 void* p_last; member
Dgki_common.h78 BUFFER_HDR_T* p_last; /* last buffer in the queue */ member
/system/bt/stack/a2dp/
Da2dp_sbc.cc107 bool* p_last, uint8_t* p_num);
252 bool* p_start, bool* p_last, in A2DP_ParseMplHeaderSbc() argument
254 if (p_src && p_frag && p_start && p_last && p_num) { in A2DP_ParseMplHeaderSbc()
257 *p_last = (*p_src & A2DP_SBC_HDR_L_MSK) ? true : false; in A2DP_ParseMplHeaderSbc()