Home
last modified time | relevance | path

Searched refs:desired_role (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/mtu3/
A Dmtu3_dr.c135 enum usb_role desired_role = otg_sx->desired_role; in ssusb_mode_sw_work() local
140 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()
A Dmtu3.h215 enum usb_role desired_role; member

Completed in 6 milliseconds