Home
last modified time | relevance | path

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

12

/linux/drivers/usb/cdns3/
A Dcore.c90 cdns->role = USB_ROLE_NONE; in cdns_core_init_role()
174 ret = cdns_role_start(cdns, USB_ROLE_NONE); in cdns_core_init_role()
213 enum usb_role role = USB_ROLE_NONE; in cdns_hw_role_state_machine()
237 case USB_ROLE_NONE: in cdns_hw_role_state_machine()
249 role = USB_ROLE_NONE; in cdns_hw_role_state_machine()
253 role = USB_ROLE_NONE; in cdns_hw_role_state_machine()
288 cdns->roles[USB_ROLE_NONE] = rdrv; in cdns_idle_init()
369 case USB_ROLE_NONE: in cdns_role_set()
379 case USB_ROLE_NONE: in cdns_role_set()
/linux/drivers/usb/musb/
A 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()
288 new_role = USB_ROLE_NONE; in mtk_musb_set_mode()
499 glue->role = USB_ROLE_NONE; in mtk_musb_probe()
A Djz4740.c85 case USB_ROLE_NONE: in jz4740_musb_role_switch_set()
/linux/include/linux/usb/
A Drole.h11 USB_ROLE_NONE, enumerator
78 return USB_ROLE_NONE; in usb_role_switch_get_role()
/linux/drivers/usb/roles/
A 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()
A Dclass.c75 return USB_ROLE_NONE; in usb_role_switch_get_role()
212 [USB_ROLE_NONE] = "none",
/linux/drivers/usb/dwc2/
A Ddrd.c86 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
134 role == USB_ROLE_NONE ? "No" : in dwc2_drd_role_sw_set()
/linux/drivers/usb/typec/
A Dhd3ss3220.c68 attached_state = USB_ROLE_NONE; in hd3ss3220_get_attached_state()
107 if (role_state == USB_ROLE_NONE) in hd3ss3220_set_role()
A 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()
A Dstusb160x.c331 enum usb_role usb_role = USB_ROLE_NONE; in stusb160x_set_data_role()
/linux/drivers/usb/mtu3/
A Dmtu3_dr.c140 if (desired_role == USB_ROLE_NONE) { in ssusb_mode_sw_work()
169 case USB_ROLE_NONE: in ssusb_mode_sw_work()
/linux/drivers/usb/typec/mux/
A Dintel_pmc_mux.c398 if (port->role == role || port->role == USB_ROLE_NONE) in pmc_usb_connect()
425 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set()
474 if (role == USB_ROLE_NONE) in pmc_usb_set_role()
/linux/drivers/usb/typec/ucsi/
A Ducsi.c700 enum usb_role u_role = USB_ROLE_NONE; in ucsi_partner_change()
721 u_role = USB_ROLE_NONE; in ucsi_partner_change()
1022 enum usb_role u_role = USB_ROLE_NONE; in ucsi_register_port()
1144 u_role = USB_ROLE_NONE; in ucsi_register_port()
/linux/Documentation/devicetree/bindings/usb/
A Dusb-drd.yaml59 mode of controller while usb role is USB_ROLE_NONE.
/linux/drivers/misc/
A Dhisi_hikey_usb.c105 case USB_ROLE_NONE: in relay_set_role_switch()
/linux/drivers/usb/chipidea/
A Dci.h301 return USB_ROLE_NONE; in ci_role_to_usb_role()
A Dcore.c631 if (ci->wq && role != USB_ROLE_NONE) in ci_usb_role_switch_set()
/linux/drivers/usb/common/
A Dusb-conn-gpio.c84 role = USB_ROLE_NONE; in usb_conn_detect_cable()
/linux/drivers/extcon/
A Dextcon-axp288.c192 role = USB_ROLE_NONE; in axp288_usb_role_work()
/linux/drivers/usb/gadget/udc/
A Drenesas_usb3.c707 usb3->connection_state != USB_ROLE_NONE) { in usb3_mode_config()
2379 case USB_ROLE_NONE: in handle_ext_role_switch_states()
2380 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states()
2386 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2400 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
/linux/drivers/usb/typec/tipd/
A Dcore.c223 role_val = USB_ROLE_NONE; in tps6598x_set_data_role()
/linux/drivers/usb/dwc3/
A Ddwc3-meson-g12a.c527 if (role == USB_ROLE_NONE) in dwc3_meson_g12a_role_set()
/linux/drivers/platform/chrome/
A Dcros_ec_typec.c213 usb_role_switch_set_role(port->role_sw, USB_ROLE_NONE); in cros_typec_usb_disconnect_state()
/linux/drivers/usb/typec/tcpm/
A Dtcpm.c1049 usb_role = USB_ROLE_NONE; in tcpm_set_roles()
1058 usb_role = USB_ROLE_NONE; in tcpm_set_roles()
3617 tcpm_mux_set(port, TYPEC_STATE_SAFE, USB_ROLE_NONE, in tcpm_src_attach()
3676 tcpm_mux_set(port, TYPEC_STATE_SAFE, USB_ROLE_NONE, in tcpm_reset_port()
/linux/drivers/phy/tegra/
A Dxusb.c581 [USB_ROLE_NONE] = "none",

Completed in 66 milliseconds

12