Searched refs:USB_ROLE_DEVICE (Results 1 – 14 of 14) sorted by relevance
41 if (WARN_ON(role > USB_ROLE_DEVICE)) in cdns3_role_start()67 if (WARN_ON(role > USB_ROLE_DEVICE)) in cdns3_role_stop()175 ret = cdns3_role_start(cdns, USB_ROLE_DEVICE); in cdns3_core_init_role()229 role = USB_ROLE_DEVICE; in cdsn3_hw_role_state_machine()235 case USB_ROLE_DEVICE: /* from GADGET, we can only change to NONE*/ in cdsn3_hw_role_state_machine()249 role = USB_ROLE_DEVICE; in cdsn3_hw_role_state_machine()406 case USB_ROLE_DEVICE: in cdns3_role_set()
83 struct cdns3_role_driver *roles[USB_ROLE_DEVICE + 1];
2773 cdns->roles[USB_ROLE_DEVICE] = rdrv; in cdns3_gadget_init()
93 case USB_ROLE_DEVICE: in intel_xhci_usb_set_role()142 role = USB_ROLE_DEVICE; in intel_xhci_usb_get_role()
193 [USB_ROLE_DEVICE] = "device",
13 USB_ROLE_DEVICE, enumerator
78 role = USB_ROLE_DEVICE; in usb_conn_detect_cable()
300 return USB_ROLE_DEVICE; in ci_role_to_usb_role()
629 if (current_role == USB_ROLE_DEVICE) in ci_usb_role_switch_set()647 if (role == USB_ROLE_DEVICE) in ci_usb_role_switch_set()
686 usb3->role = host ? USB_ROLE_HOST : USB_ROLE_DEVICE; in usb3_set_mode_by_role_sw()2349 cur_role = usb3_is_host(usb3) ? USB_ROLE_HOST : USB_ROLE_DEVICE; in renesas_usb3_role_switch_get()2369 case USB_ROLE_DEVICE: in handle_ext_role_switch_states()2371 usb3->connection_state = USB_ROLE_DEVICE; in handle_ext_role_switch_states()2393 } else if (cur_role == USB_ROLE_DEVICE) { in handle_ext_role_switch_states()2414 if (cur_role == USB_ROLE_HOST && role == USB_ROLE_DEVICE) { in handle_role_switch_states()2417 } else if (cur_role == USB_ROLE_DEVICE && role == USB_ROLE_HOST) { in handle_role_switch_states()
342 role = ssusb->is_host ? USB_ROLE_HOST : USB_ROLE_DEVICE; in ssusb_role_sw_get()
189 role = USB_ROLE_DEVICE; in axp288_usb_role_work()
346 USB_ROLE_HOST : USB_ROLE_DEVICE; in dwc3_meson_g12a_role_get()
803 usb_role = USB_ROLE_DEVICE; in tcpm_set_roles()