| /linux/drivers/usb/dwc2/ |
| H A D | drd.c | 100 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 D | role.h | 11 USB_ROLE_NONE, enumerator 78 return USB_ROLE_NONE; in usb_role_switch_get_role()
|
| /linux/drivers/usb/dwc3/ |
| H A D | dwc3-apple.c | 352 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 D | dwc3-meson-g12a.c | 521 if (role == USB_ROLE_NONE) in dwc3_meson_g12a_role_set()
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | usb-drd.yaml | 60 mode of controller while usb role is USB_ROLE_NONE.
|
| /linux/drivers/usb/roles/ |
| H A D | class.c | 111 return USB_ROLE_NONE; in usb_role_switch_get_role() 254 [USB_ROLE_NONE] = "none",
|
| /linux/drivers/usb/typec/mux/ |
| H A D | intel_pmc_mux.c | 486 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 D | extcon-usbc-tusb320.c | 325 usb_role = USB_ROLE_NONE; in tusb320_typec_irq_handler() 351 usb_role = USB_ROLE_NONE; in tusb320_typec_irq_handler()
|
| H A D | extcon-intel-cht-wc.c | 335 role = USB_ROLE_NONE; in cht_wc_extcon_pwrsrc_event()
|
| /linux/drivers/usb/typec/tipd/ |
| H A D | core.c | 336 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 D | xusb.c | 588 [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 D | xusb-tegra186.c | 820 * 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 D | xusb-tegra210.c | 1933 } 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 D | usb-conn-gpio.c | 90 role = USB_ROLE_NONE; in usb_conn_detect_cable()
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | ucsi.c | 1169 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 D | renesas_usb3.c | 765 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 D | tegra-xudc.c | 740 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 D | hd3ss3220.c | 181 attached_state = USB_ROLE_NONE; in hd3ss3220_get_attached_state()
|
| H A D | rt1719.c | 195 enum usb_role usb_role = USB_ROLE_NONE; in rt1719_set_data_role()
|
| H A D | anx7411.c | 944 if (anx7411_set_usb_role(ctx, USB_ROLE_NONE)) in anx7411_work_func()
|
| /linux/drivers/usb/mtu3/ |
| H A D | mtu3.h | 209 * @default_role : default mode while usb role is USB_ROLE_NONE
|
| /linux/drivers/platform/chrome/ |
| H A D | cros_ec_typec.c | 313 usb_role_switch_set_role(port->role_sw, USB_ROLE_NONE); in cros_typec_usb_disconnect_state()
|
| /linux/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 1204 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 D | xhci-tegra.c | 1365 phy_set_mode_ext(phy, PHY_MODE_USB_OTG, USB_ROLE_NONE); in tegra_xhci_id_work()
|