Lines Matching full:p_cur
968 tBTM_INQ_INFO *p_cur = NULL;
983 p_cur = &p_i->inq_info;
986 p_cur->remote_name_state = BTM_INQ_RMT_NAME_EMPTY;
995 return btm_ble_read_remote_name(remote_bda, p_cur, p_cb);
1000 return (btm_initiate_rem_name (remote_bda, p_cur, BTM_RMT_NAME_EXT,
1094 tBTM_INQ_INFO *BTM_InqNextResult (tBTM_INQ_INFO *p_cur)
1100 if (p_cur)
1102 p_ent = (tINQ_DB_ENT *) ((UINT8 *)p_cur - offsetof (tINQ_DB_ENT, inq_info));
1188 tBTM_INQ_INFO *BTM_InqDbNext (tBTM_INQ_INFO *p_cur)
1193 if (p_cur)
1195 p_ent = (tINQ_DB_ENT *) ((UINT8 *)p_cur - offsetof (tINQ_DB_ENT, inq_info));
1976 tBTM_INQ_RESULTS *p_cur=NULL;
2067 p_cur = &p_i->inq_info.results;
2068 BTM_TRACE_DEBUG2("update RSSI new:%d, old:%d", i_rssi, p_cur->rssi);
2069 p_cur->rssi = i_rssi;
2076 p_cur = &p_i->inq_info.results;
2120 p_cur = &p_i->inq_info.results;
2121 p_cur->page_scan_rep_mode = page_scan_rep_mode;
2122 p_cur->page_scan_per_mode = page_scan_per_mode;
2123 p_cur->page_scan_mode = page_scan_mode;
2124 p_cur->dev_class[0] = dc[0];
2125 p_cur->dev_class[1] = dc[1];
2126 p_cur->dev_class[2] = dc[2];
2127 p_cur->clock_offset = clock_offset | BTM_CLOCK_OFFSET_VALID;
2135 p_cur->inq_result_type = BTM_INQ_RESULT_BR;
2138 p_cur->device_type = BT_DEVICE_TYPE_BREDR;
2142 p_cur->device_type |= BT_DEVICE_TYPE_BREDR;
2154 p_cur->device_type == BT_DEVICE_TYPE_DUMO && p_i->scan_rsp) ||
2214 memset( p_cur->eir_uuid, 0,
2217 btm_set_eir_uuid( p, p_cur );
2227 (p_inq_results_cb)((tBTM_INQ_RESULTS *) p_cur, p_eir_data);
2229 (p_inq_results_cb)((tBTM_INQ_RESULTS *) p_cur, NULL);
2299 tBTM_INQ_INFO *p_cur;
2320 for (p_cur = BTM_InqDbFirst(); p_cur; p_cur = BTM_InqDbNext (p_cur))
2322 if (p_cur->remote_name_state == BTM_INQ_RMT_NAME_EMPTY)
2324 tempstate = p_cur->remote_name_state;
2325 p_cur->remote_name_state = BTM_INQ_RMT_NAME_PENDING;
2327 if (btm_initiate_rem_name (p_cur->results.remote_bd_addr,
2328 p_cur, BTM_RMT_NAME_INQ,
2330 p_cur->remote_name_state = tempstate;
2400 ** Input Params: p_cur - pointer to an inquiry result structure (NULL if nonexistent)
2413 tBTM_STATUS btm_initiate_rem_name (BD_ADDR remote_bda, tBTM_INQ_INFO *p_cur,
2451 if (p_cur)
2454 p_cur->results.page_scan_rep_mode,
2455 p_cur->results.page_scan_mode,
2456 (UINT16)(p_cur->results.clock_offset |
2479 if (p_cur)
2482 p_cur->results.page_scan_rep_mode,
2483 p_cur->results.page_scan_mode,
2484 (UINT16)(p_cur->results.clock_offset |
2534 tBTM_INQ_INFO *p_cur;
2639 for (p_cur = BTM_InqDbFirst(); p_cur; p_cur = BTM_InqDbNext (p_cur))
2641 if (p_cur->remote_name_state == BTM_INQ_RMT_NAME_PENDING)
2644 p_cur->remote_name_state = BTM_INQ_RMT_NAME_FAILED;
2655 for (p_cur = BTM_InqDbFirst(); p_cur; p_cur = BTM_InqDbNext (p_cur))
2657 if (p_cur->remote_name_state == BTM_INQ_RMT_NAME_EMPTY)
2659 p_cur->remote_name_state = BTM_INQ_RMT_NAME_PENDING;
2664 if (btm_ble_read_remote_name(remote_bda, p_cur, p_cb) != BTM_CMD_STARTED)
2665 p_cur->remote_name_state = BTM_INQ_RMT_NAME_FAILED;
2672 if (btm_initiate_rem_name (p_cur->results.remote_bd_addr,
2673 p_cur, BTM_RMT_NAME_INQ,
2675 p_cur->remote_name_state = BTM_INQ_RMT_NAME_FAILED;
2695 for (p_cur = BTM_InqDbFirst(); p_cur; p_cur = BTM_InqDbNext (p_cur))
2697 if (p_cur->remote_name_state == BTM_INQ_RMT_NAME_FAILED)
2698 p_cur->remote_name_state = BTM_INQ_RMT_NAME_EMPTY;