Home
last modified time | relevance | path

Searched full:usb_role_none (Results 1 – 23 of 23) 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/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/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-axp288.c192 role = USB_ROLE_NONE; in axp288_usb_role_work()
H A Dextcon-intel-cht-wc.c335 role = USB_ROLE_NONE; in cht_wc_extcon_pwrsrc_event()
/linux/drivers/misc/
H A Dhisi_hikey_usb.c104 case USB_ROLE_NONE: in relay_set_role_switch()
/linux/drivers/usb/typec/ucsi/
H A Ducsi.c1110 enum usb_role u_role = USB_ROLE_NONE; in ucsi_partner_change()
1145 u_role = USB_ROLE_NONE; in ucsi_partner_change()
1550 enum usb_role u_role = USB_ROLE_NONE; in ucsi_register_port()
1685 u_role = USB_ROLE_NONE; in ucsi_register_port()
/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.c834 } else if (submode == USB_ROLE_NONE) { in tegra186_utmi_phy_set_mode()
837 * USB_ROLE_NONE from USB_ROLE_DEVICE, regulator is not 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/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.c735 phy_set_mode_ext(xudc->curr_utmi_phy, PHY_MODE_USB_OTG, USB_ROLE_NONE); in tegra_xudc_device_mode_off()
855 USB_ROLE_NONE); in tegra_xudc_plc_reset_work()
/linux/drivers/usb/mtu3/
H A Dmtu3.h203 * @default_role : default mode while usb role is USB_ROLE_NONE
/linux/drivers/usb/typec/
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/platform/chrome/
H A Dcros_ec_typec.c230 usb_role_switch_set_role(port->role_sw, USB_ROLE_NONE); in cros_typec_usb_disconnect_state()
/linux/drivers/usb/typec/tipd/
H A Dcore.c263 role_val = USB_ROLE_NONE; in tps6598x_set_data_role()
/linux/drivers/usb/dwc3/
H A Dcore.h1049 * usb role is USB_ROLE_NONE.
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c1191 usb_role = USB_ROLE_NONE; in tcpm_set_roles()
1200 usb_role = USB_ROLE_NONE; in tcpm_set_roles()
4456 tcpm_mux_set(port, TYPEC_STATE_SAFE, USB_ROLE_NONE, in tcpm_src_attach()
4534 tcpm_mux_set(port, TYPEC_STATE_SAFE, USB_ROLE_NONE, in tcpm_reset_port()
/linux/drivers/usb/host/
H A Dxhci-tegra.c1360 phy_set_mode_ext(phy, PHY_MODE_USB_OTG, USB_ROLE_NONE); in tegra_xhci_id_work()