Lines Matching refs:lic
89 static struct tegra_ictlr_info *lic; variable
133 lic->ictlr_wake_mask[index] |= mask; in tegra_set_wake()
135 lic->ictlr_wake_mask[index] &= ~mask; in tegra_set_wake()
151 void __iomem *ictlr = lic->base[i]; in tegra_ictlr_suspend()
154 lic->cpu_ier[i] = readl_relaxed(ictlr + ICTLR_CPU_IER); in tegra_ictlr_suspend()
155 lic->cpu_iep[i] = readl_relaxed(ictlr + ICTLR_CPU_IEP_CLASS); in tegra_ictlr_suspend()
156 lic->cop_ier[i] = readl_relaxed(ictlr + ICTLR_COP_IER); in tegra_ictlr_suspend()
157 lic->cop_iep[i] = readl_relaxed(ictlr + ICTLR_COP_IEP_CLASS); in tegra_ictlr_suspend()
166 writel_relaxed(lic->ictlr_wake_mask[i], ictlr + ICTLR_CPU_IER_SET); in tegra_ictlr_suspend()
180 void __iomem *ictlr = lic->base[i]; in tegra_ictlr_resume()
182 writel_relaxed(lic->cpu_iep[i], in tegra_ictlr_resume()
185 writel_relaxed(lic->cpu_ier[i], in tegra_ictlr_resume()
187 writel_relaxed(lic->cop_iep[i], in tegra_ictlr_resume()
190 writel_relaxed(lic->cop_ier[i], in tegra_ictlr_resume()
310 lic = kzalloc(sizeof(*lic), GFP_KERNEL); in tegra_ictlr_init()
311 if (!lic) in tegra_ictlr_init()
321 lic->base[i] = base; in tegra_ictlr_init()
344 lic); in tegra_ictlr_init()
360 iounmap(lic->base[i]); in tegra_ictlr_init()
362 kfree(lic); in tegra_ictlr_init()