Searched refs:hw_read_otgsc (Results 1 – 5 of 5) sorted by relevance
/drivers/usb/chipidea/ |
D | otg.c | 28 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask) in hw_read_otgsc() function 122 enum ci_role role = hw_read_otgsc(ci, OTGSC_ID) in ci_otg_role() 134 if (hw_read_otgsc(ci, OTGSC_BSV) && !ci->vbus_active) in ci_handle_vbus_change() 136 else if (!hw_read_otgsc(ci, OTGSC_BSV) && ci->vbus_active) in ci_handle_vbus_change() 153 while (hw_read_otgsc(ci, mask)) { in hw_wait_vbus_lower_bsv()
|
D | otg_fsm.c | 643 otg_bsess_vld = hw_read_otgsc(ci, OTGSC_BSV); in ci_otg_fsm_event() 738 otgsc = hw_read_otgsc(ci, ~0); in ci_otg_fsm_irq() 801 ci->fsm.id = hw_read_otgsc(ci, OTGSC_ID) ? 1 : 0; in ci_hdrc_otg_fsm_init() 831 hw_read_otgsc(ci, OTGSC_BSV) ? 0 : 1; in ci_hdrc_otg_fsm_init() 833 hw_read_otgsc(ci, OTGSC_BSV) ? 1 : 0; in ci_hdrc_otg_fsm_init()
|
D | otg.h | 11 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask);
|
D | core.c | 551 otgsc = hw_read_otgsc(ci, ~0); in ci_irq() 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()
|
D | debug.c | 329 tmp_reg = hw_read_otgsc(ci, ~0); in ci_registers_show()
|