Lines Matching refs:impd1
43 struct impd1_module *impd1 = dev_get_drvdata(dev); in impd1_tweak_control() local
47 cur = readl(impd1->base + IMPD1_CTRL) & ~mask; in impd1_tweak_control()
48 writel(cur | val, impd1->base + IMPD1_CTRL); in impd1_tweak_control()
325 struct impd1_module *impd1; in impd1_probe() local
336 impd1 = devm_kzalloc(&dev->dev, sizeof(struct impd1_module), in impd1_probe()
338 if (!impd1) in impd1_probe()
341 impd1->base = devm_ioremap(&dev->dev, dev->resource.start, SZ_4K); in impd1_probe()
342 if (!impd1->base) in impd1_probe()
345 integrator_impd1_clk_init(impd1->base, dev->id); in impd1_probe()
352 impd1->vic_base = devm_ioremap(&dev->dev, in impd1_probe()
355 if (!impd1->vic_base) in impd1_probe()
358 irq_base = vic_init_cascaded(impd1->vic_base, dev->irq, in impd1_probe()
361 lm_set_drvdata(dev, impd1); in impd1_probe()