Searched refs:OTGSC_BSV (Results 1 - 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
H A D | otg.c | 46 val |= OTGSC_BSV; in hw_read_otgsc() 48 val &= ~OTGSC_BSV; in hw_read_otgsc() 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() 144 * than OTGSC_BSV before connecting to host. 153 u32 mask = OTGSC_BSV; in hw_wait_vbus_lower_bsv() 189 * Wait vbus lower than OTGSC_BSV before connecting in ci_handle_id_switch()
|
H A D | otg_fsm.c | 645 otg_bsess_vld = hw_read_otgsc(ci, OTGSC_BSV); in ci_otg_fsm_event() 758 if (otgsc & OTGSC_BSV) { in ci_otg_fsm_irq() 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 | bits.h | 108 #define OTGSC_BSV BIT(11) macro
|
/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | otg.c | 46 val |= OTGSC_BSV; in hw_read_otgsc() 48 val &= ~OTGSC_BSV; in hw_read_otgsc() 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() 144 * should be lower than OTGSC_BSV before connecting 154 u32 mask = OTGSC_BSV; in hw_wait_vbus_lower_bsv() 190 * Wait vbus lower than OTGSC_BSV before connecting in ci_handle_id_switch()
|
H A D | otg_fsm.c | 652 otg_bsess_vld = hw_read_otgsc(ci, OTGSC_BSV); in ci_otg_fsm_event() 765 if (otgsc & OTGSC_BSV) { in ci_otg_fsm_irq() 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 | bits.h | 108 #define OTGSC_BSV BIT(11) macro
|
H A D | core.c | 872 if (ci->is_otg && hw_read_otgsc(ci, OTGSC_BSV)) in ci_power_lost_work()
|
Completed in 8 milliseconds