Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c nv50_grctx_generate() -> cp_pos()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->ctxprog_max 256,512
PARAM_VALUE 0 ctx->ctxprog_reg 0-1073741823
PARAM_VALUE 0 ctx->ctxvals_base 0-1,8-9,64,67-68,71,78,88,107,113,118,121-122,125,129,132-139,143,145,152,156,158,160-161,233-234,237-240,257-262,264-265,269-944,2335-2480
PARAM_VALUE 0 ctx->data 0
PARAM_VALUE 0 ctx->mode 0
PARAM_VALUE 0 ctx->ucode 4096-ptr_max
PARAM_VALUE 0 *ctx->ctxprog_label s32min-s32max
PARAM_VALUE 1 offset 1
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c nv50_grctx_generate() -> cp_pos()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->ctxprog_max 256,512
PARAM_VALUE 0 ctx->ctxprog_reg 522
PARAM_VALUE 0 ctx->ctxvals_base 1
PARAM_VALUE 0 ctx->ctxvals_pos 2
PARAM_VALUE 0 ctx->data 0
PARAM_VALUE 0 ctx->mode 0
PARAM_VALUE 0 ctx->ucode 4096-ptr_max
PARAM_VALUE 0 *ctx->ctxprog_label s32min-s32max
PARAM_VALUE 1 offset 64
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.c nv40_grctx_generate() -> cp_pos()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->ctxprog_len 0-s32max
PARAM_VALUE 0 ctx->ctxprog_max 256,512
PARAM_VALUE 0 ctx->ctxprog_reg 0-1073741823
PARAM_VALUE 0 ctx->ctxvals_base 0-1,8-9,64,67-68,71,78,88,107,113,118,121-122,125,129,132-139,143,145,152,156,158,160-161,233-234,237-240,257-262,264-265,269-944,2335-2480
PARAM_VALUE 0 ctx->data 0
PARAM_VALUE 0 ctx->mode 0
PARAM_VALUE 0 ctx->ucode 4096-ptr_max
PARAM_VALUE 0 *ctx->ctxprog_label s32min-s32max
PARAM_VALUE 1 offset 8
CAPPED_DATA 0 ctx->ctxprog_len 1
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.c nv40_grctx_generate() -> cp_pos()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->ctxprog_max 256,512
PARAM_VALUE 0 ctx->ctxprog_reg 7168
PARAM_VALUE 0 ctx->ctxvals_base 666-811
PARAM_VALUE 0 ctx->ctxvals_pos 799-944,2335-2480
PARAM_VALUE 0 ctx->data 0
PARAM_VALUE 0 ctx->device 4096-ptr_max
PARAM_VALUE 0 ctx->device->chipset 64-68,70-71,73-76,78,103
PARAM_VALUE 0 ctx->mode 0
PARAM_VALUE 0 ctx->ucode 4096-ptr_max
PARAM_VALUE 0 *ctx->ctxprog_label s32min-s32max
PARAM_VALUE 1 offset 799-944,2335-2480
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL