Home
last modified time | relevance | path

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

123

/kernel/linux/linux-6.6/drivers/usb/cdns3/
Dcore.c91 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 …]
/kernel/linux/linux-6.6/drivers/usb/dwc2/
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()
/kernel/linux/linux-5.10/drivers/usb/cdns3/
Dcore.c92 cdns->role = USB_ROLE_NONE; in cdns3_core_init_role()
165 ret = cdns3_role_start(cdns, USB_ROLE_NONE); in cdns3_core_init_role()
204 enum usb_role role = USB_ROLE_NONE; in cdns3_hw_role_state_machine()
228 case USB_ROLE_NONE: in cdns3_hw_role_state_machine()
230 * Driver treats USB_ROLE_NONE synonymous to IDLE state from in cdns3_hw_role_state_machine()
240 role = USB_ROLE_NONE; in cdns3_hw_role_state_machine()
244 role = USB_ROLE_NONE; in cdns3_hw_role_state_machine()
279 cdns->roles[USB_ROLE_NONE] = rdrv; in cdns3_idle_init()
346 * - USB_ROLE_GADGET <--> USB_ROLE_NONE for peripheral-only devices
360 case USB_ROLE_NONE: in cdns3_role_set()
[all …]
/kernel/linux/linux-6.6/drivers/usb/musb/
Dmediatek.c80 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()
/kernel/linux/linux-5.10/drivers/usb/musb/
Dmediatek.c132 if (glue->role == USB_ROLE_NONE) in mtk_otg_switch_set()
145 if (glue->role == USB_ROLE_NONE) in mtk_otg_switch_set()
150 case USB_ROLE_NONE: in mtk_otg_switch_set()
152 new_role = USB_ROLE_NONE; in mtk_otg_switch_set()
155 if (glue->role != USB_ROLE_NONE) in mtk_otg_switch_set()
287 new_role = USB_ROLE_NONE; in mtk_musb_set_mode()
498 glue->role = USB_ROLE_NONE; in mtk_musb_probe()
/kernel/linux/linux-6.6/include/linux/usb/
Drole.h11 USB_ROLE_NONE, enumerator
78 return USB_ROLE_NONE; in usb_role_switch_get_role()
/kernel/linux/linux-5.10/include/linux/usb/
Drole.h11 USB_ROLE_NONE, enumerator
77 return USB_ROLE_NONE; in usb_role_switch_get_role()
/kernel/linux/linux-5.10/drivers/usb/roles/
Dintel-xhci-usb-role-switch.c85 case USB_ROLE_NONE: in intel_xhci_usb_set_role()
146 role = USB_ROLE_NONE; in intel_xhci_usb_get_role()
Dclass.c76 return USB_ROLE_NONE; in usb_role_switch_get_role()
219 [USB_ROLE_NONE] = "none",
/kernel/linux/linux-6.6/drivers/usb/roles/
Dintel-xhci-usb-role-switch.c85 case USB_ROLE_NONE: in intel_xhci_usb_set_role()
146 role = USB_ROLE_NONE; in intel_xhci_usb_get_role()
Dclass.c82 return USB_ROLE_NONE; in usb_role_switch_get_role()
225 [USB_ROLE_NONE] = "none",
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Ddrd.c86 if (role == USB_ROLE_NONE && hsotg->test_mode) { in dwc2_drd_role_sw_set()
136 role == USB_ROLE_NONE ? "No" : in dwc2_drd_role_sw_set()
/kernel/linux/linux-5.10/drivers/usb/typec/
Dhd3ss3220.c68 attached_state = USB_ROLE_NONE; in hd3ss3220_get_attached_state()
107 if (role_state == USB_ROLE_NONE) in hd3ss3220_set_role()
Dqcom-pmic-typec.c88 role = USB_ROLE_NONE; in qcom_pmic_typec_check_connection()
236 usb_role_switch_set_role(qcom_usb->role_sw, USB_ROLE_NONE); in qcom_pmic_typec_remove()
/kernel/linux/linux-6.6/drivers/usb/typec/
Dhd3ss3220.c72 attached_state = USB_ROLE_NONE; in hd3ss3220_get_attached_state()
111 if (role_state == USB_ROLE_NONE) in hd3ss3220_set_role()
/kernel/linux/linux-6.6/drivers/usb/mtu3/
Dmtu3_dr.c138 if (desired_role == USB_ROLE_NONE) { in ssusb_mode_sw_work()
167 case USB_ROLE_NONE: in ssusb_mode_sw_work()
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/
Dusb-drd.yaml60 mode of controller while usb role is USB_ROLE_NONE.
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Dgeneric.txt40 role is USB_ROLE_NONE. Valid arguments are "host" and
/kernel/linux/linux-6.6/drivers/extcon/
Dextcon-ptn5150.c75 enum usb_role usb_role = USB_ROLE_NONE; in ptn5150_check_state()
150 USB_ROLE_NONE); in ptn5150_irq_work()
Dextcon-usbc-tusb320.c324 usb_role = USB_ROLE_NONE; in tusb320_typec_irq_handler()
350 usb_role = USB_ROLE_NONE; in tusb320_typec_irq_handler()
/kernel/linux/linux-5.10/drivers/usb/typec/mux/
Dintel_pmc_mux.c396 if (port->role == role || port->role == USB_ROLE_NONE) in pmc_usb_connect()
423 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set()
472 if (role == USB_ROLE_NONE) in pmc_usb_set_role()
/kernel/linux/linux-6.6/drivers/usb/typec/mux/
Dintel_pmc_mux.c463 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()
/kernel/linux/linux-5.10/drivers/misc/
Dhisi_hikey_usb.c109 case USB_ROLE_NONE: in relay_set_role_switch()
/kernel/linux/linux-6.6/drivers/misc/
Dhisi_hikey_usb.c105 case USB_ROLE_NONE: in relay_set_role_switch()
/kernel/linux/linux-6.6/drivers/usb/typec/ucsi/
Ducsi.c809 enum usb_role u_role = USB_ROLE_NONE; in ucsi_partner_change()
845 u_role = USB_ROLE_NONE; in ucsi_partner_change()
1200 enum usb_role u_role = USB_ROLE_NONE; in ucsi_register_port()
1361 u_role = USB_ROLE_NONE; in ucsi_register_port()

123