Lines Matching refs:p_inq
409 tBTM_BLE_INQ_CB* p_inq = &btm_cb.ble_ctr_cb.inq_var; in BTM_BleObserve() local
413 !p_inq->scan_interval ? BTM_BLE_GAP_DISC_SCAN_INT : p_inq->scan_interval; in BTM_BleObserve()
415 !p_inq->scan_window ? BTM_BLE_GAP_DISC_SCAN_WIN : p_inq->scan_window; in BTM_BleObserve()
418 btm_cb.btm_inq_vars.scan_type, p_inq->scan_interval, in BTM_BleObserve()
419 p_inq->scan_window); in BTM_BleObserve()
437 p_inq->scan_type = (p_inq->scan_type == BTM_BLE_SCAN_MODE_NONE) in BTM_BleObserve()
439 : p_inq->scan_type; in BTM_BleObserve()
447 p_inq->scan_type, (uint16_t)scan_interval, (uint16_t)scan_window, in BTM_BleObserve()
450 p_inq->scan_duplicate_filter = BTM_BLE_DUPLICATE_DISABLE; in BTM_BleObserve()
1268 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in btm_ble_start_inquiry() local
1305 p_inq->inq_active |= mode; in btm_ble_start_inquiry()
1309 p_inq->inq_active); in btm_ble_start_inquiry()
1364 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in btm_ble_read_remote_name() local
1375 if (p_inq->remname_active) return BTM_BUSY; in btm_ble_read_remote_name()
1380 p_inq->p_remname_cmpl_cb = p_cb; in btm_ble_read_remote_name()
1381 p_inq->remname_active = true; in btm_ble_read_remote_name()
1382 p_inq->remname_bda = remote_bda; in btm_ble_read_remote_name()
1384 alarm_set_on_mloop(p_inq->remote_name_timer, BTM_EXT_BLE_RMT_NAME_TIMEOUT_MS, in btm_ble_read_remote_name()
1402 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in btm_ble_cancel_remote_name() local
1407 p_inq->remname_active = false; in btm_ble_cancel_remote_name()
1408 p_inq->remname_bda = RawAddress::kEmpty; in btm_ble_cancel_remote_name()
1409 alarm_cancel(p_inq->remote_name_timer); in btm_ble_cancel_remote_name()
1636 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in btm_ble_update_inq_result() local
1655 if (p_i->inq_count != p_inq->inq_counter) in btm_ble_update_inq_result()
1662 p_i->inq_count = p_inq->inq_counter; /* Mark entry for current inquiry */ in btm_ble_update_inq_result()
1911 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in btm_ble_process_adv_pkt_cont() local
1976 p_inq->inq_cmpl_info.num_resp++; in btm_ble_process_adv_pkt_cont()
1980 p_inq->inq_counter) /* first time seen in this inquiry */ in btm_ble_process_adv_pkt_cont()
1982 p_inq->inq_cmpl_info.num_resp++; in btm_ble_process_adv_pkt_cont()
2001 if (p_inq->inqparms.max_resps && in btm_ble_process_adv_pkt_cont()
2002 p_inq->inq_cmpl_info.num_resp == p_inq->inqparms.max_resps) { in btm_ble_process_adv_pkt_cont()
2014 if ((p_inq->inq_active & BTM_BR_INQ_ACTIVE_MASK) != 0 && in btm_ble_process_adv_pkt_cont()
2015 (p_inq->inq_active & BTM_PERIODIC_INQUIRY_ACTIVE) == 0) in btm_ble_process_adv_pkt_cont()
2024 tBTM_INQ_RESULTS_CB* p_inq_results_cb = p_inq->p_inq_results_cb; in btm_ble_process_adv_pkt_cont()
2064 tBTM_BLE_INQ_CB* p_inq = &btm_cb.ble_ctr_cb.inq_var; in btm_ble_start_scan() local
2066 btm_send_hci_scan_enable(BTM_BLE_SCAN_ENABLE, p_inq->scan_duplicate_filter); in btm_ble_start_scan()
2068 if (p_inq->scan_type == BTM_BLE_SCAN_MODE_ACTI) in btm_ble_start_scan()
2111 tBTM_INQUIRY_VAR_ST* p_inq = &btm_cb.btm_inq_vars; in btm_ble_stop_inquiry() local
2130 p_inq->inq_cmpl_info.status, p_inq->inq_cmpl_info.num_resp); in btm_ble_stop_inquiry()
2133 HCI_SUCCESS, (uint8_t)(p_inq->inqparms.mode & BTM_BLE_INQUIRY_MASK)); in btm_ble_stop_inquiry()