hprt0             755 drivers/usb/dwc2/core.h 	u32 hprt0;
hprt0              84 drivers/usb/dwc2/core_intr.c 	u32 hprt0 = dwc2_readl(hsotg, HPRT0);
hprt0              86 drivers/usb/dwc2/core_intr.c 	if (hprt0 & HPRT0_ENACHG) {
hprt0              87 drivers/usb/dwc2/core_intr.c 		hprt0 &= ~HPRT0_ENA;
hprt0              88 drivers/usb/dwc2/core_intr.c 		dwc2_writel(hsotg, hprt0, HPRT0);
hprt0             364 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0             368 drivers/usb/dwc2/hcd.c 	hprt0 = dwc2_readl(hsotg, HPRT0);
hprt0             392 drivers/usb/dwc2/hcd.c 	if ((hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT == HPRT0_SPD_HIGH_SPEED)
hprt0            1680 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0            1688 drivers/usb/dwc2/hcd.c 		hprt0 = dwc2_read_hprt0(hsotg);
hprt0            1689 drivers/usb/dwc2/hcd.c 		hprt0 |= HPRT0_RST;
hprt0            1690 drivers/usb/dwc2/hcd.c 		dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            1777 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0            1830 drivers/usb/dwc2/hcd.c 		hprt0 = dwc2_readl(hsotg, HPRT0);
hprt0            1831 drivers/usb/dwc2/hcd.c 		if (!(hprt0 & HPRT0_CONNDET) && (hprt0 & HPRT0_CONNSTS))
hprt0            1898 drivers/usb/dwc2/hcd.c 		u32 hprt0 = dwc2_readl(hsotg, HPRT0);
hprt0            1899 drivers/usb/dwc2/hcd.c 		u32 prtspd = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT;
hprt0            2285 drivers/usb/dwc2/hcd.c 		u32 hprt0 = dwc2_read_hprt0(hsotg);
hprt0            2288 drivers/usb/dwc2/hcd.c 			!!(hprt0 & HPRT0_PWR));
hprt0            2289 drivers/usb/dwc2/hcd.c 		if (!(hprt0 & HPRT0_PWR)) {
hprt0            2290 drivers/usb/dwc2/hcd.c 			hprt0 |= HPRT0_PWR;
hprt0            2291 drivers/usb/dwc2/hcd.c 			dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            3250 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0            3258 drivers/usb/dwc2/hcd.c 	hprt0 = dwc2_read_hprt0(hsotg);
hprt0            3259 drivers/usb/dwc2/hcd.c 	dev_dbg(hsotg->dev, "Resume: HPRT0=%0x\n", hprt0);
hprt0            3260 drivers/usb/dwc2/hcd.c 	hprt0 &= ~HPRT0_RES;
hprt0            3261 drivers/usb/dwc2/hcd.c 	dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            3283 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0            3298 drivers/usb/dwc2/hcd.c 	hprt0 = dwc2_read_hprt0(hsotg);
hprt0            3299 drivers/usb/dwc2/hcd.c 	hprt0 |= HPRT0_SUSP;
hprt0            3300 drivers/usb/dwc2/hcd.c 	dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            3334 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0            3352 drivers/usb/dwc2/hcd.c 	hprt0 = dwc2_read_hprt0(hsotg);
hprt0            3353 drivers/usb/dwc2/hcd.c 	hprt0 |= HPRT0_RES;
hprt0            3354 drivers/usb/dwc2/hcd.c 	hprt0 &= ~HPRT0_SUSP;
hprt0            3355 drivers/usb/dwc2/hcd.c 	dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            3361 drivers/usb/dwc2/hcd.c 	hprt0 = dwc2_read_hprt0(hsotg);
hprt0            3362 drivers/usb/dwc2/hcd.c 	hprt0 &= ~(HPRT0_RES | HPRT0_SUSP);
hprt0            3363 drivers/usb/dwc2/hcd.c 	dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            3374 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0            3406 drivers/usb/dwc2/hcd.c 			hprt0 = dwc2_read_hprt0(hsotg);
hprt0            3407 drivers/usb/dwc2/hcd.c 			hprt0 |= HPRT0_ENA;
hprt0            3408 drivers/usb/dwc2/hcd.c 			dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            3426 drivers/usb/dwc2/hcd.c 			hprt0 = dwc2_read_hprt0(hsotg);
hprt0            3427 drivers/usb/dwc2/hcd.c 			pwr = hprt0 & HPRT0_PWR;
hprt0            3428 drivers/usb/dwc2/hcd.c 			hprt0 &= ~HPRT0_PWR;
hprt0            3429 drivers/usb/dwc2/hcd.c 			dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            3552 drivers/usb/dwc2/hcd.c 		hprt0 = dwc2_readl(hsotg, HPRT0);
hprt0            3553 drivers/usb/dwc2/hcd.c 		dev_vdbg(hsotg->dev, "  HPRT0: 0x%08x\n", hprt0);
hprt0            3555 drivers/usb/dwc2/hcd.c 		if (hprt0 & HPRT0_CONNSTS)
hprt0            3557 drivers/usb/dwc2/hcd.c 		if (hprt0 & HPRT0_ENA)
hprt0            3559 drivers/usb/dwc2/hcd.c 		if (hprt0 & HPRT0_SUSP)
hprt0            3561 drivers/usb/dwc2/hcd.c 		if (hprt0 & HPRT0_OVRCURRACT)
hprt0            3563 drivers/usb/dwc2/hcd.c 		if (hprt0 & HPRT0_RST)
hprt0            3565 drivers/usb/dwc2/hcd.c 		if (hprt0 & HPRT0_PWR)
hprt0            3568 drivers/usb/dwc2/hcd.c 		speed = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT;
hprt0            3574 drivers/usb/dwc2/hcd.c 		if (hprt0 & HPRT0_TSTCTL_MASK)
hprt0            3640 drivers/usb/dwc2/hcd.c 			hprt0 = dwc2_read_hprt0(hsotg);
hprt0            3641 drivers/usb/dwc2/hcd.c 			pwr = hprt0 & HPRT0_PWR;
hprt0            3642 drivers/usb/dwc2/hcd.c 			hprt0 |= HPRT0_PWR;
hprt0            3643 drivers/usb/dwc2/hcd.c 			dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            3652 drivers/usb/dwc2/hcd.c 			hprt0 = dwc2_read_hprt0(hsotg);
hprt0            3661 drivers/usb/dwc2/hcd.c 			hprt0 = dwc2_read_hprt0(hsotg);
hprt0            3662 drivers/usb/dwc2/hcd.c 			pwr = hprt0 & HPRT0_PWR;
hprt0            3664 drivers/usb/dwc2/hcd.c 			hprt0 &= ~HPRT0_SUSP;
hprt0            3672 drivers/usb/dwc2/hcd.c 				hprt0 |= HPRT0_PWR | HPRT0_RST;
hprt0            3674 drivers/usb/dwc2/hcd.c 					"In host mode, hprt0=%08x\n", hprt0);
hprt0            3675 drivers/usb/dwc2/hcd.c 				dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            3682 drivers/usb/dwc2/hcd.c 			hprt0 &= ~HPRT0_RST;
hprt0            3683 drivers/usb/dwc2/hcd.c 			dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            3694 drivers/usb/dwc2/hcd.c 			hprt0 = dwc2_read_hprt0(hsotg);
hprt0            3697 drivers/usb/dwc2/hcd.c 			hprt0 &= ~HPRT0_TSTCTL_MASK;
hprt0            3698 drivers/usb/dwc2/hcd.c 			hprt0 |= (windex >> 8) << HPRT0_TSTCTL_SHIFT;
hprt0            3699 drivers/usb/dwc2/hcd.c 			dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            4188 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0            4194 drivers/usb/dwc2/hcd.c 	hprt0 = dwc2_read_hprt0(hsotg);
hprt0            4195 drivers/usb/dwc2/hcd.c 	hprt0 &= ~HPRT0_RST;
hprt0            4196 drivers/usb/dwc2/hcd.c 	dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            4229 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0            4246 drivers/usb/dwc2/hcd.c 	hprt0 = dwc2_read_hprt0(hsotg);
hprt0            4248 drivers/usb/dwc2/hcd.c 	if (hprt0 & HPRT0_PWR) {
hprt0            4277 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0            4286 drivers/usb/dwc2/hcd.c 	hprt0 = dwc2_read_hprt0(hsotg);
hprt0            4296 drivers/usb/dwc2/hcd.c 	if (hprt0 & HPRT0_PWR)
hprt0            4307 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0            4332 drivers/usb/dwc2/hcd.c 		hprt0 = dwc2_read_hprt0(hsotg);
hprt0            4333 drivers/usb/dwc2/hcd.c 		if (hprt0 & HPRT0_CONNSTS) {
hprt0            4334 drivers/usb/dwc2/hcd.c 			hprt0 |= HPRT0_SUSP;
hprt0            4336 drivers/usb/dwc2/hcd.c 				hprt0 &= ~HPRT0_PWR;
hprt0            4337 drivers/usb/dwc2/hcd.c 			dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            5320 drivers/usb/dwc2/hcd.c 	hr->hprt0 = dwc2_read_hprt0(hsotg);
hprt0            5357 drivers/usb/dwc2/hcd.c 	dwc2_writel(hsotg, hr->hprt0, HPRT0);
hprt0            5374 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0            5394 drivers/usb/dwc2/hcd.c 	hprt0 = dwc2_readl(hsotg, HPRT0);
hprt0            5395 drivers/usb/dwc2/hcd.c 	hprt0 |= HPRT0_SUSP;
hprt0            5396 drivers/usb/dwc2/hcd.c 	hprt0 &= ~HPRT0_ENA;
hprt0            5397 drivers/usb/dwc2/hcd.c 	dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            5484 drivers/usb/dwc2/hcd.c 	u32 hprt0;
hprt0            5525 drivers/usb/dwc2/hcd.c 	hprt0 = hr->hprt0;
hprt0            5526 drivers/usb/dwc2/hcd.c 	hprt0 |= HPRT0_PWR;
hprt0            5527 drivers/usb/dwc2/hcd.c 	hprt0 &= ~HPRT0_ENA;
hprt0            5528 drivers/usb/dwc2/hcd.c 	hprt0 &= ~HPRT0_SUSP;
hprt0            5529 drivers/usb/dwc2/hcd.c 	dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            5531 drivers/usb/dwc2/hcd.c 	hprt0 = hr->hprt0;
hprt0            5532 drivers/usb/dwc2/hcd.c 	hprt0 |= HPRT0_PWR;
hprt0            5533 drivers/usb/dwc2/hcd.c 	hprt0 &= ~HPRT0_ENA;
hprt0            5534 drivers/usb/dwc2/hcd.c 	hprt0 &= ~HPRT0_SUSP;
hprt0            5537 drivers/usb/dwc2/hcd.c 		hprt0 |= HPRT0_RST;
hprt0            5538 drivers/usb/dwc2/hcd.c 		dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            5542 drivers/usb/dwc2/hcd.c 		hprt0 &= ~HPRT0_RST;
hprt0            5543 drivers/usb/dwc2/hcd.c 		dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            5545 drivers/usb/dwc2/hcd.c 		hprt0 |= HPRT0_RES;
hprt0            5546 drivers/usb/dwc2/hcd.c 		dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            5550 drivers/usb/dwc2/hcd.c 		hprt0 &= ~HPRT0_RES;
hprt0            5551 drivers/usb/dwc2/hcd.c 		dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            5554 drivers/usb/dwc2/hcd.c 	hprt0 = dwc2_readl(hsotg, HPRT0);
hprt0            5555 drivers/usb/dwc2/hcd.c 	hprt0 |= HPRT0_CONNDET;
hprt0            5556 drivers/usb/dwc2/hcd.c 	hprt0 |= HPRT0_ENACHG;
hprt0            5557 drivers/usb/dwc2/hcd.c 	hprt0 &= ~HPRT0_ENA;
hprt0            5558 drivers/usb/dwc2/hcd.c 	dwc2_writel(hsotg, hprt0, HPRT0);
hprt0            5560 drivers/usb/dwc2/hcd.c 	hprt0 = dwc2_readl(hsotg, HPRT0);
hprt0             493 drivers/usb/dwc2/hcd.h 	u32 hprt0 = dwc2_readl(hsotg, HPRT0);
hprt0             495 drivers/usb/dwc2/hcd.h 	hprt0 &= ~(HPRT0_ENA | HPRT0_CONNDET | HPRT0_ENACHG | HPRT0_OVRCURRCHG);
hprt0             496 drivers/usb/dwc2/hcd.h 	return hprt0;
hprt0             263 drivers/usb/dwc2/hcd_intr.c static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0,
hprt0             291 drivers/usb/dwc2/hcd_intr.c 	prtspd = (hprt0 & HPRT0_SPD_MASK) >> HPRT0_SPD_SHIFT;
hprt0             357 drivers/usb/dwc2/hcd_intr.c 	u32 hprt0;
hprt0             362 drivers/usb/dwc2/hcd_intr.c 	hprt0 = dwc2_readl(hsotg, HPRT0);
hprt0             363 drivers/usb/dwc2/hcd_intr.c 	hprt0_modify = hprt0;
hprt0             376 drivers/usb/dwc2/hcd_intr.c 	if (hprt0 & HPRT0_CONNDET) {
hprt0             381 drivers/usb/dwc2/hcd_intr.c 			 hprt0);
hprt0             394 drivers/usb/dwc2/hcd_intr.c 	if (hprt0 & HPRT0_ENACHG) {
hprt0             398 drivers/usb/dwc2/hcd_intr.c 			 hprt0, !!(hprt0 & HPRT0_ENA));
hprt0             399 drivers/usb/dwc2/hcd_intr.c 		if (hprt0 & HPRT0_ENA) {
hprt0             401 drivers/usb/dwc2/hcd_intr.c 			dwc2_hprt0_enable(hsotg, hprt0, &hprt0_modify);
hprt0             417 drivers/usb/dwc2/hcd_intr.c 	if (hprt0 & HPRT0_OVRCURRCHG) {
hprt0             422 drivers/usb/dwc2/hcd_intr.c 			 hprt0);