Home
last modified time | relevance | path

Searched refs:local_device_data (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/ux500/cryp/
H A Dcryp_core.c422 struct cryp_device_data *local_device_data = NULL; in cryp_get_device_data() local
435 local_device_data = container_of(device_node, in cryp_get_device_data()
437 spin_lock(&local_device_data->ctx_lock); in cryp_get_device_data()
439 if (local_device_data->current_ctx) { in cryp_get_device_data()
442 local_device_data->current_ctx = ctx; in cryp_get_device_data()
443 ctx->device = local_device_data; in cryp_get_device_data()
444 spin_unlock(&local_device_data->ctx_lock); in cryp_get_device_data()
447 spin_unlock(&local_device_data->ctx_lock); in cryp_get_device_data()
463 *device_data = local_device_data; in cryp_get_device_data()
/kernel/linux/linux-5.10/drivers/crypto/ux500/hash/
H A Dhash_core.c371 struct hash_device_data *local_device_data = NULL; in hash_get_device_data() local
382 local_device_data = container_of(device_node, in hash_get_device_data()
384 spin_lock(&local_device_data->ctx_lock); in hash_get_device_data()
386 if (local_device_data->current_ctx) { in hash_get_device_data()
389 local_device_data->current_ctx = ctx; in hash_get_device_data()
390 ctx->device = local_device_data; in hash_get_device_data()
391 spin_unlock(&local_device_data->ctx_lock); in hash_get_device_data()
394 spin_unlock(&local_device_data->ctx_lock); in hash_get_device_data()
410 *device_data = local_device_data; in hash_get_device_data()

Completed in 6 milliseconds