Searched refs:tcb_idx (Results 1 – 8 of 8) sorted by relevance
/system/bt/stack/gatt/ |
D | gatt_api.cc | 440 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTS_HandleValueIndication() local 442 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_HandleValueIndication() 503 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTS_HandleValueNotification() local 505 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_HandleValueNotification() 556 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTS_SendRsp() local 558 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_SendRsp() 606 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTC_ConfigureMTU() local 607 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_ConfigureMTU() 667 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTC_Discover() local 668 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Discover() [all …]
|
D | gatt_attr.cc | 585 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in gatt_cl_op_cmpl_cback() local 586 tGATT_TCB& tcb = gatt_cb.tcb[tcb_idx]; in gatt_cl_op_cmpl_cback() 808 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in gatt_profile_get_eatt_support() local 809 tGATT_TCB& tcb = gatt_cb.tcb[tcb_idx]; in gatt_profile_get_eatt_support() 924 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in gatt_sr_read_db_hash() local 925 gatt_sr_update_cl_status(gatt_cb.tcb[tcb_idx], /* chg_aware= */ true); in gatt_sr_read_db_hash() 933 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in gatt_sr_read_cl_supp_feat() local 934 tGATT_TCB& tcb = gatt_cb.tcb[tcb_idx]; in gatt_sr_read_cl_supp_feat() 962 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in gatt_sr_write_cl_supp_feat() local 963 tGATT_TCB& tcb = gatt_cb.tcb[tcb_idx]; in gatt_sr_write_cl_supp_feat()
|
D | gatt_utils.cc | 389 tGATT_TCB* gatt_get_tcb_by_idx(uint8_t tcb_idx) { in gatt_get_tcb_by_idx() argument 392 if ((tcb_idx < GATT_MAX_PHY_CHANNEL) && gatt_cb.tcb[tcb_idx].in_use) in gatt_get_tcb_by_idx() 393 p_tcb = &gatt_cb.tcb[tcb_idx]; in gatt_get_tcb_by_idx() 444 p_tcb->tcb_idx = i; in gatt_allocate_tcb_by_bdaddr() 951 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in gatt_is_clcb_allocated() local 952 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in gatt_is_clcb_allocated() 1002 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in gatt_clcb_alloc() local 1003 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in gatt_clcb_alloc() 1380 tcb.tcb_idx, gatt_if, is_inc, is_reset_first); in gatt_sr_update_prep_cnt() 1578 uint16_t conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_cleanup_upon_disc()
|
D | gatt_int.h | 36 #define GATT_CREATE_CONN_ID(tcb_idx, gatt_if) \ argument 37 ((uint16_t)((((uint8_t)(tcb_idx)) << 8) | ((uint8_t)(gatt_if)))) 326 uint8_t tcb_idx; member 589 extern tGATT_TCB* gatt_get_tcb_by_idx(uint8_t tcb_idx);
|
D | gatt_main.cc | 495 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_channel_congestion() 517 uint16_t conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_notify_phy_updated() 534 uint16_t conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_notify_conn_update() 768 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_send_conn_cback()
|
D | gatt_sr.cc | 377 conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, gatt_if); in gatt_process_exec_write_req() 831 GATT_CREATE_CONN_ID(tcb.tcb_idx, gatt_cb.cl_rcb[i].gatt_if); in gatts_process_mtu_req() 982 conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, el.gatt_if); in gatts_process_write_req() 1245 uint16_t conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, el.gatt_if); in gatts_process_value_conf()
|
D | gatt_db.cc | 710 uint16_t conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, el.gatt_if); in gatts_send_app_read_request()
|
D | gatt_cl.cc | 706 conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, p_reg->gatt_if); in gatt_process_notification()
|