Home
last modified time | relevance | path

Searched refs:usb_role_switch_get_drvdata (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/include/linux/usb/
Drole.h67 void *usb_role_switch_get_drvdata(struct usb_role_switch *sw);
113 static inline void *usb_role_switch_get_drvdata(struct usb_role_switch *sw) in usb_role_switch_get_drvdata() function
/kernel/linux/linux-5.10/drivers/usb/roles/
Dintel-xhci-usb-role-switch.c58 struct intel_xhci_usb_data *data = usb_role_switch_get_drvdata(sw); in intel_xhci_usb_set_role()
133 struct intel_xhci_usb_data *data = usb_role_switch_get_drvdata(sw); in intel_xhci_usb_get_role()
Dclass.c376 void *usb_role_switch_get_drvdata(struct usb_role_switch *sw) in usb_role_switch_get_drvdata() function
380 EXPORT_SYMBOL_GPL(usb_role_switch_get_drvdata);
/kernel/linux/linux-5.10/drivers/usb/mtu3/
Dmtu3_dr.c325 struct ssusb_mtk *ssusb = usb_role_switch_get_drvdata(sw); in ssusb_role_sw_set()
339 struct ssusb_mtk *ssusb = usb_role_switch_get_drvdata(sw); in ssusb_role_sw_get()
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Ddrd.c74 struct dwc2_hsotg *hsotg = usb_role_switch_get_drvdata(sw); in dwc2_drd_role_sw_set()
/kernel/linux/linux-5.10/drivers/usb/dwc3/
Ddrd.c484 struct dwc3 *dwc = usb_role_switch_get_drvdata(sw); in dwc3_usb_role_switch_set()
508 struct dwc3 *dwc = usb_role_switch_get_drvdata(sw); in dwc3_usb_role_switch_get()
Ddwc3-meson-g12a.c524 struct dwc3_meson_g12a *priv = usb_role_switch_get_drvdata(sw); in dwc3_meson_g12a_role_set()
544 struct dwc3_meson_g12a *priv = usb_role_switch_get_drvdata(sw); in dwc3_meson_g12a_role_get()
/kernel/linux/linux-5.10/drivers/misc/
Dhisi_hikey_usb.c136 struct hisi_hikey_usb *hisi_hikey_usb = usb_role_switch_get_drvdata(sw); in hub_usb_role_switch_set()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dcore.c324 struct cdns3 *cdns = usb_role_switch_get_drvdata(sw); in cdns3_role_get()
340 struct cdns3 *cdns = usb_role_switch_get_drvdata(sw); in cdns3_role_set()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmediatek.c172 return mtk_otg_switch_set(usb_role_switch_get_drvdata(sw), role); in musb_usb_role_sx_set()
177 struct mtk_glue *glue = usb_role_switch_get_drvdata(sw); in musb_usb_role_sx_get()
Djz4740.c81 struct jz4740_glue *glue = usb_role_switch_get_drvdata(sw); in jz4740_musb_role_switch_set()
/kernel/linux/linux-5.10/drivers/usb/chipidea/
Dcore.c589 struct ci_hdrc *ci = usb_role_switch_get_drvdata(sw); in ci_usb_role_switch_get()
603 struct ci_hdrc *ci = usb_role_switch_get_drvdata(sw); in ci_usb_role_switch_set()
/kernel/linux/linux-5.10/drivers/usb/typec/mux/
Dintel_pmc_mux.c456 struct pmc_usb_port *port = usb_role_switch_get_drvdata(sw); in pmc_usb_set_role()
/kernel/linux/linux-5.10/drivers/phy/tegra/
Dxusb.c612 struct tegra_xusb_port *port = usb_role_switch_get_drvdata(sw); in tegra_xusb_role_sw_set()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Drenesas_usb3.c2361 struct renesas_usb3 *usb3 = usb_role_switch_get_drvdata(sw); in renesas_usb3_role_switch_get()
2445 struct renesas_usb3 *usb3 = usb_role_switch_get_drvdata(sw); in renesas_usb3_role_switch_set()