Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/udc/
H A Drenesas_usb3.c516 static bool usb3_is_host(struct renesas_usb3 *usb3) in usb3_is_host() function
2443 cur_role = usb3_is_host(usb3) ? USB_ROLE_HOST : USB_ROLE_DEVICE; in renesas_usb3_role_switch_get()
2572 if (new_mode_is_host == usb3_is_host(usb3)) in role_store()
2588 return sprintf(buf, "%s\n", usb3_is_host(usb3) ? "host" : "peripheral"); in role_show()