Lines Matching refs:p_i
1044 tINQ_DB_ENT* p_i; in btm_process_inq_results() local
1110 p_i = btm_inq_db_find(bda); in btm_process_inq_results()
1120 if ((rssi != 0) && p_i && in btm_process_inq_results()
1121 (i_rssi > p_i->inq_info.results.rssi || in btm_process_inq_results()
1122 p_i->inq_info.results.rssi == 0 in btm_process_inq_results()
1125 (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0)) { in btm_process_inq_results()
1126 p_cur = &p_i->inq_info.results; in btm_process_inq_results()
1134 else if ((inq_res_mode == BTM_INQ_RESULT_EXTENDED) && (p_i)) { in btm_process_inq_results()
1135 p_cur = &p_i->inq_info.results; in btm_process_inq_results()
1145 if (p_i == NULL) { in btm_process_inq_results()
1146 p_i = btm_inq_db_new(bda); in btm_process_inq_results()
1156 else if (p_i->inq_count == p_inq->inq_counter && in btm_process_inq_results()
1157 (p_i->inq_info.results.device_type == BT_DEVICE_TYPE_BREDR)) in btm_process_inq_results()
1162 p_i->inq_info.results.rssi = (int8_t)rssi; in btm_process_inq_results()
1164 p_i->inq_info.results.rssi = BTM_INQ_RES_IGNORE_RSSI; in btm_process_inq_results()
1168 p_cur = &p_i->inq_info.results; in btm_process_inq_results()
1177 p_i->time_of_resp = bluetooth::common::time_get_os_boottime_ms(); in btm_process_inq_results()
1179 if (p_i->inq_count != p_inq->inq_counter) in btm_process_inq_results()
1183 if (p_i->inq_count != p_inq->inq_counter) { in btm_process_inq_results()
1185 p_i->scan_rsp = false; in btm_process_inq_results()
1188 p_i->inq_count = p_inq->inq_counter; /* Mark entry for current inquiry */ in btm_process_inq_results()
1191 p_i->inq_info.appl_knows_rem_name = false; in btm_process_inq_results()
1372 tINQ_DB_ENT* p_i = btm_inq_db_find(remote_bda); in btm_initiate_rem_name() local
1373 if (p_i && (p_i->inq_info.results.inq_result_type & BTM_INQ_RESULT_BR)) { in btm_initiate_rem_name()
1374 tBTM_INQ_INFO* p_cur = &p_i->inq_info; in btm_initiate_rem_name()