Home
last modified time | relevance | path

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

/linux/drivers/block/drbd/
H A Ddrbd_int.h1952 static inline bool is_sync_target_state(enum drbd_conns connection_state) in is_sync_target_state() argument
1954 return connection_state == C_SYNC_TARGET || in is_sync_target_state()
1955 connection_state == C_PAUSED_SYNC_T; in is_sync_target_state()
1958 static inline bool is_sync_source_state(enum drbd_conns connection_state) in is_sync_source_state() argument
1960 return connection_state == C_SYNC_SOURCE || in is_sync_source_state()
1961 connection_state == C_PAUSED_SYNC_S; in is_sync_source_state()
1964 static inline bool is_sync_state(enum drbd_conns connection_state) in is_sync_state() argument
1966 return is_sync_source_state(connection_state) || in is_sync_state()
1967 is_sync_target_state(connection_state); in is_sync_state()
/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()
2457 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states()
2473 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2474 usb3->connection_state = USB_ROLE_DEVICE; in handle_ext_role_switch_states()
2490 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2497 usb3->connection_state = USB_ROLE_HOST; in handle_ext_role_switch_states()
/linux/include/linux/
H A Dhyperv.h675 u8 connection_state; member