Home
last modified time | relevance | path

Searched full:usb_role_none (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v6.6/drivers/usb/cdns3/
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()
240 * Driver treats USB_ROLE_NONE synonymous to IDLE state from 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()
356 * - USB_ROLE_GADGET <--> USB_ROLE_NONE for peripheral-only devices
370 case USB_ROLE_NONE: in cdns_role_set()
[all …]
/Linux-v6.6/drivers/usb/dwc2/
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()
123 /* default operation mode when usb role is USB_ROLE_NONE */ in dwc2_drd_role_sw_set()
158 role == USB_ROLE_NONE ? "No" : in dwc2_drd_role_sw_set()
217 if (role == USB_ROLE_NONE) { in dwc2_drd_resume()
233 role == USB_ROLE_NONE ? "No" : in dwc2_drd_resume()
/Linux-v6.6/drivers/usb/musb/
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()
Djz4740.c89 case USB_ROLE_NONE: in jz4740_musb_role_switch_set()
/Linux-v6.6/include/linux/usb/
Drole.h11 USB_ROLE_NONE, enumerator
78 return USB_ROLE_NONE; in usb_role_switch_get_role()
/Linux-v6.6/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.c77 return USB_ROLE_NONE; in usb_role_switch_get_role()
217 [USB_ROLE_NONE] = "none",
/Linux-v6.6/drivers/usb/typec/
Dhd3ss3220.c72 attached_state = USB_ROLE_NONE; in hd3ss3220_get_attached_state()
111 if (role_state == USB_ROLE_NONE) in hd3ss3220_set_role()
Dstusb160x.c331 enum usb_role usb_role = USB_ROLE_NONE; in stusb160x_set_data_role()
/Linux-v6.6/drivers/usb/mtu3/
Dmtu3_dr.c138 if (desired_role == USB_ROLE_NONE) { in ssusb_mode_sw_work()
167 case USB_ROLE_NONE: in ssusb_mode_sw_work()
Dmtu3.h203 * @default_role : default mode while usb role is USB_ROLE_NONE
/Linux-v6.6/Documentation/devicetree/bindings/usb/
Dusb-drd.yaml60 mode of controller while usb role is USB_ROLE_NONE.
/Linux-v6.6/drivers/extcon/
Dextcon-ptn5150.c75 enum usb_role usb_role = USB_ROLE_NONE; in ptn5150_check_state()
150 USB_ROLE_NONE); in ptn5150_irq_work()
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()
Dextcon-axp288.c192 role = USB_ROLE_NONE; in axp288_usb_role_work()
Dextcon-intel-cht-wc.c335 role = USB_ROLE_NONE; in cht_wc_extcon_pwrsrc_event()
/Linux-v6.6/drivers/usb/typec/mux/
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()
/Linux-v6.6/drivers/misc/
Dhisi_hikey_usb.c105 case USB_ROLE_NONE: in relay_set_role_switch()
/Linux-v6.6/drivers/usb/typec/ucsi/
Ducsi.c799 enum usb_role u_role = USB_ROLE_NONE; in ucsi_partner_change()
835 u_role = USB_ROLE_NONE; in ucsi_partner_change()
1157 enum usb_role u_role = USB_ROLE_NONE; in ucsi_register_port()
1312 u_role = USB_ROLE_NONE; in ucsi_register_port()
/Linux-v6.6/drivers/usb/common/
Dusb-conn-gpio.c85 role = USB_ROLE_NONE; in usb_conn_detect_cable()
/Linux-v6.6/drivers/phy/tegra/
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()
Dxusb-tegra186.c826 } else if (submode == USB_ROLE_NONE) { in tegra186_utmi_phy_set_mode()
829 * USB_ROLE_NONE from USB_ROLE_DEVICE, regulator is not in tegra186_utmi_phy_set_mode()
/Linux-v6.6/drivers/usb/gadget/udc/
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()
/Linux-v6.6/drivers/usb/chipidea/
Dci.h323 return USB_ROLE_NONE; in ci_role_to_usb_role()
/Linux-v6.6/drivers/usb/typec/tipd/
Dcore.c220 role_val = USB_ROLE_NONE; in tps6598x_set_data_role()

12