Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/ux500/cryp/
H A Dcryp_core.c59 struct semaphore device_allocation; member
426 ret = down_interruptible(&driver_data.device_allocation); in cryp_get_device_data()
873 up(&driver_data.device_allocation); in ablk_dma_crypt()
937 up(&driver_data.device_allocation); in ablk_crypt()
1368 up(&driver_data.device_allocation); in ux500_cryp_probe()
1409 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_remove()
1419 up(&driver_data.device_allocation); in ux500_cryp_remove()
1460 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_shutdown()
1516 if (down_interruptible(&driver_data.device_allocation)) in ux500_cryp_suspend()
1553 up(&driver_data.device_allocation); in ux500_cryp_resume()
[all …]
/OK3568_Linux_fs/kernel/drivers/crypto/ux500/hash/
H A Dhash_core.c69 struct semaphore device_allocation; member
104 up(&driver_data.device_allocation); in release_hash_device()
374 ret = down_interruptible(&driver_data.device_allocation); in hash_get_device_data()
1735 up(&driver_data.device_allocation); in ux500_hash_probe()
1776 if (down_trylock(&driver_data.device_allocation)) in ux500_hash_remove()
1786 up(&driver_data.device_allocation); in ux500_hash_remove()
1829 if (down_trylock(&driver_data.device_allocation)) in ux500_hash_shutdown()
1877 if (down_interruptible(&driver_data.device_allocation)) in ux500_hash_suspend()
1914 up(&driver_data.device_allocation); in ux500_hash_resume()
1951 sema_init(&driver_data.device_allocation, 0); in ux500_hash_mod_init()