Lines Matching refs:intmsk
432 u32 intmsk; in dwc2_enable_common_interrupts() local
441 intmsk = GINTSTS_MODEMIS | GINTSTS_OTGINT; in dwc2_enable_common_interrupts()
444 intmsk |= GINTSTS_RXFLVL; in dwc2_enable_common_interrupts()
446 intmsk |= GINTSTS_CONIDSTSCHNG; in dwc2_enable_common_interrupts()
448 intmsk |= GINTSTS_WKUPINT | GINTSTS_USBSUSP | in dwc2_enable_common_interrupts()
451 dwc2_writel(intmsk, hsotg->regs + GINTMSK); in dwc2_enable_common_interrupts()
853 u32 intmsk; in dwc2_enable_host_interrupts() local
865 intmsk = dwc2_readl(hsotg->regs + GINTMSK); in dwc2_enable_host_interrupts()
866 intmsk |= GINTSTS_DISCONNINT | GINTSTS_PRTINT | GINTSTS_HCHINT; in dwc2_enable_host_interrupts()
867 dwc2_writel(intmsk, hsotg->regs + GINTMSK); in dwc2_enable_host_interrupts()
877 u32 intmsk = dwc2_readl(hsotg->regs + GINTMSK); in dwc2_disable_host_interrupts() local
880 intmsk &= ~(GINTSTS_SOF | GINTSTS_PRTINT | GINTSTS_HCHINT | in dwc2_disable_host_interrupts()
882 dwc2_writel(intmsk, hsotg->regs + GINTMSK); in dwc2_disable_host_interrupts()
1257 u32 intmsk; in dwc2_hc_enable_ints() local
1270 intmsk = dwc2_readl(hsotg->regs + HAINTMSK); in dwc2_hc_enable_ints()
1271 intmsk |= 1 << chan->hc_num; in dwc2_hc_enable_ints()
1272 dwc2_writel(intmsk, hsotg->regs + HAINTMSK); in dwc2_hc_enable_ints()
1274 dev_vdbg(hsotg->dev, "set HAINTMSK to %08x\n", intmsk); in dwc2_hc_enable_ints()
1277 intmsk = dwc2_readl(hsotg->regs + GINTMSK); in dwc2_hc_enable_ints()
1278 intmsk |= GINTSTS_HCHINT; in dwc2_hc_enable_ints()
1279 dwc2_writel(intmsk, hsotg->regs + GINTMSK); in dwc2_hc_enable_ints()
1281 dev_vdbg(hsotg->dev, "set GINTMSK to %08x\n", intmsk); in dwc2_hc_enable_ints()