Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/ux500/cryp/
Dcryp_core.c57 struct semaphore device_allocation; member
433 ret = down_interruptible(&driver_data.device_allocation); in cryp_get_device_data()
880 up(&driver_data.device_allocation); in ablk_dma_crypt()
946 up(&driver_data.device_allocation); in ablk_crypt()
1437 up(&driver_data.device_allocation); in ux500_cryp_probe()
1478 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_remove()
1488 up(&driver_data.device_allocation); in ux500_cryp_remove()
1529 if (down_trylock(&driver_data.device_allocation)) in ux500_cryp_shutdown()
1585 if (down_interruptible(&driver_data.device_allocation)) in ux500_cryp_suspend()
1622 up(&driver_data.device_allocation); in ux500_cryp_resume()
[all …]
/Linux-v5.4/drivers/crypto/ux500/hash/
Dhash_core.c68 struct semaphore device_allocation; member
103 up(&driver_data.device_allocation); in release_hash_device()
374 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()