Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/usb/cdns3/
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-6.1.9/drivers/usb/dwc2/
Ddrd.c99 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
121 if (role == USB_ROLE_NONE) { in dwc2_drd_role_sw_set()
157 role == USB_ROLE_NONE ? "No" : in dwc2_drd_role_sw_set()
216 if (role == USB_ROLE_NONE) { in dwc2_drd_resume()
232 role == USB_ROLE_NONE ? "No" : in dwc2_drd_resume()
/linux-6.1.9/drivers/usb/musb/
Dmediatek.c79 if (glue->role == USB_ROLE_NONE) in mtk_otg_switch_set()
92 if (glue->role == USB_ROLE_NONE) in mtk_otg_switch_set()
97 case USB_ROLE_NONE: in mtk_otg_switch_set()
99 new_role = USB_ROLE_NONE; in mtk_otg_switch_set()
102 if (glue->role != USB_ROLE_NONE) in mtk_otg_switch_set()
235 new_role = USB_ROLE_NONE; in mtk_musb_set_mode()
446 glue->role = USB_ROLE_NONE; in mtk_musb_probe()
Djz4740.c85 case USB_ROLE_NONE: in jz4740_musb_role_switch_set()
/linux-6.1.9/include/linux/usb/
Drole.h11 USB_ROLE_NONE, enumerator
78 return USB_ROLE_NONE; in usb_role_switch_get_role()
/linux-6.1.9/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()
215 [USB_ROLE_NONE] = "none",
/linux-6.1.9/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()
235 usb_role_switch_set_role(qcom_usb->role_sw, USB_ROLE_NONE); in qcom_pmic_typec_remove()
Dstusb160x.c331 enum usb_role usb_role = USB_ROLE_NONE; in stusb160x_set_data_role()
Drt1719.c201 enum usb_role usb_role = USB_ROLE_NONE; in rt1719_set_data_role()
/linux-6.1.9/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()
/linux-6.1.9/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-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-6.1.9/drivers/usb/typec/mux/
Dintel_pmc_mux.c426 if (port->role == role || port->role == USB_ROLE_NONE) in pmc_usb_connect()
453 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set()
502 if (role == USB_ROLE_NONE) in pmc_usb_set_role()
/linux-6.1.9/Documentation/devicetree/bindings/usb/
Dusb-drd.yaml59 mode of controller while usb role is USB_ROLE_NONE.
/linux-6.1.9/drivers/usb/typec/ucsi/
Ducsi.c711 enum usb_role u_role = USB_ROLE_NONE; in ucsi_partner_change()
732 u_role = USB_ROLE_NONE; in ucsi_partner_change()
1047 enum usb_role u_role = USB_ROLE_NONE; in ucsi_register_port()
1168 u_role = USB_ROLE_NONE; in ucsi_register_port()
/linux-6.1.9/drivers/misc/
Dhisi_hikey_usb.c105 case USB_ROLE_NONE: in relay_set_role_switch()
/linux-6.1.9/drivers/usb/chipidea/
Dci.h302 return USB_ROLE_NONE; in ci_role_to_usb_role()
/linux-6.1.9/drivers/usb/common/
Dusb-conn-gpio.c84 role = USB_ROLE_NONE; in usb_conn_detect_cable()
/linux-6.1.9/drivers/usb/gadget/udc/
Drenesas_usb3.c724 usb3->connection_state != USB_ROLE_NONE) { in usb3_mode_config()
2407 case USB_ROLE_NONE: in handle_ext_role_switch_states()
2408 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states()
2416 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2430 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
/linux-6.1.9/drivers/usb/typec/tipd/
Dcore.c225 role_val = USB_ROLE_NONE; in tps6598x_set_data_role()
/linux-6.1.9/drivers/usb/dwc3/
Ddwc3-meson-g12a.c527 if (role == USB_ROLE_NONE) in dwc3_meson_g12a_role_set()
/linux-6.1.9/drivers/platform/chrome/
Dcros_ec_typec.c247 usb_role_switch_set_role(port->role_sw, USB_ROLE_NONE); in cros_typec_usb_disconnect_state()

12