Lines Matching refs:linkstat
161 enum musb_vbus_id_status linkstat; member
275 enum musb_vbus_id_status linkstat = MUSB_UNKNOWN; in twl4030_usb_linkstat() local
301 linkstat = MUSB_ID_GROUND; in twl4030_usb_linkstat()
303 linkstat = MUSB_VBUS_VALID; in twl4030_usb_linkstat()
305 linkstat = MUSB_VBUS_OFF; in twl4030_usb_linkstat()
307 if (twl->linkstat != MUSB_UNKNOWN) in twl4030_usb_linkstat()
308 linkstat = MUSB_VBUS_OFF; in twl4030_usb_linkstat()
311 kobject_uevent(&twl->dev->kobj, linkstat == MUSB_VBUS_VALID in twl4030_usb_linkstat()
315 status, status, linkstat); in twl4030_usb_linkstat()
321 return linkstat; in twl4030_usb_linkstat()
586 twl->linkstat = status; in twl4030_usb_irq()
636 twl->linkstat = MUSB_UNKNOWN; in twl4030_phy_init()
713 twl->linkstat = MUSB_UNKNOWN; in twl4030_usb_probe()
804 if (cable_present(twl->linkstat)) in twl4030_usb_remove()