Lines Matching refs:battery_cb
40 tBATTERY_CB battery_cb; variable
51 tBA_INST *p_inst = &battery_cb.battery_inst[0]; in battery_valid_handle_range()
75 tBA_INST *p_inst = &battery_cb.battery_inst[0]; in battery_s_write_attr_value()
115 tBA_INST *p_inst = &battery_cb.battery_inst[0]; in battery_s_read_attr_value()
206 if (battery_cb.inst_id == BA_MAX_INT_NUM) in Battery_Instantiate()
212 p_inst = &battery_cb.battery_inst[battery_cb.inst_id]; in Battery_Instantiate()
216 battery_cb.inst_id , in Battery_Instantiate()
226 battery_cb.inst_id ++; in Battery_Instantiate()
292 battery_cb.inst_id --; in Battery_Instantiate()
294 GATTS_DeleteService(srvc_eng_cb.gatt_if, &uuid, battery_cb.inst_id); in Battery_Instantiate()
309 tBA_INST *p_inst = &battery_cb.battery_inst[0]; in Battery_Rsp()
377 tBA_INST *p_inst = &battery_cb.battery_inst[0]; in Battery_Notify()