Searched refs:role_sw_desc (Results 1 – 2 of 2) sorted by relevance
175 struct usb_role_switch_desc role_sw_desc = {0}; in dwc2_drd_init() local183 role_sw_desc.driver_data = hsotg; in dwc2_drd_init()184 role_sw_desc.fwnode = dev_fwnode(hsotg->dev); in dwc2_drd_init()185 role_sw_desc.set = dwc2_drd_role_sw_set; in dwc2_drd_init()186 role_sw_desc.allow_userspace_control = true; in dwc2_drd_init()188 role_sw = usb_role_switch_register(hsotg->dev, &role_sw_desc); in dwc2_drd_init()
107 struct usb_role_switch_desc role_sw_desc = { in jz4740_musb_init() local152 glue->role_sw = usb_role_switch_register(dev, &role_sw_desc); in jz4740_musb_init()