Searched refs:device_allocation (Results 1 – 2 of 2) sorted by relevance
59 struct semaphore device_allocation; member427 ret = down_interruptible(&driver_data.device_allocation); in cryp_get_device_data()874 up(&driver_data.device_allocation); in ablk_dma_crypt()938 up(&driver_data.device_allocation); in ablk_crypt()1365 up(&driver_data.device_allocation); in ux500_cryp_probe()1406 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_remove()1416 up(&driver_data.device_allocation); in ux500_cryp_remove()1457 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_shutdown()1508 if (down_interruptible(&driver_data.device_allocation)) in ux500_cryp_suspend()1544 up(&driver_data.device_allocation); in ux500_cryp_resume()[all …]
70 struct semaphore device_allocation; member105 up(&driver_data.device_allocation); in release_hash_device()375 ret = down_interruptible(&driver_data.device_allocation); in hash_get_device_data()1728 up(&driver_data.device_allocation); in ux500_hash_probe()1769 if (down_trylock(&driver_data.device_allocation)) in ux500_hash_remove()1779 up(&driver_data.device_allocation); in ux500_hash_remove()1822 if (down_trylock(&driver_data.device_allocation)) in ux500_hash_shutdown()1870 if (down_interruptible(&driver_data.device_allocation)) in ux500_hash_suspend()1907 up(&driver_data.device_allocation); in ux500_hash_resume()1944 sema_init(&driver_data.device_allocation, 0); in ux500_hash_mod_init()