Home
last modified time | relevance | path

Searched refs:sr_cmd (Results 1 – 4 of 4) sorted by relevance

/external/bluetooth/bluedroid/stack/gatt/
Dgatt_sr.c47 tGATT_SR_CMD *p_cmd = &p_tcb->sr_cmd; in gatt_sr_enqueue_cmd()
85 return(p_tcb->sr_cmd.op_code == 0); in gatt_sr_cmd_empty()
101 if (p_tcb->sr_cmd.p_rsp_msg) in gatt_dequeue_sr_cmd()
103 GATT_TRACE_ERROR1("free p_tcb->sr_cmd.p_rsp_msg = %d", p_tcb->sr_cmd.p_rsp_msg); in gatt_dequeue_sr_cmd()
105 GKI_freebuf (p_tcb->sr_cmd.p_rsp_msg); in gatt_dequeue_sr_cmd()
108 while (p_tcb->sr_cmd.multi_rsp_q.p_first) in gatt_dequeue_sr_cmd()
109 GKI_freebuf (GKI_dequeue (&p_tcb->sr_cmd.multi_rsp_q)); in gatt_dequeue_sr_cmd()
110 memset( &p_tcb->sr_cmd, 0, sizeof(tGATT_SR_CMD)); in gatt_dequeue_sr_cmd()
273 if (!process_read_multi_rsp (&p_tcb->sr_cmd, status, p_msg, p_tcb->payload_size)) in gatt_sr_process_app_rsp()
284 p_tcb->sr_cmd.status = status; in gatt_sr_process_app_rsp()
[all …]
Dgatt_utils.c1657 p_tcb->sr_cmd.cback_cnt[i]=1; in gatt_sr_copy_prep_cnt_to_cback_cnt()
1682 if (p_tcb->sr_cmd.cback_cnt[i]) in gatt_sr_is_cback_cnt_zero()
1746 p_tcb->sr_cmd.cback_cnt[i]=0; in gatt_sr_reset_cback_cnt()
1795 p_tcb->sr_cmd.cback_cnt[idx]++; in gatt_sr_update_cback_cnt()
1799 if ( p_tcb->sr_cmd.cback_cnt[idx]) in gatt_sr_update_cback_cnt()
1801 p_tcb->sr_cmd.cback_cnt[idx]--; in gatt_sr_update_cback_cnt()
Dgatt_api.c730 if (p_tcb->sr_cmd.trans_id != trans_id) in GATTS_SendRsp()
733 conn_id, p_tcb->sr_cmd.op_code); in GATTS_SendRsp()
738 …cmd_sent = gatt_sr_process_app_rsp (p_tcb, gatt_if, trans_id, p_tcb->sr_cmd.op_code, status, p_ms… in GATTS_SendRsp()
Dgatt_int.h353 tGATT_SR_CMD sr_cmd; member