/Linux-v6.6/drivers/usb/cdns3/ |
D | core.c | 91 cdns->role = USB_ROLE_NONE; in cdns_core_init_role() 175 ret = cdns_role_start(cdns, USB_ROLE_NONE); in cdns_core_init_role() 214 enum usb_role role = USB_ROLE_NONE; in cdns_hw_role_state_machine() 238 case USB_ROLE_NONE: in cdns_hw_role_state_machine() 240 * Driver treats USB_ROLE_NONE synonymous to IDLE state from in cdns_hw_role_state_machine() 250 role = USB_ROLE_NONE; in cdns_hw_role_state_machine() 254 role = USB_ROLE_NONE; in cdns_hw_role_state_machine() 289 cdns->roles[USB_ROLE_NONE] = rdrv; in cdns_idle_init() 356 * - USB_ROLE_GADGET <--> USB_ROLE_NONE for peripheral-only devices 370 case USB_ROLE_NONE: in cdns_role_set() [all …]
|
/Linux-v6.6/drivers/usb/dwc2/ |
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() 158 role == USB_ROLE_NONE ? "No" : in dwc2_drd_role_sw_set() 217 if (role == USB_ROLE_NONE) { in dwc2_drd_resume() 233 role == USB_ROLE_NONE ? "No" : in dwc2_drd_resume()
|
/Linux-v6.6/drivers/usb/musb/ |
D | mediatek.c | 80 if (glue->role == USB_ROLE_NONE) in mtk_otg_switch_set() 93 if (glue->role == USB_ROLE_NONE) in mtk_otg_switch_set() 98 case USB_ROLE_NONE: in mtk_otg_switch_set() 100 new_role = USB_ROLE_NONE; in mtk_otg_switch_set() 103 if (glue->role != USB_ROLE_NONE) in mtk_otg_switch_set() 236 new_role = USB_ROLE_NONE; in mtk_musb_set_mode() 448 glue->role = USB_ROLE_NONE; in mtk_musb_probe()
|
D | jz4740.c | 89 case USB_ROLE_NONE: in jz4740_musb_role_switch_set()
|
/Linux-v6.6/include/linux/usb/ |
D | role.h | 11 USB_ROLE_NONE, enumerator 78 return USB_ROLE_NONE; in usb_role_switch_get_role()
|
/Linux-v6.6/drivers/usb/roles/ |
D | intel-xhci-usb-role-switch.c | 85 case USB_ROLE_NONE: in intel_xhci_usb_set_role() 146 role = USB_ROLE_NONE; in intel_xhci_usb_get_role()
|
D | class.c | 77 return USB_ROLE_NONE; in usb_role_switch_get_role() 217 [USB_ROLE_NONE] = "none",
|
/Linux-v6.6/drivers/usb/typec/ |
D | hd3ss3220.c | 72 attached_state = USB_ROLE_NONE; in hd3ss3220_get_attached_state() 111 if (role_state == USB_ROLE_NONE) in hd3ss3220_set_role()
|
D | stusb160x.c | 331 enum usb_role usb_role = USB_ROLE_NONE; in stusb160x_set_data_role()
|
/Linux-v6.6/drivers/usb/mtu3/ |
D | mtu3_dr.c | 138 if (desired_role == USB_ROLE_NONE) { in ssusb_mode_sw_work() 167 case USB_ROLE_NONE: in ssusb_mode_sw_work()
|
D | mtu3.h | 203 * @default_role : default mode while usb role is USB_ROLE_NONE
|
/Linux-v6.6/Documentation/devicetree/bindings/usb/ |
D | usb-drd.yaml | 60 mode of controller while usb role is USB_ROLE_NONE.
|
/Linux-v6.6/drivers/extcon/ |
D | extcon-ptn5150.c | 75 enum usb_role usb_role = USB_ROLE_NONE; in ptn5150_check_state() 150 USB_ROLE_NONE); in ptn5150_irq_work()
|
D | extcon-usbc-tusb320.c | 324 usb_role = USB_ROLE_NONE; in tusb320_typec_irq_handler() 350 usb_role = USB_ROLE_NONE; in tusb320_typec_irq_handler()
|
D | extcon-axp288.c | 192 role = USB_ROLE_NONE; in axp288_usb_role_work()
|
D | extcon-intel-cht-wc.c | 335 role = USB_ROLE_NONE; in cht_wc_extcon_pwrsrc_event()
|
/Linux-v6.6/drivers/usb/typec/mux/ |
D | intel_pmc_mux.c | 463 if (port->role == role || port->role == USB_ROLE_NONE) in pmc_usb_connect() 490 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set() 539 if (role == USB_ROLE_NONE) in pmc_usb_set_role()
|
/Linux-v6.6/drivers/misc/ |
D | hisi_hikey_usb.c | 105 case USB_ROLE_NONE: in relay_set_role_switch()
|
/Linux-v6.6/drivers/usb/typec/ucsi/ |
D | ucsi.c | 799 enum usb_role u_role = USB_ROLE_NONE; in ucsi_partner_change() 835 u_role = USB_ROLE_NONE; in ucsi_partner_change() 1157 enum usb_role u_role = USB_ROLE_NONE; in ucsi_register_port() 1312 u_role = USB_ROLE_NONE; in ucsi_register_port()
|
/Linux-v6.6/drivers/usb/common/ |
D | usb-conn-gpio.c | 85 role = USB_ROLE_NONE; in usb_conn_detect_cable()
|
/Linux-v6.6/drivers/phy/tegra/ |
D | xusb.c | 588 [USB_ROLE_NONE] = "none", 727 enum usb_role role = USB_ROLE_NONE; in tegra_xusb_parse_usb_role_default_mode() 735 if (role != USB_ROLE_NONE) { in tegra_xusb_parse_usb_role_default_mode()
|
D | xusb-tegra186.c | 826 } else if (submode == USB_ROLE_NONE) { in tegra186_utmi_phy_set_mode() 829 * USB_ROLE_NONE from USB_ROLE_DEVICE, regulator is not in tegra186_utmi_phy_set_mode()
|
/Linux-v6.6/drivers/usb/gadget/udc/ |
D | renesas_usb3.c | 765 usb3->connection_state != USB_ROLE_NONE) { in usb3_mode_config() 2457 case USB_ROLE_NONE: in handle_ext_role_switch_states() 2458 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states() 2474 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states() 2491 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
|
/Linux-v6.6/drivers/usb/chipidea/ |
D | ci.h | 323 return USB_ROLE_NONE; in ci_role_to_usb_role()
|
/Linux-v6.6/drivers/usb/typec/tipd/ |
D | core.c | 220 role_val = USB_ROLE_NONE; in tps6598x_set_data_role()
|