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

/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c428 struct cryp_device_data *local_device_data = NULL; cryp_get_device_data() local
441 local_device_data = container_of(device_node, cryp_get_device_data()
443 spin_lock(&local_device_data->ctx_lock); cryp_get_device_data()
445 if (local_device_data->current_ctx) { cryp_get_device_data()
448 local_device_data->current_ctx = ctx; cryp_get_device_data()
449 ctx->device = local_device_data; cryp_get_device_data()
450 spin_unlock(&local_device_data->ctx_lock); cryp_get_device_data()
453 spin_unlock(&local_device_data->ctx_lock); cryp_get_device_data()
469 *device_data = local_device_data; cryp_get_device_data()
/linux-4.1.27/drivers/crypto/ux500/hash/
H A Dhash_core.c386 struct hash_device_data *local_device_data = NULL; hash_get_device_data() local
397 local_device_data = container_of(device_node, hash_get_device_data()
399 spin_lock(&local_device_data->ctx_lock); hash_get_device_data()
401 if (local_device_data->current_ctx) { hash_get_device_data()
404 local_device_data->current_ctx = ctx; hash_get_device_data()
405 ctx->device = local_device_data; hash_get_device_data()
406 spin_unlock(&local_device_data->ctx_lock); hash_get_device_data()
409 spin_unlock(&local_device_data->ctx_lock); hash_get_device_data()
425 *device_data = local_device_data; hash_get_device_data()

Completed in 88 milliseconds