Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/musb/
H A Dtusb6010.c434 u32 otg_stat, prcm_mngmt; in tusb_musb_vbus_status() local
437 otg_stat = musb_readl(tbase, TUSB_DEV_OTG_STAT); in tusb_musb_vbus_status()
448 otg_stat = musb_readl(tbase, TUSB_DEV_OTG_STAT); in tusb_musb_vbus_status()
452 if (otg_stat & TUSB_DEV_OTG_STAT_VBUS_VALID) in tusb_musb_vbus_status()
581 u32 otg_stat; in tusb_musb_set_vbus() local
638 otg_stat = musb_readl(tbase, TUSB_DEV_OTG_STAT); in tusb_musb_set_mode()
673 otg_stat = musb_readl(tbase, TUSB_DEV_OTG_STAT); in tusb_musb_set_mode()
675 !(otg_stat & TUSB_DEV_OTG_STAT_ID_STATUS)) in tusb_musb_set_mode()
677 "otg_stat: %08x\n", otg_stat); in tusb_musb_set_mode()
717 if (otg_stat & TUSB_DEV_OTG_STAT_SESS_END) { in tusb_otg_ints()
[all …]