Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/roles/
H A Dclass.c37 #define to_role_switch(d) container_of(d, struct usb_role_switch, dev) macro
107 return dev ? to_role_switch(dev) : ERR_PTR(-EPROBE_DEFER); in usb_role_switch_match()
123 return dev ? to_role_switch(dev) : ERR_PTR(-EPROBE_DEFER); in usb_role_switch_is_parent()
204 sw = to_role_switch(dev); in usb_role_switch_find_by_fwnode()
216 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible()
242 struct usb_role_switch *sw = to_role_switch(dev); in role_show()
251 struct usb_role_switch *sw = to_role_switch(dev); in role_store()
300 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release()