Searched refs:desired_role (Results 1 – 2 of 2) sorted by relevance
135 enum usb_role desired_role = otg_sx->desired_role; in ssusb_mode_sw_work() local140 if (desired_role == USB_ROLE_NONE) { in ssusb_mode_sw_work()142 desired_role = USB_ROLE_HOST; in ssusb_mode_sw_work()144 desired_role = USB_ROLE_DEVICE; in ssusb_mode_sw_work()147 if (current_role == desired_role) in ssusb_mode_sw_work()150 dev_dbg(ssusb->dev, "set role : %s\n", usb_role_string(desired_role)); in ssusb_mode_sw_work()151 mtu3_dbg_trace(ssusb->dev, "set role : %s", usb_role_string(desired_role)); in ssusb_mode_sw_work()154 switch (desired_role) { in ssusb_mode_sw_work()183 otg_sx->desired_role = role; in ssusb_set_mode()
215 enum usb_role desired_role; member
Completed in 6 milliseconds