Lines Matching refs:glpmcfg
327 u32 glpmcfg; in dwc2_wakeup_from_lpm_l1() local
335 glpmcfg = dwc2_readl(hsotg, GLPMCFG); in dwc2_wakeup_from_lpm_l1()
338 glpmcfg &= ~GLPMCFG_ENBLSLPM; in dwc2_wakeup_from_lpm_l1()
339 glpmcfg &= ~GLPMCFG_HIRD_THRES_EN; in dwc2_wakeup_from_lpm_l1()
340 dwc2_writel(hsotg, glpmcfg, GLPMCFG); in dwc2_wakeup_from_lpm_l1()
343 glpmcfg = dwc2_readl(hsotg, GLPMCFG); in dwc2_wakeup_from_lpm_l1()
345 if (!(glpmcfg & (GLPMCFG_COREL1RES_MASK | in dwc2_wakeup_from_lpm_l1()
565 u32 glpmcfg; in dwc2_handle_lpm_intr() local
575 glpmcfg = dwc2_readl(hsotg, GLPMCFG); in dwc2_handle_lpm_intr()
577 if (!(glpmcfg & GLPMCFG_LPMCAP)) { in dwc2_handle_lpm_intr()
582 hird = (glpmcfg & GLPMCFG_HIRD_MASK) >> GLPMCFG_HIRD_SHIFT; in dwc2_handle_lpm_intr()
583 hird_thres = (glpmcfg & GLPMCFG_HIRD_THRES_MASK & in dwc2_handle_lpm_intr()
585 hird_thres_en = glpmcfg & GLPMCFG_HIRD_THRES_EN; in dwc2_handle_lpm_intr()
586 enslpm = glpmcfg & GLPMCFG_ENBLSLPM; in dwc2_handle_lpm_intr()
607 glpmcfg = dwc2_readl(hsotg, GLPMCFG); in dwc2_handle_lpm_intr()
609 if (glpmcfg & GLPMCFG_SLPSTS) { in dwc2_handle_lpm_intr()
613 "Core is in L1 sleep glpmcfg=%08x\n", glpmcfg); in dwc2_handle_lpm_intr()