Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/phy/
Dphy-omap-otg.c133 otg_dev->id = extcon_get_cable_state(extcon, "USB-HOST"); in omap_otg_probe()
134 otg_dev->vbus = extcon_get_cable_state(extcon, "USB"); in omap_otg_probe()
/linux-4.1.27/include/linux/
Dextcon.h228 extern int extcon_get_cable_state(struct extcon_dev *edev,
328 static inline int extcon_get_cable_state(struct extcon_dev *edev, in extcon_get_cable_state() function
/linux-4.1.27/Documentation/extcon/
Dporting-android-switch-class58 extcon_get_cable_state(edev, cable_name) instead of
73 extcon_get_cable_state(edev, "1") shows cable 1's state.
/linux-4.1.27/drivers/usb/dwc3/
Ddwc3-omap.c470 if (extcon_get_cable_state(edev, "USB") == true) in dwc3_omap_extcon_register()
472 if (extcon_get_cable_state(edev, "USB-HOST") == true) in dwc3_omap_extcon_register()
/linux-4.1.27/drivers/extcon/
Dextcon.c333 int extcon_get_cable_state(struct extcon_dev *edev, const char *cable_name) in extcon_get_cable_state() function
338 EXPORT_SYMBOL_GPL(extcon_get_cable_state);
/linux-4.1.27/drivers/usb/renesas_usbhs/
Dcommon.c391 cable = extcon_get_cable_state(priv->edev, "USB-HOST"); in usbhsc_hotplug()