Lines Matching defs:sw
75 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role()
106 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role()
164 struct usb_role_switch *sw; in usb_role_switch_get() local
187 struct usb_role_switch *sw; in fwnode_usb_role_switch_get() local
206 void usb_role_switch_put(struct usb_role_switch *sw) in usb_role_switch_put()
226 struct usb_role_switch *sw = NULL; in usb_role_switch_find_by_fwnode() local
245 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible() local
271 struct usb_role_switch *sw = to_role_switch(dev); in role_show() local
280 struct usb_role_switch *sw = to_role_switch(dev); in role_store() local
329 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release() local
361 struct usb_role_switch *sw; in usb_role_switch_register() local
417 void usb_role_switch_unregister(struct usb_role_switch *sw) in usb_role_switch_unregister()
433 void usb_role_switch_set_drvdata(struct usb_role_switch *sw, void *data) in usb_role_switch_set_drvdata()
443 void *usb_role_switch_get_drvdata(struct usb_role_switch *sw) in usb_role_switch_get_drvdata()