Home
last modified time | relevance | path

Searched refs:current_ctx (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/crypto/ux500/cryp/
Dcryp_core.c204 ctx = device_data->current_ctx; in cryp_interrupt_handler()
445 if (local_device_data->current_ctx) { in cryp_get_device_data()
448 local_device_data->current_ctx = ctx; in cryp_get_device_data()
679 if (save_device_context && device_data->current_ctx) { in cryp_disable_power()
681 &device_data->current_ctx->dev_ctx, in cryp_disable_power()
732 if (restore_device_context && device_data->current_ctx) { in cryp_enable_power()
735 &device_data->current_ctx->dev_ctx); in cryp_enable_power()
865 device_data->current_ctx = NULL; in ablk_dma_crypt()
931 device_data->current_ctx = NULL; in ablk_crypt()
1425 device_data->current_ctx = NULL; in ux500_cryp_probe()
[all …]
Dcryp.c296 (struct cryp_config *)device_data->current_ctx; in cryp_save_device_context()
354 (struct cryp_config *)device_data->current_ctx; in cryp_restore_device_context()
Dcryp.h245 struct cryp_ctx *current_ctx; member
/linux-4.1.27/drivers/crypto/ux500/hash/
Dhash_core.c110 device_data->current_ctx->device = NULL; in release_hash_device()
111 device_data->current_ctx = NULL; in release_hash_device()
236 struct hash_ctx *ctx = device_data->current_ctx; in get_empty_message_digest()
401 if (local_device_data->current_ctx) { in hash_get_device_data()
404 local_device_data->current_ctx = ctx; in hash_get_device_data()
732 if (device_data->current_ctx->keylen > HASH_BLOCK_SIZE) { in hash_setconfiguration()
1667 device_data->current_ctx = NULL; in ux500_hash_probe()
1796 if (device_data->current_ctx) { in ux500_hash_remove()
1852 if (!device_data->current_ctx) { in ux500_hash_shutdown()
1861 device_data->current_ctx++; in ux500_hash_shutdown()
[all …]
Dhash_alg.h370 struct hash_ctx *current_ctx; member
/linux-4.1.27/block/
Dblk-mq.c1038 struct blk_mq_ctx *ctx = rq->mq_ctx, *current_ctx; in blk_mq_insert_request() local
1040 current_ctx = blk_mq_get_ctx(q); in blk_mq_insert_request()
1042 rq->mq_ctx = ctx = current_ctx; in blk_mq_insert_request()
1053 blk_mq_put_ctx(current_ctx); in blk_mq_insert_request()
1064 struct blk_mq_ctx *current_ctx; in blk_mq_insert_requests() local
1068 current_ctx = blk_mq_get_ctx(q); in blk_mq_insert_requests()
1071 ctx = current_ctx; in blk_mq_insert_requests()
1090 blk_mq_put_ctx(current_ctx); in blk_mq_insert_requests()