Lines Matching refs:p_i
2503 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
2506 tBTM_INQ_RESULTS *p_cur = &p_i->inq_info.results; in btm_ble_update_inq_result()
2538 p_i->scan_rsp = FALSE; in btm_ble_update_inq_result()
2542 p_i->scan_rsp = TRUE; in btm_ble_update_inq_result()
2544 if (p_i->inq_count != p_inq->inq_counter) in btm_ble_update_inq_result()
2552 p_i->inq_count = p_inq->inq_counter; /* Mark entry for current inquiry */ in btm_ble_update_inq_result()
2755 tINQ_DB_ENT *p_i; in btm_ble_process_adv_pkt_cont() local
2763 p_i = btm_inq_db_find (bda); in btm_ble_process_adv_pkt_cont()
2769 if (p_i && in btm_ble_process_adv_pkt_cont()
2770 (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) || in btm_ble_process_adv_pkt_cont()
2772 (!p_i->scan_rsp))) in btm_ble_process_adv_pkt_cont()
2787 if (p_i == NULL) in btm_ble_process_adv_pkt_cont()
2789 if ((p_i = btm_inq_db_new (bda)) != NULL) in btm_ble_process_adv_pkt_cont()
2796 else if (p_i->inq_count != p_inq->inq_counter) /* first time seen in this inquiry */ in btm_ble_process_adv_pkt_cont()
2801 if (!btm_ble_update_inq_result(p_i, addr_type, evt_type, p)) in btm_ble_process_adv_pkt_cont()
2817 if (p_i == NULL || in btm_ble_process_adv_pkt_cont()
2819 (p_i && in btm_ble_process_adv_pkt_cont()
2820 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE && in btm_ble_process_adv_pkt_cont()
2821 p_i->scan_rsp)) in btm_ble_process_adv_pkt_cont()
2849 … (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()
2853 … (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()