Searched refs:extcon_get_cable_state_ (Results 1 – 10 of 10) sorted by relevance
| /linux-4.4.14/drivers/usb/phy/ |
| D | phy-omap-otg.c | 132 otg_dev->id = extcon_get_cable_state_(extcon, EXTCON_USB_HOST); in omap_otg_probe() 133 otg_dev->vbus = extcon_get_cable_state_(extcon, EXTCON_USB); in omap_otg_probe()
|
| D | phy-qcom-8x16-usb.c | 237 state = extcon_get_cable_state_(qphy->vbus_edev, EXTCON_USB); in phy_8x16_init()
|
| D | phy-msm-usb.c | 1588 ret = extcon_get_cable_state_(ext_vbus, EXTCON_USB); in msm_otg_read_dt() 1607 ret = extcon_get_cable_state_(ext_id, EXTCON_USB_HOST); in msm_otg_read_dt()
|
| /linux-4.4.14/include/linux/ |
| D | extcon.h | 206 extern int extcon_get_cable_state_(struct extcon_dev *edev, unsigned int id); 297 static inline int extcon_get_cable_state_(struct extcon_dev *edev, in extcon_get_cable_state_() function
|
| /linux-4.4.14/Documentation/extcon/ |
| D | porting-android-switch-class | 57 3. Use extcon_get_cable_state_(edev, index) or 72 3. extcon_get_cable_state_(edev, 0) shows cable 1's state.
|
| /linux-4.4.14/drivers/extcon/ |
| D | extcon.c | 239 extcon_get_cable_state_(cable->edev, in cable_state_show() 358 int extcon_get_cable_state_(struct extcon_dev *edev, const unsigned int id) in extcon_get_cable_state_() function 374 EXPORT_SYMBOL_GPL(extcon_get_cable_state_); 391 return extcon_get_cable_state_(edev, id); in extcon_get_cable_state()
|
| D | extcon-arizona.c | 617 ret = extcon_get_cable_state_(info->edev, EXTCON_MECHANICAL); in arizona_hpdet_irq() 832 ret = extcon_get_cable_state_(info->edev, EXTCON_MECHANICAL); in arizona_micd_detect()
|
| /linux-4.4.14/drivers/usb/dwc3/ |
| D | dwc3-omap.c | 432 if (extcon_get_cable_state_(edev, EXTCON_USB) == true) in dwc3_omap_extcon_register() 434 if (extcon_get_cable_state_(edev, EXTCON_USB_HOST) == true) in dwc3_omap_extcon_register()
|
| /linux-4.4.14/drivers/usb/chipidea/ |
| D | core.c | 757 ret = extcon_get_cable_state_(cable->edev, EXTCON_USB); in ci_get_platdata() 769 ret = extcon_get_cable_state_(cable->edev, EXTCON_USB_HOST); in ci_get_platdata()
|
| /linux-4.4.14/drivers/usb/renesas_usbhs/ |
| D | common.c | 391 cable = extcon_get_cable_state_(priv->edev, EXTCON_USB_HOST); in usbhsc_hotplug()
|