Searched refs:desired_role (Results 1 – 2 of 2) sorted by relevance
133 enum usb_role desired_role = otg_sx->desired_role; in ssusb_mode_sw_work() local138 if (desired_role == USB_ROLE_NONE) { in ssusb_mode_sw_work()140 desired_role = USB_ROLE_HOST; in ssusb_mode_sw_work()142 desired_role = USB_ROLE_DEVICE; in ssusb_mode_sw_work()145 if (current_role == desired_role) in ssusb_mode_sw_work()148 dev_dbg(ssusb->dev, "set role : %s\n", usb_role_string(desired_role)); in ssusb_mode_sw_work()149 mtu3_dbg_trace(ssusb->dev, "set role : %s", usb_role_string(desired_role)); in ssusb_mode_sw_work()152 switch (desired_role) { in ssusb_mode_sw_work()181 otg_sx->desired_role = role; in ssusb_set_mode()
216 enum usb_role desired_role; member