Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/block/drbd/
Ddrbd_int.h2052 static inline bool is_sync_target_state(enum drbd_conns connection_state) in is_sync_target_state() argument
2054 return connection_state == C_SYNC_TARGET || in is_sync_target_state()
2055 connection_state == C_PAUSED_SYNC_T; in is_sync_target_state()
2058 static inline bool is_sync_source_state(enum drbd_conns connection_state) in is_sync_source_state() argument
2060 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()
2061 connection_state == C_PAUSED_SYNC_S; in is_sync_source_state()
2064 static inline bool is_sync_state(enum drbd_conns connection_state) in is_sync_state() argument
2066 return is_sync_source_state(connection_state) || in is_sync_state()
2067 is_sync_target_state(connection_state); in is_sync_state()
/linux-5.19.10/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()
2380 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states()
2388 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2389 usb3->connection_state = USB_ROLE_DEVICE; in handle_ext_role_switch_states()
2402 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2406 usb3->connection_state = USB_ROLE_HOST; in handle_ext_role_switch_states()
/linux-5.19.10/include/linux/
Dhyperv.h694 u8 connection_state; member