Lines Matching refs:srvc_cb
70 if (!p_cb->srvc_cb[i].in_use) in bta_gatts_alloc_srvc_cb()
72 p_cb->srvc_cb[i].in_use = TRUE; in bta_gatts_alloc_srvc_cb()
73 p_cb->srvc_cb[i].rcb_idx = rcb_idx; in bta_gatts_alloc_srvc_cb()
138 if (p_cb->srvc_cb[i].in_use && in bta_gatts_find_srvc_cb_by_srvc_id()
139 p_cb->srvc_cb[i].service_id == service_id) in bta_gatts_find_srvc_cb_by_srvc_id()
142 return &p_cb->srvc_cb[i]; in bta_gatts_find_srvc_cb_by_srvc_id()
164 p_cb->srvc_cb[i].in_use && in bta_gatts_find_srvc_cb_by_attr_id()
165 p_cb->srvc_cb[i + 1].in_use && in bta_gatts_find_srvc_cb_by_attr_id()
166 attr_id >= p_cb->srvc_cb[i].service_id && in bta_gatts_find_srvc_cb_by_attr_id()
167 attr_id < p_cb->srvc_cb[i + 1].service_id) || in bta_gatts_find_srvc_cb_by_attr_id()
170 p_cb->srvc_cb[i].in_use && in bta_gatts_find_srvc_cb_by_attr_id()
171 !p_cb->srvc_cb[i + 1].in_use && in bta_gatts_find_srvc_cb_by_attr_id()
172 attr_id >= p_cb->srvc_cb[i].service_id) || in bta_gatts_find_srvc_cb_by_attr_id()
175 attr_id >= p_cb->srvc_cb[i].service_id) in bta_gatts_find_srvc_cb_by_attr_id()
178 return &p_cb->srvc_cb[i]; in bta_gatts_find_srvc_cb_by_attr_id()