Lines Matching defs:sw
43 int usb_role_switch_set_role(struct usb_role_switch *sw, enum usb_role role) in usb_role_switch_set_role()
71 enum usb_role usb_role_switch_get_role(struct usb_role_switch *sw) in usb_role_switch_get_role()
129 struct usb_role_switch *sw; in usb_role_switch_get() local
152 struct usb_role_switch *sw; in fwnode_usb_role_switch_get() local
171 void usb_role_switch_put(struct usb_role_switch *sw) in usb_role_switch_put()
191 struct usb_role_switch *sw = NULL; in usb_role_switch_find_by_fwnode() local
210 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_is_visible() local
227 struct usb_role_switch *sw = to_role_switch(dev); in role_show() local
236 struct usb_role_switch *sw = to_role_switch(dev); in role_store() local
286 struct usb_role_switch *sw = to_role_switch(dev); in usb_role_switch_release() local
316 struct usb_role_switch *sw; in usb_role_switch_register() local
362 void usb_role_switch_unregister(struct usb_role_switch *sw) in usb_role_switch_unregister()
374 void usb_role_switch_set_drvdata(struct usb_role_switch *sw, void *data) in usb_role_switch_set_drvdata()
384 void *usb_role_switch_get_drvdata(struct usb_role_switch *sw) in usb_role_switch_get_drvdata()