Home
last modified time | relevance | path

Searched refs:thread_ctx_switch_token (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
H A Dcontext.c140 atomic_set(&ctx->thread_ctx_switch_token, 1); in hl_ctx_init()
H A Ddevice.c1001 atomic_set(&hdev->compute_ctx->thread_ctx_switch_token, 1); in hl_device_reset()
H A Dcommand_submission.c1059 do_ctx_switch = atomic_cmpxchg(&ctx->thread_ctx_switch_token, 1, 0); in hl_cs_ioctl()
H A Dhabanalabs.h869 * @thread_ctx_switch_token: token to prevent multiple threads of the same
898 atomic_t thread_ctx_switch_token; member
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
H A Dcontext.c209 atomic_set(&ctx->thread_ctx_switch_token, 1); in hl_ctx_init()
H A Ddevice.c1684 atomic_set(&ctx->thread_ctx_switch_token, 1); in hl_device_reset()
H A Dhabanalabs.h1854 * @thread_ctx_switch_token: token to prevent multiple threads of the same
1886 atomic_t thread_ctx_switch_token; member
H A Dcommand_submission.c1680 do_ctx_switch = atomic_cmpxchg(&ctx->thread_ctx_switch_token, 1, 0); in hl_cs_ctx_switch()

Completed in 36 milliseconds