Home
last modified time | relevance | path

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

/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()
123 /* default operation mode when usb role is 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()
/linux/include/linux/usb/
H A Drole.h11 USB_ROLE_NONE, enumerator
78 return USB_ROLE_NONE; in usb_role_switch_get_role()
/linux/drivers/usb/dwc3/
H A Ddwc3-apple.c352 case USB_ROLE_NONE: in dwc3_usb_role_switch_set()
378 return USB_ROLE_NONE; in dwc3_usb_role_switch_get()
382 return USB_ROLE_NONE; in dwc3_usb_role_switch_get()
H A Ddwc3-meson-g12a.c521 if (role == USB_ROLE_NONE) in dwc3_meson_g12a_role_set()
/linux/Documentation/devicetree/bindings/usb/
H A Dusb-drd.yaml60 mode of controller while usb role is USB_ROLE_NONE.
/linux/drivers/usb/roles/
H A Dclass.c111 return USB_ROLE_NONE; in usb_role_switch_get_role()
254 [USB_ROLE_NONE] = "none",
/linux/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c486 if (port->role == role || port->role == USB_ROLE_NONE) in pmc_usb_connect()
513 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set()
562 if (role == USB_ROLE_NONE) in pmc_usb_set_role()
/linux/drivers/extcon/
H A Dextcon-usbc-tusb320.c325 usb_role = USB_ROLE_NONE; in tusb320_typec_irq_handler()
351 usb_role = USB_ROLE_NONE; in tusb320_typec_irq_handler()
H A Dextcon-intel-cht-wc.c335 role = USB_ROLE_NONE; in cht_wc_extcon_pwrsrc_event()
/linux/drivers/usb/typec/tipd/
H A Dcore.c336 role_val = USB_ROLE_NONE; in tps6598x_set_data_role()
757 enum usb_role new_role = USB_ROLE_NONE; in cd321x_update_work()
780 /* If we are switching from an active role, transition to USB_ROLE_NONE first */ in cd321x_update_work()
781 if (old_role != USB_ROLE_NONE && (new_role != old_role || was_disconnected)) in cd321x_update_work()
782 usb_role_switch_set_role(tps->role_sw, USB_ROLE_NONE); in cd321x_update_work()
/linux/drivers/phy/tegra/
H A Dxusb.c588 [USB_ROLE_NONE] = "none",
729 enum usb_role role = USB_ROLE_NONE; in tegra_xusb_parse_usb_role_default_mode()
737 if (role != USB_ROLE_NONE) { in tegra_xusb_parse_usb_role_default_mode()
H A Dxusb-tegra186.c820 * from USB_ROLE_HOST to USB_ROLE_NONE. in tegra186_xusb_padctl_id_override()
857 } else if (submode == USB_ROLE_NONE) { in tegra186_utmi_phy_set_mode()
H A Dxusb-tegra210.c1933 } else if (submode == USB_ROLE_NONE) { in tegra210_usb2_phy_set_mode()
1936 * USB_ROLE_NONE from USB_ROLE_DEVICE, regulator is not in tegra210_usb2_phy_set_mode()
/linux/drivers/usb/common/
H A Dusb-conn-gpio.c90 role = USB_ROLE_NONE; in usb_conn_detect_cable()
/linux/drivers/usb/typec/ucsi/
H A Ducsi.c1169 enum usb_role u_role = USB_ROLE_NONE; in ucsi_partner_change()
1204 u_role = USB_ROLE_NONE; in ucsi_partner_change()
1631 enum usb_role u_role = USB_ROLE_NONE; in ucsi_register_port()
1773 u_role = USB_ROLE_NONE; in ucsi_register_port()
/linux/drivers/usb/gadget/udc/
H A Drenesas_usb3.c765 usb3->connection_state != USB_ROLE_NONE) { in usb3_mode_config()
2456 case USB_ROLE_NONE: in handle_ext_role_switch_states()
2457 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states()
2473 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2490 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
H A Dtegra-xudc.c740 phy_set_mode_ext(xudc->curr_utmi_phy, PHY_MODE_USB_OTG, USB_ROLE_NONE); in tegra_xudc_device_mode_off()
859 USB_ROLE_NONE); in tegra_xudc_plc_reset_work()
/linux/drivers/usb/typec/
H A Dhd3ss3220.c181 attached_state = USB_ROLE_NONE; in hd3ss3220_get_attached_state()
H A Drt1719.c195 enum usb_role usb_role = USB_ROLE_NONE; in rt1719_set_data_role()
H A Danx7411.c944 if (anx7411_set_usb_role(ctx, USB_ROLE_NONE)) in anx7411_work_func()
/linux/drivers/usb/mtu3/
H A Dmtu3.h209 * @default_role : default mode while usb role is USB_ROLE_NONE
/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c313 usb_role_switch_set_role(port->role_sw, USB_ROLE_NONE); in cros_typec_usb_disconnect_state()
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c1204 usb_role = USB_ROLE_NONE; in tcpm_set_roles()
1213 usb_role = USB_ROLE_NONE; in tcpm_set_roles()
4468 tcpm_mux_set(port, TYPEC_STATE_SAFE, USB_ROLE_NONE, in tcpm_src_attach()
4551 tcpm_mux_set(port, TYPEC_STATE_SAFE, USB_ROLE_NONE, in tcpm_reset_port()
/linux/drivers/usb/host/
H A Dxhci-tegra.c1365 phy_set_mode_ext(phy, PHY_MODE_USB_OTG, USB_ROLE_NONE); in tegra_xhci_id_work()