Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/dwc3/
Ddwc3-qcom.c81 struct extcon_dev *host_edev; member
160 struct extcon_dev *host_edev; in dwc3_qcom_register_extcon() local
172 qcom->host_edev = extcon_get_edev_by_phandle(dev, 1); in dwc3_qcom_register_extcon()
173 if (IS_ERR(qcom->host_edev)) in dwc3_qcom_register_extcon()
174 qcom->host_edev = NULL; in dwc3_qcom_register_extcon()
183 if (qcom->host_edev) in dwc3_qcom_register_extcon()
184 host_edev = qcom->host_edev; in dwc3_qcom_register_extcon()
186 host_edev = qcom->edev; in dwc3_qcom_register_extcon()
189 ret = devm_extcon_register_notifier(dev, host_edev, EXTCON_USB_HOST, in dwc3_qcom_register_extcon()
198 !extcon_get_state(host_edev, EXTCON_USB_HOST)) in dwc3_qcom_register_extcon()