hw_read_otgsc
!hw_read_otgsc(ci, OTGSC_ID)) {
if (!hw_read_otgsc(ci, OTGSC_ID)) {
u32 otgsc = hw_read_otgsc(ci, ~0);
otgsc = hw_read_otgsc(ci, ~0);
if (ci->is_otg && hw_read_otgsc(ci, OTGSC_BSV))
tmp_reg = hw_read_otgsc(ci, ~0);
enum ci_role role = hw_read_otgsc(ci, OTGSC_ID)
if (hw_read_otgsc(ci, OTGSC_BSV) && !ci->vbus_active)
else if (!hw_read_otgsc(ci, OTGSC_BSV) && ci->vbus_active)
while (hw_read_otgsc(ci, mask)) {
u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask);
otg_bsess_vld = hw_read_otgsc(ci, OTGSC_BSV);
otgsc = hw_read_otgsc(ci, ~0);
ci->fsm.id = hw_read_otgsc(ci, OTGSC_ID) ? 1 : 0;
hw_read_otgsc(ci, OTGSC_BSV) ? 0 : 1;
hw_read_otgsc(ci, OTGSC_BSV) ? 1 : 0;