OTGSC_BSV
if (ci->is_otg && hw_read_otgsc(ci, OTGSC_BSV))
if (hw_read_otgsc(ci, OTGSC_BSV) && !ci->vbus_active)
else if (!hw_read_otgsc(ci, OTGSC_BSV) && ci->vbus_active)
u32 mask = OTGSC_BSV;
val |= OTGSC_BSV;
val &= ~OTGSC_BSV;
otg_bsess_vld = hw_read_otgsc(ci, OTGSC_BSV);
if (otgsc & OTGSC_BSV) {
hw_read_otgsc(ci, OTGSC_BSV) ? 0 : 1;
hw_read_otgsc(ci, OTGSC_BSV) ? 1 : 0;