Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/block/drbd/
Ddrbd_int.h2050 static inline bool is_sync_target_state(enum drbd_conns connection_state) in is_sync_target_state() argument
2052 return connection_state == C_SYNC_TARGET || in is_sync_target_state()
2053 connection_state == C_PAUSED_SYNC_T; in is_sync_target_state()
2056 static inline bool is_sync_source_state(enum drbd_conns connection_state) in is_sync_source_state() argument
2058 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()
2059 connection_state == C_PAUSED_SYNC_S; in is_sync_source_state()
2062 static inline bool is_sync_state(enum drbd_conns connection_state) in is_sync_state() argument
2064 return is_sync_source_state(connection_state) || in is_sync_state()
2065 is_sync_target_state(connection_state); in is_sync_state()
/Linux-v6.1/drivers/usb/gadget/udc/
Drenesas_usb3.c362 enum usb_role connection_state; member
724 usb3->connection_state != USB_ROLE_NONE) { in usb3_mode_config()
744 !usb3->forced_b_device) || usb3->connection_state == USB_ROLE_HOST) in usb3_check_id()
2408 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states()
2416 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2417 usb3->connection_state = USB_ROLE_DEVICE; in handle_ext_role_switch_states()
2430 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2434 usb3->connection_state = USB_ROLE_HOST; in handle_ext_role_switch_states()
/Linux-v6.1/include/linux/
Dhyperv.h694 u8 connection_state; member