Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_if_mmio.c44 struct isst_if_device *punit_dev; in isst_if_mmio_rd_wr() local
60 punit_dev = pci_get_drvdata(pdev); in isst_if_mmio_rd_wr()
61 if (!punit_dev) in isst_if_mmio_rd_wr()
64 if (io_reg->reg < punit_dev->mmio_range[0].beg || in isst_if_mmio_rd_wr()
65 io_reg->reg > punit_dev->mmio_range[1].end) in isst_if_mmio_rd_wr()
72 mutex_lock(&punit_dev->mutex); in isst_if_mmio_rd_wr()
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()
80 mutex_unlock(&punit_dev->mutex); in isst_if_mmio_rd_wr()
94 struct isst_if_device *punit_dev; in isst_if_probe() local
[all …]
H A Disst_if_mbox_pci.c120 struct isst_if_device *punit_dev; in isst_if_mbox_proc_cmd() local
136 punit_dev = pci_get_drvdata(pdev); in isst_if_mbox_proc_cmd()
137 if (!punit_dev) in isst_if_mbox_proc_cmd()
144 mutex_lock(&punit_dev->mutex); in isst_if_mbox_proc_cmd()
152 mutex_unlock(&punit_dev->mutex); in isst_if_mbox_proc_cmd()
171 struct isst_if_device *punit_dev; in isst_if_mbox_probe() local
175 punit_dev = devm_kzalloc(&pdev->dev, sizeof(*punit_dev), GFP_KERNEL); in isst_if_mbox_probe()
176 if (!punit_dev) in isst_if_mbox_probe()
183 mutex_init(&punit_dev->mutex); in isst_if_mbox_probe()
184 pci_set_drvdata(pdev, punit_dev); in isst_if_mbox_probe()
[all …]
/linux/arch/x86/platform/atom/
H A Dpunit_atom_debug.c124 static const struct punit_device *punit_dev; variable
132 for (punit_devp = punit_dev; punit_devp->name; punit_devp++) { in punit_s2idle_check()
155 punit_dev = punit_device; in punit_s2idle_check_register()