Lines Matching refs:p_dcb
325 btif_hl_mdl_cb_t *p_dcb; in bta_hl_co_get_tx_data() local
333 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_co_get_tx_data()
335 if (p_dcb->tx_size <= buf_size ) in bta_hl_co_get_tx_data()
337 memcpy(p_buf, p_dcb->p_tx_pkt, p_dcb->tx_size); in bta_hl_co_get_tx_data()
338 osi_free_and_reset((void **)&p_dcb->p_tx_pkt); in bta_hl_co_get_tx_data()
339 p_dcb->tx_size = 0; in bta_hl_co_get_tx_data()
370 btif_hl_mdl_cb_t *p_dcb; in bta_hl_co_put_rx_data() local
377 p_dcb = BTIF_HL_GET_MDL_CB_PTR(app_idx, mcl_idx, mdl_idx); in bta_hl_co_put_rx_data()
379 p_dcb->p_rx_pkt = (UINT8 *)osi_malloc(data_size); in bta_hl_co_put_rx_data()
380 memcpy(p_dcb->p_rx_pkt, p_data, data_size); in bta_hl_co_put_rx_data()
381 if (p_dcb->p_scb) { in bta_hl_co_put_rx_data()
385 OSI_NO_INTR(r = send(p_dcb->p_scb->socket_id[1], p_dcb->p_rx_pkt, in bta_hl_co_put_rx_data()
395 osi_free_and_reset((void **)&p_dcb->p_rx_pkt); in bta_hl_co_put_rx_data()