Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/accel/habanalabs/common/context.c hl_ctx_fini() -> hl_device_set_debug_mode()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->asic_prop.max_pending_cs 0-s32max
PARAM_VALUE 0 hdev->in_debug 1-255
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->asid 1-u32max
PARAM_VALUE 1 ctx->hdev->asic_prop.max_pending_cs 0-s32max
PARAM_VALUE 1 ctx->hdev->in_debug 1-255
PARAM_VALUE 1 ctx->hw_block_list_lock.magic 0
PARAM_VALUE 2 enable 0
CAPPED_DATA 0 hdev->asic_prop.max_pending_cs 1
CAPPED_DATA 1 ctx->cs_pending 1
DATA_SOURCE 1 ctx $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 hdev unit_byte
HALF_LOCKED2 &ctx->ts_reg_lock
HALF_LOCKED2 &s->lock

drivers/accel/habanalabs/common/habanalabs_ioctl.c hl_debug_ioctl() -> hl_device_set_debug_mode()

Type Parameter Key Value
PARAM_VALUE 0 hdev 4096-ptr_max
PARAM_VALUE 0 hdev->device_fini_pending 0
PARAM_VALUE 0 hdev->disabled 0
PARAM_VALUE 0 hdev->reset_info.in_reset 0
PARAM_VALUE 0 hdev->reset_info.needs_reset 0
USER_DATA 2 enable 0-1[u]