Searched refs:hw_read_otgsc (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
H A D | otg.c | 25 * hw_read_otgsc returns otgsc register bits value. 29 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() 136 if (hw_read_otgsc(ci, OTGSC_BSV) && !ci->vbus_active) in ci_handle_vbus_change() 138 else if (!hw_read_otgsc(ci, OTGSC_BSV) && ci->vbus_active) in ci_handle_vbus_change() 155 while (hw_read_otgsc(ci, mask)) { in hw_wait_vbus_lower_bsv()
|
H A D | otg_fsm.c | 645 otg_bsess_vld = hw_read_otgsc(ci, OTGSC_BSV); in ci_otg_fsm_event() 740 otgsc = hw_read_otgsc(ci, ~0); in ci_otg_fsm_irq() 803 ci->fsm.id = hw_read_otgsc(ci, OTGSC_ID) ? 1 : 0; in ci_hdrc_otg_fsm_init() 833 hw_read_otgsc(ci, OTGSC_BSV) ? 0 : 1; in ci_hdrc_otg_fsm_init() 835 hw_read_otgsc(ci, OTGSC_BSV) ? 1 : 0; in ci_hdrc_otg_fsm_init()
|
H A D | otg.h | 11 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask);
|
H A D | core.c | 533 otgsc = hw_read_otgsc(ci, ~0); in ci_irq_handler() 1264 !hw_read_otgsc(ci, OTGSC_ID)) { in ci_otg_fsm_suspend_for_srp() 1277 if (!hw_read_otgsc(ci, OTGSC_ID)) { in ci_otg_fsm_wakeup_by_srp() 1308 u32 otgsc = hw_read_otgsc(ci, ~0); in ci_extcon_wakeup_int()
|
H A D | debug.c | 329 tmp_reg = hw_read_otgsc(ci, ~0); in ci_registers_show()
|
/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | otg.c | 25 * hw_read_otgsc - returns otgsc register bits value. 29 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() 136 if (hw_read_otgsc(ci, OTGSC_BSV) && !ci->vbus_active) in ci_handle_vbus_change() 138 else if (!hw_read_otgsc(ci, OTGSC_BSV) && ci->vbus_active) in ci_handle_vbus_change() 156 while (hw_read_otgsc(ci, mask)) { in hw_wait_vbus_lower_bsv()
|
H A D | otg_fsm.c | 652 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 D | otg.h | 11 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask);
|
H A D | core.c | 540 otgsc = hw_read_otgsc(ci, ~0); in ci_irq_handler() 872 if (ci->is_otg && hw_read_otgsc(ci, OTGSC_BSV)) in ci_power_lost_work() 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() 1330 u32 otgsc = hw_read_otgsc(ci, ~0); in ci_extcon_wakeup_int()
|
H A D | debug.c | 275 tmp_reg = hw_read_otgsc(ci, ~0); in ci_registers_show()
|
Completed in 8 milliseconds