Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/usb/cdns3/
H A 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 …]
/OK3568_Linux_fs/u-boot/drivers/usb/cdns3/
H A Dcore.c110 cdns->role = USB_ROLE_NONE; in cdns3_core_init_role()
214 case USB_ROLE_NONE: in cdsn3_hw_role_state_machine()
216 * Driver treats USB_ROLE_NONE synonymous to IDLE state from in cdsn3_hw_role_state_machine()
226 role = USB_ROLE_NONE; in cdsn3_hw_role_state_machine()
230 role = USB_ROLE_NONE; in cdsn3_hw_role_state_machine()
273 cdns->roles[USB_ROLE_NONE] = rdrv; in cdns3_idle_init()
H A Dcore.h20 USB_ROLE_NONE, enumerator
/OK3568_Linux_fs/kernel/drivers/usb/musb/
H A 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()
H A Djz4740.c85 case USB_ROLE_NONE: in jz4740_musb_role_switch_set()
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Drole.h11 USB_ROLE_NONE, enumerator
77 return USB_ROLE_NONE; in usb_role_switch_get_role()
/OK3568_Linux_fs/kernel/drivers/usb/roles/
H A 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()
H A Dclass.c75 return USB_ROLE_NONE; in usb_role_switch_get_role()
212 [USB_ROLE_NONE] = "none",
/OK3568_Linux_fs/kernel/drivers/usb/dwc2/
H A 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()
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A 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()
H A Dhd3ss3220.c68 attached_state = USB_ROLE_NONE; in hd3ss3220_get_attached_state()
107 if (role_state == USB_ROLE_NONE) in hd3ss3220_set_role()
H A Dtps6598x.c205 role_val = USB_ROLE_NONE; in tps6598x_set_data_role()
H A Dstusb160x.c331 enum usb_role usb_role = USB_ROLE_NONE; in stusb160x_set_data_role()
/OK3568_Linux_fs/kernel/drivers/usb/typec/ucsi/
H A Ducsi.c616 enum usb_role u_role = USB_ROLE_NONE; in ucsi_partner_change()
644 u_role = USB_ROLE_NONE; in ucsi_partner_change()
669 enum usb_role u_role = USB_ROLE_NONE; in ucsi_handle_connector_change()
819 u_role = USB_ROLE_NONE; in ucsi_handle_connector_change()
1054 enum usb_role u_role = USB_ROLE_NONE; in ucsi_register_port()
1167 u_role = USB_ROLE_NONE; in ucsi_register_port()
/OK3568_Linux_fs/kernel/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c409 if (port->role == role || port->role == USB_ROLE_NONE) in pmc_usb_connect()
436 if (port->orientation == TYPEC_ORIENTATION_NONE || port->role == USB_ROLE_NONE) in pmc_usb_mux_set()
485 if (role == USB_ROLE_NONE) in pmc_usb_set_role()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dusb-drd.yaml58 mode of controller while usb role is USB_ROLE_NONE.
/OK3568_Linux_fs/kernel/drivers/misc/
H A Dhisi_hikey_usb.c109 case USB_ROLE_NONE: in relay_set_role_switch()
/OK3568_Linux_fs/kernel/drivers/usb/common/
H A Dusb-conn-gpio.c84 role = USB_ROLE_NONE; in usb_conn_detect_cable()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H A Drenesas_usb3.c707 usb3->connection_state != USB_ROLE_NONE) { in usb3_mode_config()
2379 case USB_ROLE_NONE: in handle_ext_role_switch_states()
2380 usb3->connection_state = USB_ROLE_NONE; in handle_ext_role_switch_states()
2388 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
2402 if (usb3->connection_state == USB_ROLE_NONE) { in handle_ext_role_switch_states()
/OK3568_Linux_fs/kernel/drivers/phy/tegra/
H A Dxusb-tegra186.c380 } else if (submode == USB_ROLE_NONE) { in tegra186_utmi_phy_set_mode()
383 * USB_ROLE_NONE from USB_ROLE_DEVICE, regulator is not in tegra186_utmi_phy_set_mode()
H A Dxusb-tegra210.c1017 } else if (submode == USB_ROLE_NONE) { in tegra210_usb2_phy_set_mode()
1020 * USB_ROLE_NONE from USB_ROLE_DEVICE, regulator is not in tegra210_usb2_phy_set_mode()
/OK3568_Linux_fs/kernel/drivers/usb/chipidea/
H A Dci.h303 return USB_ROLE_NONE; in ci_role_to_usb_role()
/OK3568_Linux_fs/kernel/drivers/extcon/
H A Dextcon-axp288.c191 role = USB_ROLE_NONE; in axp288_usb_role_work()
/OK3568_Linux_fs/kernel/drivers/platform/chrome/
H A Dcros_ec_typec.c178 usb_role_switch_set_role(port->role_sw, USB_ROLE_NONE); in cros_typec_remove_partner()
/OK3568_Linux_fs/kernel/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c527 if (role == USB_ROLE_NONE) in dwc3_meson_g12a_role_set()

12