Lines Matching refs:inq_active
423 if (btm_cb.btm_inq_vars.inq_active & BTM_PERIODIC_INQUIRY_ACTIVE) { in BTM_CancelPeriodicInquiry()
424 btm_cb.btm_inq_vars.inq_active = BTM_INQUIRY_INACTIVE; in BTM_CancelPeriodicInquiry()
567 return (btm_cb.btm_inq_vars.inq_active); in BTM_IsInquiryActive()
595 if ((p_inq->inq_active & BTM_INQUIRY_ACTIVE_MASK) != 0 && in BTM_CancelInquiry()
596 (!(p_inq->inq_active & BTM_PERIODIC_INQUIRY_ACTIVE))) { in BTM_CancelInquiry()
597 p_inq->inq_active = BTM_INQUIRY_INACTIVE; in BTM_CancelInquiry()
683 if (p_inq->inq_active || p_inq->inqfilt_active) { in BTM_StartInquiry()
714 p_inq->inq_active = p_inqparms->mode; in BTM_StartInquiry()
717 p_inq->inq_active); in BTM_StartInquiry()
957 if (p_inq->inq_active != BTM_INQUIRY_INACTIVE || p_inq->inqfilt_active) in BTM_ClearInqDb()
990 if (p_inq->inq_active != BTM_INQUIRY_INACTIVE) { in btm_inq_db_reset()
991 temp_inq_active = p_inq->inq_active; /* Save so state can change BEFORE in btm_inq_db_reset()
993 p_inq->inq_active = BTM_INQUIRY_INACTIVE; in btm_inq_db_reset()
1082 btm_cb.btm_inq_vars.no_inc_ssp, btm_cb.btm_inq_vars.inq_active, in btm_inq_stop_on_ssp()
1087 if (btm_cb.btm_inq_vars.inq_active & BTM_PERIODIC_INQUIRY_ACTIVE) { in btm_inq_stop_on_ssp()
1089 } else if (btm_cb.btm_inq_vars.inq_active & normal_active) { in btm_inq_stop_on_ssp()
1096 btm_cb.btm_inq_vars.inq_active |= BTM_SSP_INQUIRY_ACTIVE; in btm_inq_stop_on_ssp()
1110 btm_cb.btm_inq_vars.inq_active &= ~BTM_SSP_INQUIRY_ACTIVE; in btm_inq_clear_ssp()
1133 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state); in btm_clr_inq_db()
1144 BTM_TRACE_DEBUG("inq_active:0x%x state:%d", btm_cb.btm_inq_vars.inq_active, in btm_clr_inq_db()
1183 if ((p_inq->inq_active & BTM_PERIODIC_INQUIRY_ACTIVE) || !p_db) in btm_inq_find_bdaddr()
1358 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state, in btm_event_filter_complete()
1403 p_inq->inq_active = BTM_INQUIRY_INACTIVE; in btm_event_filter_complete()
1467 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state, in btm_initiate_inquiry()
1472 if (p_inq->inq_active & BTM_SSP_INQUIRY_ACTIVE) { in btm_initiate_inquiry()
1484 lap = (p_inq->inq_active & BTM_LIMITED_INQUIRY_ACTIVE) ? &limited_inq_lap in btm_initiate_inquiry()
1487 if (p_inq->inq_active & BTM_PERIODIC_INQUIRY_ACTIVE) { in btm_initiate_inquiry()
1539 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state, in btm_process_inq_results()
1543 if (!(p_inq->inq_active & BTM_BR_INQ_ACTIVE_MASK)) return; in btm_process_inq_results()
1687 if (!(p_inq->inq_active & BTM_PERIODIC_INQUIRY_ACTIVE) && in btm_process_inq_results()
1786 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state, in btm_process_inq_complete()
1791 if (p_inq->inq_active) { in btm_process_inq_complete()
1797 if (!(p_inq->inq_active & BTM_PERIODIC_INQUIRY_ACTIVE) && in btm_process_inq_complete()
1814 p_inq->inq_active = BTM_INQUIRY_INACTIVE; in btm_process_inq_complete()
1832 btm_cb.btm_inq_vars.inq_active, btm_cb.btm_inq_vars.state, in btm_process_inq_complete()