Lines Matching refs:p_buf
745 extern BOOLEAN gki_chk_buf_damage(void *p_buf);
765 BT_HDR *p_buf = NULL; in userial_read_thread() local
774 BT_HDR *p_buf; in userial_read_thread() local
777 if ((p_buf = (BT_HDR *) GKI_getpoolbuf( USERIAL_POOL_ID ) )!= NULL) in userial_read_thread()
779 p_buf->offset = 0; in userial_read_thread()
780 p_buf->layer_specific = 0; in userial_read_thread()
782 current_packet = (UINT8 *) (p_buf + 1); in userial_read_thread()
788 …al_read_thread(): unable to get buffer from GKI p_buf = %p poolid = %d\n", p_buf, USERIAL_POOL_ID); in userial_read_thread()
800 p_buf->len = (UINT16)rx_length; in userial_read_thread()
801 GKI_enqueue(&Userial_in_q, p_buf); in userial_read_thread()
804 p_buf, Userial_in_q.count, rx_length); in userial_read_thread()
807 (*linux_cb.ser_cb)(linux_cb.port, USERIAL_RX_READY_EVT, (tUSERIAL_EVT_DATA *)p_buf); in userial_read_thread()
813 GKI_freebuf( p_buf ); in userial_read_thread()
831 … (*linux_cb.ser_cb)(linux_cb.port, USERIAL_ERR_EVT, (tUSERIAL_EVT_DATA *)p_buf); in userial_read_thread()
847 while ((p_buf = (BT_HDR *) GKI_dequeue (&Userial_in_q)) != NULL) in userial_read_thread()
849 GKI_freebuf(p_buf); in userial_read_thread()
1204 UDRV_API void USERIAL_ReadBuf(tUSERIAL_PORT port, BT_HDR **p_buf) in USERIAL_ReadBuf() argument
1226 UDRV_API BOOLEAN USERIAL_WriteBuf(tUSERIAL_PORT port, BT_HDR *p_buf) in USERIAL_WriteBuf() argument
1500 BT_HDR *p_buf = NULL; in userial_close_thread() local