Home
last modified time | relevance | path

Searched refs:current_role (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/usb/dwc3/
H A Ddwc3-qcom.c87 enum usb_role current_role; member
565 if (qcom->current_role == next_role) in dwc3_qcom_set_role_notifier()
573 if (qcom->current_role == USB_ROLE_DEVICE) in dwc3_qcom_set_role_notifier()
575 else if (qcom->current_role != USB_ROLE_DEVICE) in dwc3_qcom_set_role_notifier()
585 qcom->current_role = next_role; in dwc3_qcom_set_role_notifier()
689 qcom->current_role = USB_ROLE_HOST; in dwc3_qcom_probe()
691 qcom->current_role = USB_ROLE_DEVICE; in dwc3_qcom_probe()
696 qcom->current_role = USB_ROLE_HOST; in dwc3_qcom_probe()
698 qcom->current_role = USB_ROLE_DEVICE; in dwc3_qcom_probe()