Home
last modified time | relevance | path

Searched refs:USB_ROLE_NONE (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.10/drivers/usb/cdns3/
Dcore.c92 cdns->role = USB_ROLE_NONE; in cdns3_core_init_role()
155 ret = cdns3_role_start(cdns, USB_ROLE_NONE); in cdns3_core_init_role()
194 enum usb_role role = USB_ROLE_NONE; in cdns3_hw_role_state_machine()
218 case USB_ROLE_NONE: in cdns3_hw_role_state_machine()
230 role = USB_ROLE_NONE; in cdns3_hw_role_state_machine()
234 role = USB_ROLE_NONE; in cdns3_hw_role_state_machine()
269 cdns->roles[USB_ROLE_NONE] = rdrv; in cdns3_idle_init()
350 case USB_ROLE_NONE: in cdns3_role_set()
360 case USB_ROLE_NONE: in cdns3_role_set()
/Linux-v5.10/include/linux/usb/
Drole.h11 USB_ROLE_NONE, enumerator
77 return USB_ROLE_NONE; in usb_role_switch_get_role()
/Linux-v5.10/drivers/usb/musb/
Dmediatek.c132 if (glue->role == USB_ROLE_NONE) in mtk_otg_switch_set()
145 if (glue->role == USB_ROLE_NONE) in mtk_otg_switch_set()
150 case USB_ROLE_NONE: in mtk_otg_switch_set()
152 new_role = USB_ROLE_NONE; in mtk_otg_switch_set()
155 if (glue->role != USB_ROLE_NONE) in mtk_otg_switch_set()
287 new_role = USB_ROLE_NONE; in mtk_musb_set_mode()
498 glue->role = USB_ROLE_NONE; in mtk_musb_probe()
Djz4740.c85 case USB_ROLE_NONE: in jz4740_musb_role_switch_set()
/Linux-v5.10/drivers/usb/dwc2/
Ddrd.c83 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
114 role == USB_ROLE_NONE ? "No" : in dwc2_drd_role_sw_set()
/Linux-v5.10/drivers/usb/roles/
Dintel-xhci-usb-role-switch.c85 case USB_ROLE_NONE: in intel_xhci_usb_set_role()
146 role = USB_ROLE_NONE; in intel_xhci_usb_get_role()
Dclass.c75 return USB_ROLE_NONE; in usb_role_switch_get_role()
210 [USB_ROLE_NONE] = "none",
/Linux-v5.10/drivers/usb/typec/
Dhd3ss3220.c68 attached_state = USB_ROLE_NONE; in hd3ss3220_get_attached_state()
107 if (role_state == USB_ROLE_NONE) in hd3ss3220_set_role()
Dqcom-pmic-typec.c88 role = USB_ROLE_NONE; in qcom_pmic_typec_check_connection()
236 usb_role_switch_set_role(qcom_usb->role_sw, USB_ROLE_NONE); in qcom_pmic_typec_remove()
Dtps6598x.c206 role_val = USB_ROLE_NONE; in tps6598x_set_data_role()
Dstusb160x.c331 enum usb_role usb_role = USB_ROLE_NONE; in stusb160x_set_data_role()
/Linux-v5.10/drivers/usb/typec/mux/
Dintel_pmc_mux.c374 if (port->role == role || port->role == USB_ROLE_NONE) in pmc_usb_connect()
401 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set()
450 if (role == USB_ROLE_NONE) in pmc_usb_set_role()
/Linux-v5.10/Documentation/devicetree/bindings/usb/
Dgeneric.txt40 role is USB_ROLE_NONE. Valid arguments are "host" and
/Linux-v5.10/drivers/misc/
Dhisi_hikey_usb.c109 case USB_ROLE_NONE: in relay_set_role_switch()
/Linux-v5.10/drivers/usb/chipidea/
Dci.h303 return USB_ROLE_NONE; in ci_role_to_usb_role()
Dcore.c617 if (ci->wq && role != USB_ROLE_NONE) in ci_usb_role_switch_set()
/Linux-v5.10/drivers/usb/common/
Dusb-conn-gpio.c84 role = USB_ROLE_NONE; in usb_conn_detect_cable()
/Linux-v5.10/drivers/extcon/
Dextcon-axp288.c191 role = USB_ROLE_NONE; in axp288_usb_role_work()
/Linux-v5.10/drivers/usb/gadget/udc/
Drenesas_usb3.c707 usb3->connection_state != USB_ROLE_NONE) { in usb3_mode_config()
2378 case USB_ROLE_NONE: in handle_ext_role_switch_states()
2379 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states()
2385 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2399 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
Dtegra-xudc.c735 phy_set_mode_ext(xudc->curr_utmi_phy, PHY_MODE_USB_OTG, USB_ROLE_NONE); in tegra_xudc_device_mode_off()
846 USB_ROLE_NONE); in tegra_xudc_plc_reset_work()
/Linux-v5.10/drivers/platform/chrome/
Dcros_ec_typec.c178 usb_role_switch_set_role(port->role_sw, USB_ROLE_NONE); in cros_typec_remove_partner()
/Linux-v5.10/drivers/usb/dwc3/
Ddwc3-meson-g12a.c527 if (role == USB_ROLE_NONE) in dwc3_meson_g12a_role_set()
/Linux-v5.10/drivers/phy/tegra/
Dxusb-tegra186.c380 } else if (submode == USB_ROLE_NONE) { in tegra186_utmi_phy_set_mode()
Dxusb.c575 [USB_ROLE_NONE] = "none",
/Linux-v5.10/drivers/usb/typec/tcpm/
Dtcpm.c856 usb_role = USB_ROLE_NONE; in tcpm_set_roles()
865 usb_role = USB_ROLE_NONE; in tcpm_set_roles()
2831 tcpm_mux_set(port, TYPEC_STATE_SAFE, USB_ROLE_NONE, in tcpm_src_attach()
2877 tcpm_mux_set(port, TYPEC_STATE_SAFE, USB_ROLE_NONE, in tcpm_reset_port()

12