Searched refs:punit_dev (Results 1 – 2 of 2) sorted by relevance
43 struct isst_if_device *punit_dev; in isst_if_mmio_rd_wr() local59 punit_dev = pci_get_drvdata(pdev); in isst_if_mmio_rd_wr()60 if (!punit_dev) in isst_if_mmio_rd_wr()63 if (io_reg->reg < punit_dev->mmio_range[0].beg || in isst_if_mmio_rd_wr()64 io_reg->reg > punit_dev->mmio_range[1].end) in isst_if_mmio_rd_wr()71 mutex_lock(&punit_dev->mutex); in isst_if_mmio_rd_wr()73 writel(io_reg->value, punit_dev->punit_mmio+io_reg->reg); in isst_if_mmio_rd_wr()76 io_reg->value = readl(punit_dev->punit_mmio+io_reg->reg); in isst_if_mmio_rd_wr()79 mutex_unlock(&punit_dev->mutex); in isst_if_mmio_rd_wr()93 struct isst_if_device *punit_dev; in isst_if_probe() local[all …]
120 struct isst_if_device *punit_dev; in isst_if_mbox_proc_cmd() local136 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() local175 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 …]