Home
last modified time | relevance | path

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

/drivers/platform/x86/intel_speed_select_if/
Disst_if_mmio.c37 struct isst_if_device *punit_dev; in isst_if_mmio_rd_wr() local
52 punit_dev = pci_get_drvdata(pdev); in isst_if_mmio_rd_wr()
53 if (!punit_dev) in isst_if_mmio_rd_wr()
60 mutex_lock(&punit_dev->mutex); in isst_if_mmio_rd_wr()
62 writel(io_reg->value, punit_dev->punit_mmio+io_reg->reg); in isst_if_mmio_rd_wr()
65 io_reg->value = readl(punit_dev->punit_mmio+io_reg->reg); in isst_if_mmio_rd_wr()
68 mutex_unlock(&punit_dev->mutex); in isst_if_mmio_rd_wr()
81 struct isst_if_device *punit_dev; in isst_if_probe() local
87 punit_dev = devm_kzalloc(&pdev->dev, sizeof(*punit_dev), GFP_KERNEL); in isst_if_probe()
88 if (!punit_dev) in isst_if_probe()
[all …]
Disst_if_mbox_pci.c108 struct isst_if_device *punit_dev; in isst_if_mbox_proc_cmd() local
124 punit_dev = pci_get_drvdata(pdev); in isst_if_mbox_proc_cmd()
125 if (!punit_dev) in isst_if_mbox_proc_cmd()
132 mutex_lock(&punit_dev->mutex); in isst_if_mbox_proc_cmd()
140 mutex_unlock(&punit_dev->mutex); in isst_if_mbox_proc_cmd()
158 struct isst_if_device *punit_dev; in isst_if_mbox_probe() local
162 punit_dev = devm_kzalloc(&pdev->dev, sizeof(*punit_dev), GFP_KERNEL); in isst_if_mbox_probe()
163 if (!punit_dev) in isst_if_mbox_probe()
170 mutex_init(&punit_dev->mutex); in isst_if_mbox_probe()
171 pci_set_drvdata(pdev, punit_dev); in isst_if_mbox_probe()
[all …]
/drivers/platform/x86/
Dintel_pmc_ipc.c133 struct platform_device *punit_dev; member
693 ipcdev.punit_dev = pdev; in ipc_create_punit_device()
783 platform_device_unregister(ipcdev.punit_dev); in ipc_create_pmc_devices()
975 platform_device_unregister(ipcdev.punit_dev); in ipc_plat_probe()
986 platform_device_unregister(ipcdev.punit_dev); in ipc_plat_remove()