Home
last modified time | relevance | path

Searched refs:punit_mmio (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_if_mmio.c35 void __iomem *punit_mmio; member
74 writel(io_reg->value, punit_dev->punit_mmio+io_reg->reg); in isst_if_mmio_rd_wr()
77 io_reg->value = readl(punit_dev->punit_mmio+io_reg->reg); in isst_if_mmio_rd_wr()
123 punit_dev->punit_mmio = devm_ioremap_resource(&pdev->dev, &r); in isst_if_probe()
124 if (IS_ERR(punit_dev->punit_mmio)) in isst_if_probe()
125 return PTR_ERR(punit_dev->punit_mmio); in isst_if_probe()
157 punit_dev->range_0[i] = readl(punit_dev->punit_mmio + in isst_if_suspend()
165 punit_dev->range_1[i] = readl(punit_dev->punit_mmio + addr); in isst_if_suspend()
177 writel(punit_dev->range_0[i], punit_dev->punit_mmio + in isst_if_resume()
186 writel(punit_dev->range_1[i], punit_dev->punit_mmio + addr); in isst_if_resume()