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()
128 struct usb_role_switch *sw; in usb_role_switch_get() local
151 struct usb_role_switch *sw; in fwnode_usb_role_switch_get() local
170 void usb_role_switch_put(struct usb_role_switch *sw) in usb_role_switch_put()
206 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible() local
232 struct usb_role_switch *sw = to_role_switch(dev); in role_show() local
241 struct usb_role_switch *sw = to_role_switch(dev); in role_store() local
290 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release() local
320 struct usb_role_switch *sw; in usb_role_switch_register() local
365 void usb_role_switch_unregister(struct usb_role_switch *sw) in usb_role_switch_unregister()
377 void usb_role_switch_set_drvdata(struct usb_role_switch *sw, void *data) in usb_role_switch_set_drvdata()
387 void *usb_role_switch_get_drvdata(struct usb_role_switch *sw) in usb_role_switch_get_drvdata()