Home
last modified time | relevance | path

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

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c267 struct usb_role_switch_desc switch_desc; member
618 priv->switch_desc.usb2_port = dwc3_meson_g12_find_child(dev, in dwc3_meson_g12a_otg_init()
620 priv->switch_desc.udc = dwc3_meson_g12_find_child(dev, "snps,dwc2"); in dwc3_meson_g12a_otg_init()
621 priv->switch_desc.allow_userspace_control = true; in dwc3_meson_g12a_otg_init()
622 priv->switch_desc.set = dwc3_meson_g12a_role_set; in dwc3_meson_g12a_otg_init()
623 priv->switch_desc.get = dwc3_meson_g12a_role_get; in dwc3_meson_g12a_otg_init()
624 priv->switch_desc.driver_data = priv; in dwc3_meson_g12a_otg_init()
626 priv->role_switch = usb_role_switch_register(dev, &priv->switch_desc); in dwc3_meson_g12a_otg_init()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c267 struct usb_role_switch_desc switch_desc; member
618 priv->switch_desc.usb2_port = dwc3_meson_g12_find_child(dev, in dwc3_meson_g12a_otg_init()
620 priv->switch_desc.udc = dwc3_meson_g12_find_child(dev, "snps,dwc2"); in dwc3_meson_g12a_otg_init()
621 priv->switch_desc.allow_userspace_control = true; in dwc3_meson_g12a_otg_init()
622 priv->switch_desc.set = dwc3_meson_g12a_role_set; in dwc3_meson_g12a_otg_init()
623 priv->switch_desc.get = dwc3_meson_g12a_role_get; in dwc3_meson_g12a_otg_init()
624 priv->switch_desc.driver_data = priv; in dwc3_meson_g12a_otg_init()
626 priv->role_switch = usb_role_switch_register(dev, &priv->switch_desc); in dwc3_meson_g12a_otg_init()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c267 struct usb_role_switch_desc switch_desc; member
618 priv->switch_desc.usb2_port = dwc3_meson_g12_find_child(dev, in dwc3_meson_g12a_otg_init()
620 priv->switch_desc.udc = dwc3_meson_g12_find_child(dev, "snps,dwc2"); in dwc3_meson_g12a_otg_init()
621 priv->switch_desc.allow_userspace_control = true; in dwc3_meson_g12a_otg_init()
622 priv->switch_desc.set = dwc3_meson_g12a_role_set; in dwc3_meson_g12a_otg_init()
623 priv->switch_desc.get = dwc3_meson_g12a_role_get; in dwc3_meson_g12a_otg_init()
624 priv->switch_desc.driver_data = priv; in dwc3_meson_g12a_otg_init()
626 priv->role_switch = usb_role_switch_register(dev, &priv->switch_desc); in dwc3_meson_g12a_otg_init()