Searched refs:connection_state (Results 1 – 3 of 3) sorted by relevance
2056 static inline bool is_sync_target_state(enum drbd_conns connection_state) in is_sync_target_state() argument2058 return connection_state == C_SYNC_TARGET || in is_sync_target_state()2059 connection_state == C_PAUSED_SYNC_T; in is_sync_target_state()2062 static inline bool is_sync_source_state(enum drbd_conns connection_state) in is_sync_source_state() argument2064 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()2065 connection_state == C_PAUSED_SYNC_S; in is_sync_source_state()2068 static inline bool is_sync_state(enum drbd_conns connection_state) in is_sync_state() argument2070 return is_sync_source_state(connection_state) || in is_sync_state()2071 is_sync_target_state(connection_state); in is_sync_state()
356 enum usb_role connection_state; member707 usb3->connection_state != USB_ROLE_NONE) { in usb3_mode_config()727 !usb3->forced_b_device) || usb3->connection_state == USB_ROLE_HOST) in usb3_check_id()2380 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states()2386 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()2387 usb3->connection_state = USB_ROLE_DEVICE; in handle_ext_role_switch_states()2400 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()2404 usb3->connection_state = USB_ROLE_HOST; in handle_ext_role_switch_states()
690 u8 connection_state; member
Completed in 24 milliseconds