Home
last modified time | relevance | path

Searched refs:OTGSC_ID (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/usb/chipidea/
H A Dotg.c64 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()
H A Dbits.h105 #define OTGSC_ID BIT(8) macro
H A Dotg_fsm.c742 fsm->id = (otgsc & OTGSC_ID) ? 1 : 0; in ci_otg_fsm_irq()
803 ci->fsm.id = hw_read_otgsc(ci, OTGSC_ID) ? 1 : 0; in ci_hdrc_otg_fsm_init()
H A Dcore.c1248 !hw_read_otgsc(ci, OTGSC_ID)) { in ci_otg_fsm_suspend_for_srp()
1261 if (!hw_read_otgsc(ci, OTGSC_ID)) { in ci_otg_fsm_wakeup_by_srp()