Home
last modified time | relevance | path

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

/linux/drivers/usb/chipidea/
H A Dotg.c29 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask) in hw_read_otgsc() function
124 enum ci_role role = hw_read_otgsc(ci, OTGSC_ID) in ci_otg_role()
139 if (hw_read_otgsc(ci, OTGSC_BSV) && !ci->vbus_active) in ci_handle_vbus_change()
141 else if (!hw_read_otgsc(ci, OTGSC_BSV) && ci->vbus_active) in ci_handle_vbus_change()
159 while (hw_read_otgsc(ci, mask)) { in hw_wait_vbus_lower_bsv()
H A Dotg_fsm.c652 otg_bsess_vld = hw_read_otgsc(ci, OTGSC_BSV); in ci_otg_fsm_event()
747 otgsc = hw_read_otgsc(ci, ~0); in ci_otg_fsm_irq()
810 ci->fsm.id = hw_read_otgsc(ci, OTGSC_ID) ? 1 : 0; in ci_hdrc_otg_fsm_init()
840 hw_read_otgsc(ci, OTGSC_BSV) ? 0 : 1; in ci_hdrc_otg_fsm_init()
842 hw_read_otgsc(ci, OTGSC_BSV) ? 1 : 0; in ci_hdrc_otg_fsm_init()
H A Dotg.h11 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask);
H A Ddebug.c275 tmp_reg = hw_read_otgsc(ci, ~0); in ci_registers_show()