Searched refs:USB_ROLE_DEVICE (Results 1 – 17 of 17) sorted by relevance
93 if ((role == USB_ROLE_DEVICE && hsotg->dr_mode == USB_DR_MODE_HOST) || in dwc2_drd_role_sw_set()127 role = USB_ROLE_DEVICE; in dwc2_drd_role_sw_set()141 } else if (role == USB_ROLE_DEVICE) { in dwc2_drd_role_sw_set()230 role = USB_ROLE_DEVICE; in dwc2_drd_resume()236 else if (role == USB_ROLE_DEVICE) in dwc2_drd_resume()
373 if (appledwc->state == DWC3_APPLE_DEVICE && role == USB_ROLE_DEVICE) in dwc3_usb_role_switch_set()391 case USB_ROLE_DEVICE: in dwc3_usb_role_switch_set()409 return USB_ROLE_DEVICE; in dwc3_usb_role_switch_get()
541 USB_ROLE_HOST : USB_ROLE_DEVICE; in dwc3_meson_g12a_role_get()
13 USB_ROLE_DEVICE, enumerator
88 role = USB_ROLE_DEVICE; in usb_conn_detect_cable()151 val->intval = info->last_role == USB_ROLE_DEVICE; in usb_charger_get_property()
313 usb_role = USB_ROLE_DEVICE; in tusb320_typec_irq_handler()340 usb_role = USB_ROLE_DEVICE; in tusb320_typec_irq_handler()
115 usb_role = USB_ROLE_DEVICE; in ptn5150_check_state()
332 role = USB_ROLE_DEVICE; in cht_wc_extcon_pwrsrc_event()
261 [USB_ROLE_DEVICE] = "device",
590 [USB_ROLE_DEVICE] = "device",596 case USB_ROLE_DEVICE: in to_usb_phy_event()735 role = USB_ROLE_DEVICE; in tegra_xusb_parse_usb_role_default_mode()
858 } else if (submode == USB_ROLE_DEVICE) { in tegra186_utmi_phy_set_mode()
1931 } else if (submode == USB_ROLE_DEVICE) { in tegra210_usb2_phy_set_mode()
201 usb_role = USB_ROLE_DEVICE; in rt1719_set_data_role()
504 return anx7411_set_usb_role(ctx, USB_ROLE_DEVICE); in anx7411_data_role_detect()
628 cable->connected = (role == USB_ROLE_DEVICE); in ci_usb_role_switch_set()
2091 cdns->roles[USB_ROLE_DEVICE] = rdrv; in cdnsp_gadget_init()
718 USB_ROLE_DEVICE); in tegra_xudc_device_mode_on()861 USB_ROLE_DEVICE); in tegra_xudc_plc_reset_work()