Searched refs:OTGSC_ID (Results 1 – 4 of 4) sorted by relevance
64 val &= ~OTGSC_ID; /* host */ in hw_read_otgsc()66 val |= OTGSC_ID; /* device */ in hw_read_otgsc()124 enum ci_role role = hw_read_otgsc(ci, OTGSC_ID) in ci_otg_role()
105 #define OTGSC_ID BIT(8) macro
749 fsm->id = (otgsc & OTGSC_ID) ? 1 : 0; in ci_otg_fsm_irq()810 ci->fsm.id = hw_read_otgsc(ci, OTGSC_ID) ? 1 : 0; in ci_hdrc_otg_fsm_init()
1286 !hw_read_otgsc(ci, OTGSC_ID)) { in ci_otg_fsm_suspend_for_srp()1299 if (!hw_read_otgsc(ci, OTGSC_ID)) { in ci_otg_fsm_wakeup_by_srp()