Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/usb/dwc3/
Ddwc3-qcom.c83 struct extcon_dev *host_edev; member
162 struct extcon_dev *host_edev; in dwc3_qcom_register_extcon() local
174 qcom->host_edev = extcon_get_edev_by_phandle(dev, 1); in dwc3_qcom_register_extcon()
175 if (IS_ERR(qcom->host_edev)) in dwc3_qcom_register_extcon()
176 qcom->host_edev = NULL; in dwc3_qcom_register_extcon()
185 if (qcom->host_edev) in dwc3_qcom_register_extcon()
186 host_edev = qcom->host_edev; in dwc3_qcom_register_extcon()
188 host_edev = qcom->edev; in dwc3_qcom_register_extcon()
191 ret = devm_extcon_register_notifier(dev, host_edev, EXTCON_USB_HOST, in dwc3_qcom_register_extcon()
200 !extcon_get_state(host_edev, EXTCON_USB_HOST)) in dwc3_qcom_register_extcon()