Home
last modified time | relevance | path

Searched refs:connection_state (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/block/drbd/
Ddrbd_int.h2088 static inline bool is_sync_target_state(enum drbd_conns connection_state) in is_sync_target_state() argument
2090 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() argument
2096 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() argument
2102 return is_sync_source_state(connection_state) || in is_sync_state()
2103 is_sync_target_state(connection_state); in is_sync_state()
/Linux-v5.4/drivers/usb/gadget/udc/
Drenesas_usb3.c356 enum usb_role connection_state; member
707 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()
/Linux-v5.4/include/linux/
Dhyperv.h623 u8 connection_state; member