Searched refs:OTGSC_ID (Results 1 – 4 of 4) sorted by relevance
63 val &= ~OTGSC_ID; /* host */ in hw_read_otgsc()65 val |= OTGSC_ID; /* device */ in hw_read_otgsc()122 enum ci_role role = hw_read_otgsc(ci, OTGSC_ID) in ci_otg_role()
105 #define OTGSC_ID BIT(8) macro
740 fsm->id = (otgsc & OTGSC_ID) ? 1 : 0; in ci_otg_fsm_irq()801 ci->fsm.id = hw_read_otgsc(ci, OTGSC_ID) ? 1 : 0; in ci_hdrc_otg_fsm_init()
1229 !hw_read_otgsc(ci, OTGSC_ID)) { in ci_otg_fsm_suspend_for_srp()1242 if (!hw_read_otgsc(ci, OTGSC_ID)) { in ci_otg_fsm_wakeup_by_srp()