Lines Matching refs:p_i
2524 BOOLEAN btm_ble_update_inq_result(tINQ_DB_ENT *p_i, UINT8 addr_type, UINT8 evt_type, UINT8 *p) in btm_ble_update_inq_result() argument
2527 tBTM_INQ_RESULTS *p_cur = &p_i->inq_info.results; in btm_ble_update_inq_result()
2559 p_i->scan_rsp = FALSE; in btm_ble_update_inq_result()
2563 p_i->scan_rsp = TRUE; in btm_ble_update_inq_result()
2565 if (p_i->inq_count != p_inq->inq_counter) in btm_ble_update_inq_result()
2573 p_i->inq_count = p_inq->inq_counter; /* Mark entry for current inquiry */ in btm_ble_update_inq_result()
2776 tINQ_DB_ENT *p_i; in btm_ble_process_adv_pkt_cont() local
2784 p_i = btm_inq_db_find (bda); in btm_ble_process_adv_pkt_cont()
2790 if (p_i && in btm_ble_process_adv_pkt_cont()
2791 (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) || in btm_ble_process_adv_pkt_cont()
2793 (!p_i->scan_rsp))) in btm_ble_process_adv_pkt_cont()
2808 if (p_i == NULL) in btm_ble_process_adv_pkt_cont()
2810 if ((p_i = btm_inq_db_new (bda)) != NULL) in btm_ble_process_adv_pkt_cont()
2817 else if (p_i->inq_count != p_inq->inq_counter) /* first time seen in this inquiry */ in btm_ble_process_adv_pkt_cont()
2822 if (!btm_ble_update_inq_result(p_i, addr_type, evt_type, p)) in btm_ble_process_adv_pkt_cont()
2838 if (p_i == NULL || in btm_ble_process_adv_pkt_cont()
2840 (p_i && in btm_ble_process_adv_pkt_cont()
2841 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE && in btm_ble_process_adv_pkt_cont()
2842 p_i->scan_rsp)) in btm_ble_process_adv_pkt_cont()
2870 … (p_inq_results_cb)((tBTM_INQ_RESULTS *) &p_i->inq_info.results, p_le_inq_cb->adv_data_cache); in btm_ble_process_adv_pkt_cont()
2874 … (p_obs_results_cb)((tBTM_INQ_RESULTS *) &p_i->inq_info.results, p_le_inq_cb->adv_data_cache); in btm_ble_process_adv_pkt_cont()