Lines Matching defs:sw
44 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role()
72 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role()
130 struct usb_role_switch *sw; in usb_role_switch_get() local
153 struct usb_role_switch *sw; in fwnode_usb_role_switch_get() local
172 void usb_role_switch_put(struct usb_role_switch *sw) in usb_role_switch_put()
208 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible() local
234 struct usb_role_switch *sw = to_role_switch(dev); in role_show() local
243 struct usb_role_switch *sw = to_role_switch(dev); in role_store() local
292 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release() local
322 struct usb_role_switch *sw; in usb_role_switch_register() local
367 void usb_role_switch_unregister(struct usb_role_switch *sw) in usb_role_switch_unregister()
379 void usb_role_switch_set_drvdata(struct usb_role_switch *sw, void *data) in usb_role_switch_set_drvdata()
389 void *usb_role_switch_get_drvdata(struct usb_role_switch *sw) in usb_role_switch_get_drvdata()