Lines Matching refs:otgsc
1126 u32 otgsc = readl(USB_OTGSC); in msm_otg_init_sm() local
1131 if (otgsc & OTGSC_ID) in msm_otg_init_sm()
1136 if (otgsc & OTGSC_BSV) in msm_otg_init_sm()
1150 if (otgsc & OTGSC_BSV) in msm_otg_init_sm()
1261 u32 otgsc = 0; in msm_otg_irq() local
1270 otgsc = readl(USB_OTGSC); in msm_otg_irq()
1271 if (!(otgsc & (OTGSC_IDIS | OTGSC_BSVIS))) in msm_otg_irq()
1274 if ((otgsc & OTGSC_IDIS) && (otgsc & OTGSC_IDIE)) { in msm_otg_irq()
1275 if (otgsc & OTGSC_ID) in msm_otg_irq()
1281 } else if ((otgsc & OTGSC_BSVIS) && (otgsc & OTGSC_BSVIE)) { in msm_otg_irq()
1282 if (otgsc & OTGSC_BSV) in msm_otg_irq()
1290 writel(otgsc, USB_OTGSC); in msm_otg_irq()