Searched refs:sr_cmd (Results 1 – 5 of 5) sorted by relevance
/system/bt/stack/gatt/ |
D | gatt_sr.c | 48 tGATT_SR_CMD *p_cmd = &p_tcb->sr_cmd; in gatt_sr_enqueue_cmd() 86 return(p_tcb->sr_cmd.op_code == 0); in gatt_sr_cmd_empty() 102 if (p_tcb->sr_cmd.p_rsp_msg) in gatt_dequeue_sr_cmd() 103 GATT_TRACE_ERROR("free p_tcb->sr_cmd.p_rsp_msg = %d", p_tcb->sr_cmd.p_rsp_msg); in gatt_dequeue_sr_cmd() 104 osi_free_and_reset((void **)&p_tcb->sr_cmd.p_rsp_msg); in gatt_dequeue_sr_cmd() 106 while (!fixed_queue_is_empty(p_tcb->sr_cmd.multi_rsp_q)) in gatt_dequeue_sr_cmd() 107 osi_free(fixed_queue_try_dequeue(p_tcb->sr_cmd.multi_rsp_q)); in gatt_dequeue_sr_cmd() 108 fixed_queue_free(p_tcb->sr_cmd.multi_rsp_q, NULL); in gatt_dequeue_sr_cmd() 109 memset( &p_tcb->sr_cmd, 0, sizeof(tGATT_SR_CMD)); in gatt_dequeue_sr_cmd() 270 if (!process_read_multi_rsp (&p_tcb->sr_cmd, status, p_msg, p_tcb->payload_size)) in gatt_sr_process_app_rsp() [all …]
|
D | gatt_utils.c | 1809 p_tcb->sr_cmd.cback_cnt[i]=1; in gatt_sr_copy_prep_cnt_to_cback_cnt() 1834 if (p_tcb->sr_cmd.cback_cnt[i]) in gatt_sr_is_cback_cnt_zero() 1898 p_tcb->sr_cmd.cback_cnt[i]=0; in gatt_sr_reset_cback_cnt() 1947 p_tcb->sr_cmd.cback_cnt[idx]++; in gatt_sr_update_cback_cnt() 1951 if ( p_tcb->sr_cmd.cback_cnt[idx]) in gatt_sr_update_cback_cnt() 1953 p_tcb->sr_cmd.cback_cnt[idx]--; in gatt_sr_update_cback_cnt() 2286 fixed_queue_free(p_tcb->sr_cmd.multi_rsp_q, NULL); in gatt_cleanup_upon_disc() 2287 p_tcb->sr_cmd.multi_rsp_q = NULL; in gatt_cleanup_upon_disc()
|
D | gatt_api.c | 736 if (p_tcb->sr_cmd.trans_id != trans_id) in GATTS_SendRsp() 739 conn_id, p_tcb->sr_cmd.op_code); in GATTS_SendRsp() 744 …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()
|
D | gatt_main.c | 176 fixed_queue_free(gatt_cb.tcb[i].sr_cmd.multi_rsp_q, NULL); in gatt_free() 177 gatt_cb.tcb[i].sr_cmd.multi_rsp_q = NULL; in gatt_free()
|
D | gatt_int.h | 367 tGATT_SR_CMD sr_cmd; member
|