Home
last modified time | relevance | path

Searched refs:gotgctl (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/dwc2/
H A Ddrd.c16 #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 …]
H A Dhcd.c3142 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 …]