Lines Matching defs:sw
46 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role()
77 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role()
135 struct usb_role_switch *sw; in usb_role_switch_get() local
158 struct usb_role_switch *sw; in fwnode_usb_role_switch_get() local
177 void usb_role_switch_put(struct usb_role_switch *sw) in usb_role_switch_put()
197 struct usb_role_switch *sw = NULL; in usb_role_switch_find_by_fwnode() local
216 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible() local
242 struct usb_role_switch *sw = to_role_switch(dev); in role_show() local
251 struct usb_role_switch *sw = to_role_switch(dev); in role_store() local
300 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release() local
330 struct usb_role_switch *sw; in usb_role_switch_register() local
378 void usb_role_switch_unregister(struct usb_role_switch *sw) in usb_role_switch_unregister()
392 void usb_role_switch_set_drvdata(struct usb_role_switch *sw, void *data) in usb_role_switch_set_drvdata()
402 void *usb_role_switch_get_drvdata(struct usb_role_switch *sw) in usb_role_switch_get_drvdata()