Searched refs:punit_dev (Results 1 – 3 of 3) sorted by relevance
37 struct isst_if_device *punit_dev; in isst_if_mmio_rd_wr() local52 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() local87 punit_dev = devm_kzalloc(&pdev->dev, sizeof(*punit_dev), GFP_KERNEL); in isst_if_probe()88 if (!punit_dev) in isst_if_probe()[all …]
108 struct isst_if_device *punit_dev; in isst_if_mbox_proc_cmd() local124 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() local162 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 …]
133 struct platform_device *punit_dev; member693 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()