Home
last modified time | relevance | path

Searched refs:device_allocation (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/crypto/ux500/cryp/
Dcryp_core.c56 struct semaphore device_allocation; member
432 ret = down_interruptible(&driver_data.device_allocation); in cryp_get_device_data()
873 up(&driver_data.device_allocation); in ablk_dma_crypt()
939 up(&driver_data.device_allocation); in ablk_crypt()
1532 up(&driver_data.device_allocation); in ux500_cryp_probe()
1586 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_remove()
1596 up(&driver_data.device_allocation); in ux500_cryp_remove()
1656 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_shutdown()
1721 if (down_interruptible(&driver_data.device_allocation)) in ux500_cryp_suspend()
1758 up(&driver_data.device_allocation); in ux500_cryp_resume()
[all …]
/linux-4.1.27/drivers/crypto/ux500/hash/
Dhash_core.c83 struct semaphore device_allocation; member
118 up(&driver_data.device_allocation); in release_hash_device()
389 ret = down_interruptible(&driver_data.device_allocation); in hash_get_device_data()
1737 up(&driver_data.device_allocation); in ux500_hash_probe()
1790 if (down_trylock(&driver_data.device_allocation)) in ux500_hash_remove()
1800 up(&driver_data.device_allocation); in ux500_hash_remove()
1853 if (down_trylock(&driver_data.device_allocation)) in ux500_hash_shutdown()
1907 if (down_interruptible(&driver_data.device_allocation)) in ux500_hash_suspend()
1944 up(&driver_data.device_allocation); in ux500_hash_resume()
1980 sema_init(&driver_data.device_allocation, 0); in ux500_hash_mod_init()