Lines Matching defs:sw
42 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role()
70 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role()
125 struct usb_role_switch *sw; in usb_role_switch_get() local
148 struct usb_role_switch *sw; in fwnode_usb_role_switch_get() local
167 void usb_role_switch_put(struct usb_role_switch *sw) in usb_role_switch_put()
203 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible() local
229 struct usb_role_switch *sw = to_role_switch(dev); in role_show() local
238 struct usb_role_switch *sw = to_role_switch(dev); in role_store() local
288 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release() local
318 struct usb_role_switch *sw; in usb_role_switch_register() local
363 void usb_role_switch_unregister(struct usb_role_switch *sw) in usb_role_switch_unregister()
375 void usb_role_switch_set_drvdata(struct usb_role_switch *sw, void *data) in usb_role_switch_set_drvdata()
385 void *usb_role_switch_get_drvdata(struct usb_role_switch *sw) in usb_role_switch_get_drvdata()