USB_ROLE_DEVICE 189 drivers/extcon/extcon-axp288.c role = USB_ROLE_DEVICE; USB_ROLE_DEVICE 41 drivers/usb/cdns3/core.c if (WARN_ON(role > USB_ROLE_DEVICE)) USB_ROLE_DEVICE 67 drivers/usb/cdns3/core.c if (WARN_ON(role > USB_ROLE_DEVICE)) USB_ROLE_DEVICE 175 drivers/usb/cdns3/core.c ret = cdns3_role_start(cdns, USB_ROLE_DEVICE); USB_ROLE_DEVICE 229 drivers/usb/cdns3/core.c role = USB_ROLE_DEVICE; USB_ROLE_DEVICE 235 drivers/usb/cdns3/core.c case USB_ROLE_DEVICE: /* from GADGET, we can only change to NONE*/ USB_ROLE_DEVICE 249 drivers/usb/cdns3/core.c role = USB_ROLE_DEVICE; USB_ROLE_DEVICE 406 drivers/usb/cdns3/core.c case USB_ROLE_DEVICE: USB_ROLE_DEVICE 83 drivers/usb/cdns3/core.h struct cdns3_role_driver *roles[USB_ROLE_DEVICE + 1]; USB_ROLE_DEVICE 2780 drivers/usb/cdns3/gadget.c cdns->roles[USB_ROLE_DEVICE] = rdrv; USB_ROLE_DEVICE 300 drivers/usb/chipidea/ci.h return USB_ROLE_DEVICE; USB_ROLE_DEVICE 629 drivers/usb/chipidea/core.c if (current_role == USB_ROLE_DEVICE) USB_ROLE_DEVICE 647 drivers/usb/chipidea/core.c if (role == USB_ROLE_DEVICE) USB_ROLE_DEVICE 78 drivers/usb/common/usb-conn-gpio.c role = USB_ROLE_DEVICE; USB_ROLE_DEVICE 346 drivers/usb/dwc3/dwc3-meson-g12a.c USB_ROLE_HOST : USB_ROLE_DEVICE; USB_ROLE_DEVICE 686 drivers/usb/gadget/udc/renesas_usb3.c usb3->role = host ? USB_ROLE_HOST : USB_ROLE_DEVICE; USB_ROLE_DEVICE 2349 drivers/usb/gadget/udc/renesas_usb3.c cur_role = usb3_is_host(usb3) ? USB_ROLE_HOST : USB_ROLE_DEVICE; USB_ROLE_DEVICE 2369 drivers/usb/gadget/udc/renesas_usb3.c case USB_ROLE_DEVICE: USB_ROLE_DEVICE 2371 drivers/usb/gadget/udc/renesas_usb3.c usb3->connection_state = USB_ROLE_DEVICE; USB_ROLE_DEVICE 2393 drivers/usb/gadget/udc/renesas_usb3.c } else if (cur_role == USB_ROLE_DEVICE) { USB_ROLE_DEVICE 2414 drivers/usb/gadget/udc/renesas_usb3.c if (cur_role == USB_ROLE_HOST && role == USB_ROLE_DEVICE) { USB_ROLE_DEVICE 2417 drivers/usb/gadget/udc/renesas_usb3.c } else if (cur_role == USB_ROLE_DEVICE && role == USB_ROLE_HOST) { USB_ROLE_DEVICE 342 drivers/usb/mtu3/mtu3_dr.c role = ssusb->is_host ? USB_ROLE_HOST : USB_ROLE_DEVICE; USB_ROLE_DEVICE 193 drivers/usb/roles/class.c [USB_ROLE_DEVICE] = "device", USB_ROLE_DEVICE 93 drivers/usb/roles/intel-xhci-usb-role-switch.c case USB_ROLE_DEVICE: USB_ROLE_DEVICE 142 drivers/usb/roles/intel-xhci-usb-role-switch.c role = USB_ROLE_DEVICE; USB_ROLE_DEVICE 803 drivers/usb/typec/tcpm/tcpm.c usb_role = USB_ROLE_DEVICE;