Home
last modified time | relevance | path

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

/system/bt/stack/gatt/
Dgatt_sr.c48 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()
267 if (!process_read_multi_rsp (&p_tcb->sr_cmd, status, p_msg, p_tcb->payload_size)) in gatt_sr_process_app_rsp()
[all …]
Dgatt_utils.c975 p_tcb->sr_cmd.multi_rsp_q = fixed_queue_new(SIZE_MAX); in gatt_allocate_tcb_by_bdaddr()
1810 p_tcb->sr_cmd.cback_cnt[i]=1; in gatt_sr_copy_prep_cnt_to_cback_cnt()
1835 if (p_tcb->sr_cmd.cback_cnt[i]) in gatt_sr_is_cback_cnt_zero()
1899 p_tcb->sr_cmd.cback_cnt[i]=0; in gatt_sr_reset_cback_cnt()
1948 p_tcb->sr_cmd.cback_cnt[idx]++; in gatt_sr_update_cback_cnt()
1952 if ( p_tcb->sr_cmd.cback_cnt[idx]) in gatt_sr_update_cback_cnt()
1954 p_tcb->sr_cmd.cback_cnt[idx]--; in gatt_sr_update_cback_cnt()
2287 fixed_queue_free(p_tcb->sr_cmd.multi_rsp_q, NULL); in gatt_cleanup_upon_disc()
2288 p_tcb->sr_cmd.multi_rsp_q = NULL; in gatt_cleanup_upon_disc()
Dgatt_main.c176 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()
406 fixed_queue_free(p_tcb->sr_cmd.multi_rsp_q, NULL); in gatt_act_connect()
Dgatt_api.c736 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()
Dgatt_int.h367 tGATT_SR_CMD sr_cmd; member