Searched refs:connection_state (Results 1 – 3 of 3) sorted by relevance
2088 static inline bool is_sync_target_state(enum drbd_conns connection_state) in is_sync_target_state() argument2090 return connection_state == C_SYNC_TARGET || in is_sync_target_state()2091 connection_state == C_PAUSED_SYNC_T; in is_sync_target_state()2094 static inline bool is_sync_source_state(enum drbd_conns connection_state) in is_sync_source_state() argument2096 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()2097 connection_state == C_PAUSED_SYNC_S; in is_sync_source_state()2100 static inline bool is_sync_state(enum drbd_conns connection_state) in is_sync_state() argument2102 return is_sync_source_state(connection_state) || in is_sync_state()2103 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()2364 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states()2370 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()2371 usb3->connection_state = USB_ROLE_DEVICE; in handle_ext_role_switch_states()2384 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()2388 usb3->connection_state = USB_ROLE_HOST; in handle_ext_role_switch_states()
623 u8 connection_state; member