Searched refs:local_device_data (Results 1 – 2 of 2) sorted by relevance
423 struct cryp_device_data *local_device_data = NULL; in cryp_get_device_data() local436 local_device_data = container_of(device_node, in cryp_get_device_data()438 spin_lock(&local_device_data->ctx_lock); in cryp_get_device_data()440 if (local_device_data->current_ctx) { in cryp_get_device_data()443 local_device_data->current_ctx = ctx; in cryp_get_device_data()444 ctx->device = local_device_data; in cryp_get_device_data()445 spin_unlock(&local_device_data->ctx_lock); in cryp_get_device_data()448 spin_unlock(&local_device_data->ctx_lock); in cryp_get_device_data()464 *device_data = local_device_data; in cryp_get_device_data()
372 struct hash_device_data *local_device_data = NULL; in hash_get_device_data() local383 local_device_data = container_of(device_node, in hash_get_device_data()385 spin_lock(&local_device_data->ctx_lock); in hash_get_device_data()387 if (local_device_data->current_ctx) { in hash_get_device_data()390 local_device_data->current_ctx = ctx; in hash_get_device_data()391 ctx->device = local_device_data; in hash_get_device_data()392 spin_unlock(&local_device_data->ctx_lock); in hash_get_device_data()395 spin_unlock(&local_device_data->ctx_lock); in hash_get_device_data()411 *device_data = local_device_data; in hash_get_device_data()