Lines Matching refs:p_i

1521   tINQ_DB_ENT* p_i;  in btm_process_inq_results()  local
1589 p_i = btm_inq_db_find(bda); in btm_process_inq_results()
1599 (p_i == NULL || in btm_process_inq_results()
1601 (p_i && in btm_process_inq_results()
1602 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0))) { in btm_process_inq_results()
1615 if (p_inq->inqparms.report_dup && (rssi != 0) && p_i && in btm_process_inq_results()
1616 (i_rssi > p_i->inq_info.results.rssi || in btm_process_inq_results()
1617 p_i->inq_info.results.rssi == 0 in btm_process_inq_results()
1620 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0)) { in btm_process_inq_results()
1621 p_cur = &p_i->inq_info.results; in btm_process_inq_results()
1629 else if ((inq_res_mode == BTM_INQ_RESULT_EXTENDED) && (p_i)) { in btm_process_inq_results()
1630 p_cur = &p_i->inq_info.results; in btm_process_inq_results()
1640 if (p_i == NULL) { in btm_process_inq_results()
1641 p_i = btm_inq_db_new(bda); in btm_process_inq_results()
1651 else if (p_i->inq_count == p_inq->inq_counter && in btm_process_inq_results()
1652 (p_i->inq_info.results.device_type == BT_DEVICE_TYPE_BREDR)) in btm_process_inq_results()
1657 p_i->inq_info.results.rssi = (int8_t)rssi; in btm_process_inq_results()
1659 p_i->inq_info.results.rssi = BTM_INQ_RES_IGNORE_RSSI; in btm_process_inq_results()
1663 p_cur = &p_i->inq_info.results; in btm_process_inq_results()
1672 p_i->time_of_resp = bluetooth::common::time_get_os_boottime_ms(); in btm_process_inq_results()
1674 if (p_i->inq_count != p_inq->inq_counter) in btm_process_inq_results()
1678 if (p_i->inq_count != p_inq->inq_counter) { in btm_process_inq_results()
1680 p_i->scan_rsp = false; in btm_process_inq_results()
1683 p_i->inq_count = p_inq->inq_counter; /* Mark entry for current inquiry */ in btm_process_inq_results()
1692 p_cur->device_type == BT_DEVICE_TYPE_DUMO && p_i->scan_rsp) || in btm_process_inq_results()
1703 p_i->inq_info.appl_knows_rem_name = false; in btm_process_inq_results()
1893 tINQ_DB_ENT* p_i = btm_inq_db_find(remote_bda); in btm_initiate_rem_name() local
1894 if (p_i && (p_i->inq_info.results.inq_result_type & BTM_INQ_RESULT_BR)) { in btm_initiate_rem_name()
1895 tBTM_INQ_INFO* p_cur = &p_i->inq_info; in btm_initiate_rem_name()