Home
last modified time | relevance | path

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

/system/bt/stack/gatt/
Dgatt_api.c398 UINT8 i_sreg; in GATTS_DeleteService() local
430 if ((i_sreg = gatt_sr_find_i_rcb_by_app_id (p_app_uuid128, in GATTS_DeleteService()
434 GATTS_StopService(gatt_cb.sr_reg[i_sreg].s_hdl); in GATTS_DeleteService()
468 UINT8 i_sreg; in GATTS_StartService() local
499 if ((i_sreg = gatt_sr_alloc_rcb(p_list)) == GATT_MAX_SR_PROFILES) in GATTS_StartService()
505 p_sreg = &gatt_cb.sr_reg[i_sreg]; in GATTS_StartService()
523 gatts_update_srv_list_elem(i_sreg, p_sreg->s_hdl, in GATTS_StartService()
526 gatt_add_a_srv_to_list(&gatt_cb.srv_list_info, &gatt_cb.srv_list[i_sreg]); in GATTS_StartService()
528 GATT_TRACE_DEBUG ("allocated i_sreg=%d ",i_sreg); in GATTS_StartService()
Dgatt_utils.c448 p_rcb = GATT_GET_SR_REG_PTR(p_srv->i_sreg); in gatt_is_last_attribute()
499 void gatts_update_srv_list_elem(UINT8 i_sreg, UINT16 handle, BOOLEAN is_primary) in gatts_update_srv_list_elem() argument
503 gatt_cb.srv_list[i_sreg].in_use = TRUE; in gatts_update_srv_list_elem()
504 gatt_cb.srv_list[i_sreg].i_sreg = i_sreg; in gatts_update_srv_list_elem()
505 gatt_cb.srv_list[i_sreg].s_hdl = gatt_cb.sr_reg[i_sreg].s_hdl; in gatts_update_srv_list_elem()
506 gatt_cb.srv_list[i_sreg].is_primary = is_primary; in gatts_update_srv_list_elem()
Dgatt_int.h335 UINT8 i_sreg; member
688 extern void gatts_update_srv_list_elem(UINT8 i_sreg, UINT16 handle, BOOLEAN is_primary);
Dgatt_sr.c525 p_rcb = GATT_GET_SR_REG_PTR(p_srv->i_sreg); in gatt_build_primary_service_rsp()
835 p_rcb = GATT_GET_SR_REG_PTR(p_srv->i_sreg); in gatts_process_find_info()
982 p_rcb = GATT_GET_SR_REG_PTR(p_srv->i_sreg); in gatts_process_read_by_type_req()