Searched refs:role_sw_desc (Results 1 – 2 of 2) sorted by relevance
166 struct usb_role_switch_desc role_sw_desc = {0}; in dwc2_drd_init() local174 role_sw_desc.driver_data = hsotg; in dwc2_drd_init()175 role_sw_desc.fwnode = dev_fwnode(hsotg->dev); in dwc2_drd_init()176 role_sw_desc.set = dwc2_drd_role_sw_set; in dwc2_drd_init()177 role_sw_desc.allow_userspace_control = true; in dwc2_drd_init()179 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()