Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/drbd/
H A Ddrbd_int.h1989 static inline bool is_sync_target_state(enum drbd_conns connection_state) in is_sync_target_state() argument
1991 return connection_state == C_SYNC_TARGET || in is_sync_target_state()
1992 connection_state == C_PAUSED_SYNC_T; in is_sync_target_state()
1995 static inline bool is_sync_source_state(enum drbd_conns connection_state) in is_sync_source_state() argument
1997 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()
1998 connection_state == C_PAUSED_SYNC_S; in is_sync_source_state()
2001 static inline bool is_sync_state(enum drbd_conns connection_state) in is_sync_state() argument
2003 return is_sync_source_state(connection_state) || in is_sync_state()
2004 is_sync_target_state(connection_state); in is_sync_state()
/openbmc/linux/drivers/usb/gadget/udc/
H A Drenesas_usb3.c363 enum usb_role connection_state; member
765 usb3->connection_state != USB_ROLE_NONE) { in usb3_mode_config()
785 !usb3->forced_b_device) || usb3->connection_state == USB_ROLE_HOST) in usb3_check_id()
2458 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states()
2474 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2475 usb3->connection_state = USB_ROLE_DEVICE; in handle_ext_role_switch_states()
2491 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2498 usb3->connection_state = USB_ROLE_HOST; in handle_ext_role_switch_states()
/openbmc/linux/include/linux/
H A Dhyperv.h714 u8 connection_state; member