Home
last modified time | relevance | path

Searched refs:p_inst (Results 1 – 3 of 3) sorted by relevance

/system/bt/stack/srvc/
Dsrvc_battery.c51 tBA_INST *p_inst = &battery_cb.battery_inst[0]; in battery_valid_handle_range() local
53 for (;i < BA_MAX_INT_NUM; i ++, p_inst++) in battery_valid_handle_range()
55 if (handle == p_inst->ba_level_hdl || in battery_valid_handle_range()
56 handle == p_inst->clt_cfg_hdl || in battery_valid_handle_range()
57 handle == p_inst->rpt_ref_hdl || in battery_valid_handle_range()
58 handle == p_inst->pres_fmt_hdl ) in battery_valid_handle_range()
75 tBA_INST *p_inst = &battery_cb.battery_inst[0]; in battery_s_write_attr_value() local
80 for (i = 0; i < BA_MAX_INT_NUM; i ++, p_inst ++) in battery_s_write_attr_value()
83 if (handle == p_inst->clt_cfg_hdl) in battery_s_write_attr_value()
88 if (p_inst->p_cback) in battery_s_write_attr_value()
[all …]
/system/bt/stack/btm/
Dbtm_ble_multi_adv.c116 tBTM_BLE_MULTI_ADV_INST *p_inst ; in btm_ble_multi_adv_vsc_cmpl_cback() local
138 p_inst = &btm_multi_adv_cb.p_adv_inst[inst_id - 1]; in btm_ble_multi_adv_vsc_cmpl_cback()
180 if (cb_evt != 0 && p_inst->p_cback != NULL) in btm_ble_multi_adv_vsc_cmpl_cback()
182 (p_inst->p_cback)(cb_evt, inst_id, p_inst->p_ref, status); in btm_ble_multi_adv_vsc_cmpl_cback()
253 tBTM_STATUS btm_ble_multi_adv_set_params (tBTM_BLE_MULTI_ADV_INST *p_inst, in btm_ble_multi_adv_set_params() argument
274 BDADDR_TO_STREAM (pp, p_inst->rpa); in btm_ble_multi_adv_set_params()
297 UINT8_TO_STREAM (pp, p_inst->inst_id); in btm_ble_multi_adv_set_params()
304 p_params->channel_map,p_params->adv_filter_policy,p_inst->inst_id,p_params->tx_power); in btm_ble_multi_adv_set_params()
312 p_inst->adv_evt = p_params->adv_type; in btm_ble_multi_adv_set_params()
316 alarm_set_on_queue(p_inst->adv_raddr_timer, in btm_ble_multi_adv_set_params()
[all …]
Dbtm_ble_int.h462 extern void btm_ble_multi_adv_configure_rpa (tBTM_BLE_MULTI_ADV_INST *p_inst);