Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/usb/cdns3/
H A Dcore.c91 cdns->role = USB_ROLE_NONE; in cdns_core_init_role()
175 ret = cdns_role_start(cdns, USB_ROLE_NONE); in cdns_core_init_role()
214 enum usb_role role = USB_ROLE_NONE; in cdns_hw_role_state_machine()
238 case USB_ROLE_NONE: in cdns_hw_role_state_machine()
250 role = USB_ROLE_NONE; in cdns_hw_role_state_machine()
254 role = USB_ROLE_NONE; in cdns_hw_role_state_machine()
289 cdns->roles[USB_ROLE_NONE] = rdrv; in cdns_idle_init()
370 case USB_ROLE_NONE: in cdns_role_set()
380 case USB_ROLE_NONE: in cdns_role_set()
/openbmc/linux/drivers/usb/dwc2/
H A Ddrd.c100 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
122 if (role == USB_ROLE_NONE) { in dwc2_drd_role_sw_set()
167 role == USB_ROLE_NONE ? "No" : in dwc2_drd_role_sw_set()
226 if (role == USB_ROLE_NONE) { in dwc2_drd_resume()
242 role == USB_ROLE_NONE ? "No" : in dwc2_drd_resume()
/openbmc/linux/drivers/usb/musb/
H A Dmediatek.c80 if (glue->role == USB_ROLE_NONE) in mtk_otg_switch_set()
93 if (glue->role == USB_ROLE_NONE) in mtk_otg_switch_set()
98 case USB_ROLE_NONE: in mtk_otg_switch_set()
100 new_role = USB_ROLE_NONE; in mtk_otg_switch_set()
103 if (glue->role != USB_ROLE_NONE) in mtk_otg_switch_set()
236 new_role = USB_ROLE_NONE; in mtk_musb_set_mode()
448 glue->role = USB_ROLE_NONE; in mtk_musb_probe()
H A Djz4740.c89 case USB_ROLE_NONE: in jz4740_musb_role_switch_set()
/openbmc/linux/include/linux/usb/
H A Drole.h11 USB_ROLE_NONE, enumerator
78 return USB_ROLE_NONE; in usb_role_switch_get_role()
/openbmc/linux/drivers/usb/roles/
H 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()
H A Dclass.c82 return USB_ROLE_NONE; in usb_role_switch_get_role()
225 [USB_ROLE_NONE] = "none",
/openbmc/linux/drivers/usb/typec/
H A Dhd3ss3220.c72 attached_state = USB_ROLE_NONE; in hd3ss3220_get_attached_state()
111 if (role_state == USB_ROLE_NONE) in hd3ss3220_set_role()
H A Dstusb160x.c331 enum usb_role usb_role = USB_ROLE_NONE; in stusb160x_set_data_role()
H A Drt1719.c201 enum usb_role usb_role = USB_ROLE_NONE; in rt1719_set_data_role()
/openbmc/linux/drivers/usb/mtu3/
H A Dmtu3_dr.c138 if (desired_role == USB_ROLE_NONE) { in ssusb_mode_sw_work()
167 case USB_ROLE_NONE: in ssusb_mode_sw_work()
/openbmc/linux/drivers/extcon/
H A Dextcon-ptn5150.c75 enum usb_role usb_role = USB_ROLE_NONE; in ptn5150_check_state()
150 USB_ROLE_NONE); in ptn5150_irq_work()
H A Dextcon-usbc-tusb320.c324 usb_role = USB_ROLE_NONE; in tusb320_typec_irq_handler()
350 usb_role = USB_ROLE_NONE; in tusb320_typec_irq_handler()
H A Dextcon-axp288.c192 role = USB_ROLE_NONE; in axp288_usb_role_work()
H A Dextcon-intel-cht-wc.c335 role = USB_ROLE_NONE; in cht_wc_extcon_pwrsrc_event()
/openbmc/linux/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c463 if (port->role == role || port->role == USB_ROLE_NONE) in pmc_usb_connect()
490 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set()
539 if (role == USB_ROLE_NONE) in pmc_usb_set_role()
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Dusb-drd.yaml60 mode of controller while usb role is USB_ROLE_NONE.
/openbmc/linux/drivers/misc/
H A Dhisi_hikey_usb.c105 case USB_ROLE_NONE: in relay_set_role_switch()
/openbmc/linux/drivers/usb/typec/ucsi/
H A Ducsi.c809 enum usb_role u_role = USB_ROLE_NONE; in ucsi_partner_change()
845 u_role = USB_ROLE_NONE; in ucsi_partner_change()
1197 enum usb_role u_role = USB_ROLE_NONE; in ucsi_register_port()
1352 u_role = USB_ROLE_NONE; in ucsi_register_port()
/openbmc/linux/drivers/usb/common/
H A Dusb-conn-gpio.c85 role = USB_ROLE_NONE; in usb_conn_detect_cable()
/openbmc/linux/drivers/usb/chipidea/
H A Dci.h325 return USB_ROLE_NONE; in ci_role_to_usb_role()
/openbmc/linux/drivers/phy/tegra/
H A Dxusb.c588 [USB_ROLE_NONE] = "none",
727 enum usb_role role = USB_ROLE_NONE; in tegra_xusb_parse_usb_role_default_mode()
735 if (role != USB_ROLE_NONE) { in tegra_xusb_parse_usb_role_default_mode()
/openbmc/linux/drivers/usb/gadget/udc/
H A Drenesas_usb3.c765 usb3->connection_state != USB_ROLE_NONE) { in usb3_mode_config()
2457 case USB_ROLE_NONE: in handle_ext_role_switch_states()
2458 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states()
2474 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2491 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
/openbmc/linux/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c521 if (role == USB_ROLE_NONE) in dwc3_meson_g12a_role_set()
/openbmc/linux/drivers/usb/typec/tipd/
H A Dcore.c221 role_val = USB_ROLE_NONE; in tps6598x_set_data_role()

12