Home
last modified time | relevance | path

Searched refs:role_sx_desc (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/usb/mtu3/
Dmtu3_dr.c279 struct usb_role_switch_desc role_sx_desc = { 0 }; in ssusb_role_sw_register() local
293 role_sx_desc.set = ssusb_role_sw_set; in ssusb_role_sw_register()
294 role_sx_desc.get = ssusb_role_sw_get; in ssusb_role_sw_register()
295 role_sx_desc.fwnode = dev_fwnode(dev); in ssusb_role_sw_register()
296 role_sx_desc.driver_data = ssusb; in ssusb_role_sw_register()
297 otg_sx->role_sw = usb_role_switch_register(dev, &role_sx_desc); in ssusb_role_sw_register()
/linux-5.19.10/drivers/usb/musb/
Dmediatek.c131 struct usb_role_switch_desc role_sx_desc = { 0 }; in mtk_otg_switch_init() local
133 role_sx_desc.set = musb_usb_role_sx_set; in mtk_otg_switch_init()
134 role_sx_desc.get = musb_usb_role_sx_get; in mtk_otg_switch_init()
135 role_sx_desc.allow_userspace_control = true; in mtk_otg_switch_init()
136 role_sx_desc.fwnode = dev_fwnode(glue->dev); in mtk_otg_switch_init()
137 role_sx_desc.driver_data = glue; in mtk_otg_switch_init()
138 glue->role_sw = usb_role_switch_register(glue->dev, &role_sx_desc); in mtk_otg_switch_init()
/linux-5.19.10/drivers/phy/tegra/
Dxusb.c656 struct usb_role_switch_desc role_sx_desc = { in tegra_xusb_setup_usb_role_switch() local
674 &role_sx_desc); in tegra_xusb_setup_usb_role_switch()