Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/mtu3/
H A Dmtu3_dr.c347 struct usb_role_switch_desc role_sx_desc = { 0 }; in ssusb_role_sw_register() local
354 role_sx_desc.set = ssusb_role_sw_set; in ssusb_role_sw_register()
355 role_sx_desc.get = ssusb_role_sw_get; in ssusb_role_sw_register()
356 role_sx_desc.fwnode = dev_fwnode(ssusb->dev); in ssusb_role_sw_register()
357 role_sx_desc.driver_data = ssusb; in ssusb_role_sw_register()
358 otg_sx->role_sw = usb_role_switch_register(ssusb->dev, &role_sx_desc); in ssusb_role_sw_register()
/OK3568_Linux_fs/kernel/drivers/usb/musb/
H A Dmediatek.c184 struct usb_role_switch_desc role_sx_desc = { 0 }; in mtk_otg_switch_init() local
186 role_sx_desc.set = musb_usb_role_sx_set; in mtk_otg_switch_init()
187 role_sx_desc.get = musb_usb_role_sx_get; in mtk_otg_switch_init()
188 role_sx_desc.fwnode = dev_fwnode(glue->dev); in mtk_otg_switch_init()
189 role_sx_desc.driver_data = glue; in mtk_otg_switch_init()
190 glue->role_sw = usb_role_switch_register(glue->dev, &role_sx_desc); in mtk_otg_switch_init()
/OK3568_Linux_fs/kernel/drivers/phy/tegra/
H A Dxusb.c650 struct usb_role_switch_desc role_sx_desc = { in tegra_xusb_setup_usb_role_switch() local
668 &role_sx_desc); in tegra_xusb_setup_usb_role_switch()