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()
H A Dcore.h869 * is USB_ROLE_NONE
/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.c368 * Do no handle USB_ROLE_NONE for DWC3_APPLE_NO_CABLE and in dwc3_usb_role_switch_set()
386 case USB_ROLE_NONE: in dwc3_usb_role_switch_set()
412 return USB_ROLE_NONE; in dwc3_usb_role_switch_get()
416 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()
H A Dcore.h1068 * usb role is USB_ROLE_NONE.
/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()
259 [USB_ROLE_NONE] = "none",
/linux/drivers/extcon/
H A Dextcon-ptn5150.c82 enum usb_role usb_role = USB_ROLE_NONE; in ptn5150_check_state()
174 USB_ROLE_NONE); in ptn5150_irq_work()
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.c334 role = USB_ROLE_NONE; in cht_wc_extcon_pwrsrc_event()
/linux/drivers/usb/typec/tipd/
H A Dcore.c339 role_val = USB_ROLE_NONE; in tps6598x_set_data_role()
797 enum usb_role new_role = USB_ROLE_NONE; in cd321x_update_work()
820 /* If we are switching from an active role, transition to USB_ROLE_NONE first */ in cd321x_update_work()
821 if (old_role != USB_ROLE_NONE && (new_role != old_role || was_disconnected)) in cd321x_update_work()
822 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.c823 * from USB_ROLE_HOST to USB_ROLE_NONE. in tegra186_xusb_padctl_id_override()
860 } 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.c1331 enum usb_role u_role = USB_ROLE_NONE; in ucsi_partner_change()
1374 u_role = USB_ROLE_NONE; in ucsi_partner_change()
1827 enum usb_role u_role = USB_ROLE_NONE; in ucsi_register_port()
1968 u_role = USB_ROLE_NONE; in ucsi_register_port()
/linux/drivers/usb/typec/
H A Dhd3ss3220.c185 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.c351 usb_role_switch_set_role(port->role_sw, USB_ROLE_NONE); in cros_typec_usb_disconnect_state()
/linux/drivers/usb/gadget/udc/
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/tcpm/
H A Dtcpm.c1340 usb_role = USB_ROLE_NONE; in tcpm_set_roles()
1349 usb_role = USB_ROLE_NONE; in tcpm_set_roles()
5095 tcpm_mux_set(port, TYPEC_STATE_SAFE, USB_ROLE_NONE, in tcpm_typec_disconnect()
5188 tcpm_mux_set(port, TYPEC_STATE_SAFE, USB_ROLE_NONE, in tcpm_reset_port()