Home
last modified time | relevance | path

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

/linux/drivers/usb/phy/
H A Dphy-tahvo.c47 int vbus_state; member
66 return sprintf(buf, "%s\n", tu->vbus_state ? "on" : "off"); in vbus_show()
113 prev_state = tu->vbus_state; in check_vbus_state()
114 tu->vbus_state = reg & TAHVO_STAT_VBUS; in check_vbus_state()
115 if (prev_state != tu->vbus_state) { in check_vbus_state()
116 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in check_vbus_state()
351 tu->vbus_state = retu_read(rdev, TAHVO_REG_IDSR) & TAHVO_STAT_VBUS; in tahvo_usb_probe()
370 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in tahvo_usb_probe()
H A Dphy-twl6030-usb.c209 u8 vbus_state, hw_state; in twl6030_usb_irq() local
214 vbus_state = twl6030_readb(twl, TWL_MODULE_MAIN_CHARGE, in twl6030_usb_irq()
217 if (vbus_state & VBUS_DET) { in twl6030_usb_irq()