Home
last modified time | relevance | path

Searched refs:tcb_idx (Results 1 – 7 of 7) sorted by relevance

/system/bt/stack/gatt/
Dgatt_api.cc414 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTS_HandleValueIndication() local
416 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_HandleValueIndication()
473 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTS_HandleValueNotification() local
475 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_HandleValueNotification()
523 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTS_SendRsp() local
525 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_SendRsp()
571 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTC_ConfigureMTU() local
572 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_ConfigureMTU()
622 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in GATTC_Discover() local
623 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Discover()
[all …]
Dgatt_utils.cc382 tGATT_TCB* gatt_get_tcb_by_idx(uint8_t tcb_idx) { in gatt_get_tcb_by_idx() argument
385 if ((tcb_idx < GATT_MAX_PHY_CHANNEL) && gatt_cb.tcb[tcb_idx].in_use) in gatt_get_tcb_by_idx()
386 p_tcb = &gatt_cb.tcb[tcb_idx]; in gatt_get_tcb_by_idx()
437 p_tcb->tcb_idx = i; in gatt_allocate_tcb_by_bdaddr()
905 uint8_t tcb_idx = GATT_GET_TCB_IDX(conn_id); in gatt_clcb_alloc() local
906 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in gatt_clcb_alloc()
1096 tcb.tcb_idx, gatt_if, is_inc, is_reset_first); in gatt_sr_update_prep_cnt()
1278 uint16_t conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_cleanup_upon_disc()
1280 p_tcb->tcb_idx, p_reg->gatt_if, conn_id); in gatt_cleanup_upon_disc()
Dgatt_int.h36 #define GATT_CREATE_CONN_ID(tcb_idx, gatt_if) \ argument
37 ((uint16_t)((((uint8_t)(tcb_idx)) << 8) | ((uint8_t)(gatt_if))))
297 uint8_t tcb_idx; member
527 extern tGATT_TCB* gatt_get_tcb_by_idx(uint8_t tcb_idx);
Dgatt_main.cc466 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_channel_congestion()
488 uint16_t conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_notify_phy_updated()
508 uint16_t conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_notify_conn_update()
813 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_send_conn_cback()
Dgatt_sr.cc328 conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, gatt_if); in gatt_process_exec_write_req()
770 GATT_CREATE_CONN_ID(tcb.tcb_idx, gatt_cb.cl_rcb[i].gatt_if); in gatts_process_mtu_req()
916 conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, el.gatt_if); in gatts_process_write_req()
1173 uint16_t conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, el.gatt_if); in gatts_process_value_conf()
Dgatt_db.cc682 uint16_t conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, el.gatt_if); in gatts_send_app_read_request()
Dgatt_cl.cc681 conn_id = GATT_CREATE_CONN_ID(tcb.tcb_idx, p_reg->gatt_if); in gatt_process_notification()