Home
last modified time | relevance | path

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

/linux-4.4.14/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()
1521 up(&driver_data.device_allocation); in ux500_cryp_probe()
1562 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_remove()
1572 up(&driver_data.device_allocation); in ux500_cryp_remove()
1613 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_shutdown()
1669 if (down_interruptible(&driver_data.device_allocation)) in ux500_cryp_suspend()
1706 up(&driver_data.device_allocation); in ux500_cryp_resume()
[all …]
/linux-4.4.14/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()
1730 up(&driver_data.device_allocation); in ux500_hash_probe()
1771 if (down_trylock(&driver_data.device_allocation)) in ux500_hash_remove()
1781 up(&driver_data.device_allocation); in ux500_hash_remove()
1824 if (down_trylock(&driver_data.device_allocation)) in ux500_hash_shutdown()
1872 if (down_interruptible(&driver_data.device_allocation)) in ux500_hash_suspend()
1909 up(&driver_data.device_allocation); in ux500_hash_resume()
1946 sema_init(&driver_data.device_allocation, 0); in ux500_hash_mod_init()