Lines Matching refs:intmsk
44 u32 intmsk; in dwc2_enable_common_interrupts() local
53 intmsk = GINTSTS_MODEMIS | GINTSTS_OTGINT; in dwc2_enable_common_interrupts()
56 intmsk |= GINTSTS_RXFLVL; in dwc2_enable_common_interrupts()
58 intmsk |= GINTSTS_CONIDSTSCHNG; in dwc2_enable_common_interrupts()
60 intmsk |= GINTSTS_WKUPINT | GINTSTS_USBSUSP | in dwc2_enable_common_interrupts()
64 intmsk |= GINTSTS_LPMTRANRCVD; in dwc2_enable_common_interrupts()
66 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_common_interrupts()
157 u32 intmsk; in dwc2_enable_host_interrupts() local
169 intmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_enable_host_interrupts()
170 intmsk |= GINTSTS_DISCONNINT | GINTSTS_PRTINT | GINTSTS_HCHINT; in dwc2_enable_host_interrupts()
171 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_host_interrupts()
181 u32 intmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_disable_host_interrupts() local
184 intmsk &= ~(GINTSTS_SOF | GINTSTS_PRTINT | GINTSTS_HCHINT | in dwc2_disable_host_interrupts()
186 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_disable_host_interrupts()
613 u32 intmsk; in dwc2_hc_enable_ints() local
626 intmsk = dwc2_readl(hsotg, HAINTMSK); in dwc2_hc_enable_ints()
627 intmsk |= 1 << chan->hc_num; in dwc2_hc_enable_ints()
628 dwc2_writel(hsotg, intmsk, HAINTMSK); in dwc2_hc_enable_ints()
630 dev_vdbg(hsotg->dev, "set HAINTMSK to %08x\n", intmsk); in dwc2_hc_enable_ints()
633 intmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_hc_enable_ints()
634 intmsk |= GINTSTS_HCHINT; in dwc2_hc_enable_ints()
635 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_hc_enable_ints()
637 dev_vdbg(hsotg->dev, "set GINTMSK to %08x\n", intmsk); in dwc2_hc_enable_ints()