Lines Matching refs:scan_mode
103 uint8_t scan_mode; /* scan mode: SCAN_DISABLED, SCAN_PAGE,
563 if (adapter->scan_mode == SCAN_DISABLED)
569 if (!(adapter->scan_mode & SCAN_INQUIRY))
778 if (adapter->scan_mode & SCAN_INQUIRY)
1327 value = adapter->scan_mode & SCAN_INQUIRY ? TRUE : FALSE;
2427 uint8_t scan_mode;
2440 scan_mode = SCAN_PAGE;
2468 scan_mode = SCAN_PAGE | SCAN_INQUIRY;
2472 if (scan_mode == SCAN_PAGE)
2685 if (adapter->scan_mode == (SCAN_PAGE | SCAN_INQUIRY)) {
2692 if ((adapter->scan_mode & SCAN_PAGE) && adapter->pairable == TRUE) {
2704 adapter->scan_mode = SCAN_DISABLED;
3134 void adapter_mode_changed(struct btd_adapter *adapter, uint8_t scan_mode)
3139 if (adapter->scan_mode == scan_mode)
3144 switch (scan_mode) {
3177 if ((adapter->scan_mode & SCAN_PAGE) != (scan_mode & SCAN_PAGE))
3192 adapter->scan_mode = scan_mode;