Searched refs:gotgctl (Results 1 – 6 of 6) sorted by relevance
/drivers/usb/dwc2/ |
D | drd.c | 16 #define dwc2_ovr_gotgctl(gotgctl) \ argument 17 ((gotgctl) |= GOTGCTL_BVALOEN | GOTGCTL_AVALOEN | GOTGCTL_VBVALOEN | \ 23 u32 gotgctl; in dwc2_ovr_init() local 27 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_ovr_init() 28 dwc2_ovr_gotgctl(gotgctl); in dwc2_ovr_init() 29 gotgctl &= ~(GOTGCTL_BVALOVAL | GOTGCTL_AVALOVAL | GOTGCTL_VBVALOVAL); in dwc2_ovr_init() 31 gotgctl |= GOTGCTL_AVALOVAL | GOTGCTL_VBVALOVAL; in dwc2_ovr_init() 33 gotgctl |= GOTGCTL_BVALOVAL | GOTGCTL_VBVALOVAL; in dwc2_ovr_init() 34 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_ovr_init() 44 u32 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_ovr_avalid() local [all …]
|
D | core_intr.c | 85 u32 gotgctl; in dwc2_handle_otg_intr() local 89 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr() 97 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr() 109 if (gotgctl & GOTGCTL_DEVHNPEN) { in dwc2_handle_otg_intr() 123 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr() 124 gotgctl &= ~GOTGCTL_DEVHNPEN; in dwc2_handle_otg_intr() 125 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 131 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr() 132 if (gotgctl & GOTGCTL_SESREQSCS) { in dwc2_handle_otg_intr() 138 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr() [all …]
|
D | platform.c | 314 if (gr->gotgctl & GOTGCTL_CURMODE_HOST) in dwc2_driver_remove() 657 u32 ggpio, gotgctl; in dwc2_suspend() local 666 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_suspend() 668 gotgctl |= GOTGCTL_DBNCE_FLTR_BYPASS; in dwc2_suspend() 669 gotgctl |= GOTGCTL_BVALOEN | GOTGCTL_AVALOEN; in dwc2_suspend() 671 if (gotgctl & GOTGCTL_ASESVLD) in dwc2_suspend() 672 gotgctl |= GOTGCTL_AVALOVAL; in dwc2_suspend() 673 if (gotgctl & GOTGCTL_BSESVLD) in dwc2_suspend() 674 gotgctl |= GOTGCTL_BVALOVAL; in dwc2_suspend() 675 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_suspend() [all …]
|
D | core.c | 46 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers() 85 dwc2_writel(hsotg, gr->gotgctl, GOTGCTL); in dwc2_restore_global_registers() 119 if (gr->gotgctl & GOTGCTL_CURMODE_HOST) in dwc2_exit_partial_power_down() 345 u32 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_iddig_filter_enabled() local 347 if (gotgctl & GOTGCTL_DBNCE_FLTR_BYPASS) in dwc2_iddig_filter_enabled() 411 u32 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_core_reset() local 414 if (!(gotgctl & GOTGCTL_CONID_B) || in dwc2_core_reset()
|
D | hcd.c | 3142 u32 gotgctl; in dwc2_conn_id_status_change() local 3147 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_conn_id_status_change() 3148 dev_dbg(hsotg->dev, "gotgctl=%0x\n", gotgctl); in dwc2_conn_id_status_change() 3150 !!(gotgctl & GOTGCTL_CONID_B)); in dwc2_conn_id_status_change() 3153 if (gotgctl & GOTGCTL_CONID_B) { in dwc2_conn_id_status_change() 3173 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_conn_id_status_change() 3174 if (!(gotgctl & GOTGCTL_CONID_B)) in dwc2_conn_id_status_change() 3275 u32 gotgctl; in dwc2_port_suspend() local 3283 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_port_suspend() 3284 gotgctl |= GOTGCTL_HSTSETHNPEN; in dwc2_port_suspend() [all …]
|
D | core.h | 680 u32 gotgctl; member
|