Lines Matching refs:p_i
1512 BOOLEAN btm_ble_update_inq_result(tINQ_DB_ENT *p_i, UINT8 addr_type, UINT8 evt_type, UINT8 *p)
1515 tBTM_INQ_RESULTS *p_cur = &p_i->inq_info.results;
1544 p_i->scan_rsp = FALSE;
1548 p_i->scan_rsp = TRUE;
1550 if (p_i->inq_count != p_inq->inq_counter)
1558 p_i->inq_count = p_inq->inq_counter; /* Mark entry for current inquiry */
1685 tINQ_DB_ENT *p_i;
1691 p_i = btm_inq_db_find (bda);
1697 if ((p_i &&
1698 (!(p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BLE) ||
1700 (!p_i->scan_rsp)))
1719 if (p_i == NULL)
1723 if ((p_i = btm_inq_db_new (bda)) != NULL)
1737 else if (p_i->inq_count != p_inq->inq_counter) /* first time seen in this inquiry */
1745 to_report = btm_ble_update_inq_result(p_i, addr_type, evt_type, p);
1754 if (p_i == NULL ||
1756 p_i && p_i->inq_info.results.device_type == BT_DEVICE_TYPE_BLE && p_i->scan_rsp))
1778 if (p_i->inq_info.results.device_type == BT_DEVICE_TYPE_BLE &&
1788 (p_inq_results_cb)((tBTM_INQ_RESULTS *) &p_i->inq_info.results, p_le_inq_cb->adv_data_cache);