Lines Matching refs:state
365 /* If we were running LE only scan, change discovery state. If
370 * discovery state.
381 hdev->discovery.state != DISCOVERY_RESOLVING)
823 /* Peripheral connection state and non connectable mode
829 /* Peripheral connection state and connectable mode bit 38
839 /* Central connection state and non connectable mode bit 18. */
843 /* Central connection state and connectable mode bit 35 and
1037 * hdev->random_addr is shared with scan state machine.
2534 * In case of failure advertising shall be restored to its original state and
2797 bt_dev_dbg(hdev, "interleave state %d", hdev->interleave_scan_state);
2876 if (hdev->discovery.state != DISCOVERY_STOPPED)
3011 /* Check first if we already have the right host state
3140 if (conn->state != BT_CONNECTED && conn->state != BT_CONFIG)
3585 /* In theory the state machine should not reach here unless
4624 * configured state. When the controller is marked as unconfigured,
5191 bt_dev_dbg(hdev, "state %u", hdev->discovery.state);
5193 if (d->state == DISCOVERY_FINDING || d->state == DISCOVERY_STOPPING) {
5224 if (d->state == DISCOVERY_RESOLVING || d->state == DISCOVERY_STOPPING) {
5397 switch (conn->state) {
5417 conn->state = BT_CLOSED;
5446 conn->state = BT_CLOSED;
5837 int old_state = hdev->discovery.state;
5958 /* Set state to BT_RUNNING so resume doesn't notify */
6062 /* Clear any event filters and restore scan state */
6314 * state.
6427 link->state != BT_CONNECTED) {