hwspin 57 drivers/hwspinlock/sirf_hwspinlock.c struct sirf_hwspinlock *hwspin; hwspin 64 drivers/hwspinlock/sirf_hwspinlock.c hwspin = devm_kzalloc(&pdev->dev, hwspin 65 drivers/hwspinlock/sirf_hwspinlock.c struct_size(hwspin, bank.lock, hwspin 68 drivers/hwspinlock/sirf_hwspinlock.c if (!hwspin) hwspin 72 drivers/hwspinlock/sirf_hwspinlock.c hwspin->io_base = of_iomap(pdev->dev.of_node, 0); hwspin 73 drivers/hwspinlock/sirf_hwspinlock.c if (!hwspin->io_base) hwspin 77 drivers/hwspinlock/sirf_hwspinlock.c hwlock = &hwspin->bank.lock[idx]; hwspin 78 drivers/hwspinlock/sirf_hwspinlock.c hwlock->priv = hwspin->io_base + HW_SPINLOCK_OFFSET(idx); hwspin 81 drivers/hwspinlock/sirf_hwspinlock.c platform_set_drvdata(pdev, hwspin); hwspin 85 drivers/hwspinlock/sirf_hwspinlock.c ret = hwspin_lock_register(&hwspin->bank, &pdev->dev, hwspin 95 drivers/hwspinlock/sirf_hwspinlock.c iounmap(hwspin->io_base); hwspin 102 drivers/hwspinlock/sirf_hwspinlock.c struct sirf_hwspinlock *hwspin = platform_get_drvdata(pdev); hwspin 105 drivers/hwspinlock/sirf_hwspinlock.c ret = hwspin_lock_unregister(&hwspin->bank); hwspin 113 drivers/hwspinlock/sirf_hwspinlock.c iounmap(hwspin->io_base);