Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ib.c185 old_ctx = ring->current_ctx; in amdgpu_ib_schedule()
190 ring->current_ctx = old_ctx; in amdgpu_ib_schedule()
195 ring->current_ctx = ctx; in amdgpu_ib_schedule()
201 ring->current_ctx = old_ctx; in amdgpu_ib_schedule()
Damdgpu.h877 struct amdgpu_ctx *current_ctx; member
Dgfx_v8_0.c4545 bool need_ctx_switch = ring->current_ctx != ib->ctx; in gfx_v8_0_ring_emit_ib_gfx()
Dgfx_v7_0.c2567 bool need_ctx_switch = ring->current_ctx != ib->ctx; in gfx_v7_0_ring_emit_ib_gfx()
/linux-4.4.14/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.4.14/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()
1777 if (device_data->current_ctx) { in ux500_hash_remove()
1823 if (!device_data->current_ctx) { in ux500_hash_shutdown()
1832 device_data->current_ctx++; in ux500_hash_shutdown()
[all …]
Dhash_alg.h370 struct hash_ctx *current_ctx; member
/linux-4.4.14/block/
Dblk-mq.c1002 struct blk_mq_ctx *ctx = rq->mq_ctx, *current_ctx; in blk_mq_insert_request() local
1004 current_ctx = blk_mq_get_ctx(q); in blk_mq_insert_request()
1006 rq->mq_ctx = ctx = current_ctx; in blk_mq_insert_request()
1017 blk_mq_put_ctx(current_ctx); in blk_mq_insert_request()
1028 struct blk_mq_ctx *current_ctx; in blk_mq_insert_requests() local
1032 current_ctx = blk_mq_get_ctx(q); in blk_mq_insert_requests()
1035 ctx = current_ctx; in blk_mq_insert_requests()
1055 blk_mq_put_ctx(current_ctx); in blk_mq_insert_requests()