Searched refs:device_allocation (Results 1 – 2 of 2) sorted by relevance
57 struct semaphore device_allocation; member433 ret = down_interruptible(&driver_data.device_allocation); in cryp_get_device_data()874 up(&driver_data.device_allocation); in ablk_dma_crypt()940 up(&driver_data.device_allocation); in ablk_crypt()1518 up(&driver_data.device_allocation); in ux500_cryp_probe()1559 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_remove()1569 up(&driver_data.device_allocation); in ux500_cryp_remove()1610 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_shutdown()1666 if (down_interruptible(&driver_data.device_allocation)) in ux500_cryp_suspend()1703 up(&driver_data.device_allocation); in ux500_cryp_resume()[all …]
68 struct semaphore device_allocation; member103 up(&driver_data.device_allocation); in release_hash_device()374 ret = down_interruptible(&driver_data.device_allocation); in hash_get_device_data()1726 up(&driver_data.device_allocation); in ux500_hash_probe()1767 if (down_trylock(&driver_data.device_allocation)) in ux500_hash_remove()1777 up(&driver_data.device_allocation); in ux500_hash_remove()1820 if (down_trylock(&driver_data.device_allocation)) in ux500_hash_shutdown()1868 if (down_interruptible(&driver_data.device_allocation)) in ux500_hash_suspend()1905 up(&driver_data.device_allocation); in ux500_hash_resume()1942 sema_init(&driver_data.device_allocation, 0); in ux500_hash_mod_init()