Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c cp_ctx() -> cp_lsr()

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 71,132-133,136,138,331-655
PARAM_VALUE 0 ctx->ctxvals_pos 2-1006
PARAM_VALUE 0 ctx->data 0
PARAM_VALUE 0 ctx->device 4096-ptr_max
PARAM_VALUE 0 ctx->device->pri 4096-ptr_max
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 val 19,21,32,43,50,176-276
BUF_SIZE 0 ctx->ucode (-1),2048
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 val $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

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 1,64
PARAM_VALUE 0 ctx->ctxvals_pos 1,64
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 val 1,64
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 val $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c nv50_gr_construct_xfer1() -> cp_lsr()

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 8000,8664-18332
PARAM_VALUE 0 ctx->ctxvals_base 0,448-768
PARAM_VALUE 0 ctx->ctxvals_pos 0,64-u32max
PARAM_VALUE 0 ctx->data 0
PARAM_VALUE 0 ctx->device 4096-ptr_max
PARAM_VALUE 0 ctx->device->pri 4096-ptr_max
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 val 0,448-768
DATA_SOURCE 0 ctx $0
BIT_INFO 0 ctx->ctxvals_base 0x0,0x3c0
BIT_INFO 0 ctx->ctxvals_pos 0x0,0xffffffc0
BIT_INFO 1 val 0x0,0x3c0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c nv50_gr_construct_xfer1() -> cp_lsr()

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 8000,8664-18332
PARAM_VALUE 0 ctx->ctxvals_base 0,448-768
PARAM_VALUE 0 ctx->ctxvals_pos 0,64-u32max
PARAM_VALUE 0 ctx->data 0
PARAM_VALUE 0 ctx->device 4096-ptr_max
PARAM_VALUE 0 ctx->device->pri 4096-ptr_max
PARAM_VALUE 0 ctx->mode 0
PARAM_VALUE 0 ctx->ucode 4096-ptr_max
PARAM_VALUE 0 *ctx->ctxprog_label s32min-s32max
PARAM_VALUE 0 *ctx->ucode 6291463
DATA_SOURCE 0 ctx $0
BIT_INFO 0 ctx->ctxvals_base 0x0,0x3c0
BIT_INFO 0 ctx->ctxvals_pos 0x0,0xffffffc0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c nv50_gr_construct_xfer2() -> cp_lsr()

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 8000,8664-18332
PARAM_VALUE 0 ctx->ctxvals_base 0,448-768
PARAM_VALUE 0 ctx->ctxvals_pos 0,64-u32max
PARAM_VALUE 0 ctx->data 0
PARAM_VALUE 0 ctx->device 4096-ptr_max
PARAM_VALUE 0 ctx->device->pri 4096-ptr_max
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 val 0
DATA_SOURCE 0 ctx $0
BIT_INFO 0 ctx->ctxvals_pos 0x0,0xffffffc0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c nv50_gr_construct_xfer2() -> cp_lsr()

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 8000,8664-18332
PARAM_VALUE 0 ctx->ctxvals_base 0,448-768
PARAM_VALUE 0 ctx->ctxvals_pos 0,64-u32max
PARAM_VALUE 0 ctx->data 0
PARAM_VALUE 0 ctx->device 4096-ptr_max
PARAM_VALUE 0 ctx->device->pri 4096-ptr_max
PARAM_VALUE 0 ctx->mode 0
PARAM_VALUE 0 ctx->ucode 4096-ptr_max
PARAM_VALUE 0 *ctx->ctxprog_label s32min-s32max
PARAM_VALUE 0 *ctx->ucode 6291463
DATA_SOURCE 0 ctx $0
BIT_INFO 0 ctx->ctxvals_pos 0x0,0xffffffc0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

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 8000,8664-18332
PARAM_VALUE 0 ctx->ctxvals_base 0,448-768
PARAM_VALUE 0 ctx->ctxvals_pos 0,64-148800
PARAM_VALUE 0 ctx->data 0
PARAM_VALUE 0 ctx->device 4096-ptr_max
PARAM_VALUE 0 ctx->device->pri 4096-ptr_max
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 val 0,448-768
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_lsr()

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 8000,8664-18332
PARAM_VALUE 0 ctx->ctxvals_base 0,448-768
PARAM_VALUE 0 ctx->ctxvals_pos 0,64-148800
PARAM_VALUE 0 ctx->data 0
PARAM_VALUE 0 ctx->device 4096-ptr_max
PARAM_VALUE 0 ctx->device->pri 4096-ptr_max
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 val 4
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.c cp_ctx() -> cp_lsr()

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 41-7168
PARAM_VALUE 0 ctx->ctxvals_base 160-161,357-431
PARAM_VALUE 0 ctx->ctxvals_pos 9-1003
PARAM_VALUE 0 ctx->data 0
PARAM_VALUE 0 ctx->device 4096-ptr_max
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 val 73,192
BUF_SIZE 0 ctx->ucode (-1),1024
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 val $2
BIT_INFO 0 ctx->ctxvals_base 0x0,0x3ff
HARD_MAX 1 val 192
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

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 8,799-944,2335-2480
PARAM_VALUE 0 ctx->ctxvals_pos 8,799-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 val 8,799-944,2335-2480
DATA_SOURCE 0 ctx $0
DATA_SOURCE 1 val $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.c nv40_gr_construct_shader() -> cp_lsr()

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 799-944,2335-2480
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 val 4896-54784
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.c nv40_gr_construct_state3d_3() -> cp_lsr()

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 667-812
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 0 *ctx->ucode 3145728
PARAM_VALUE 1 val 128,1664
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv40.c nv40_gr_construct_state3d_3() -> cp_lsr()

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 667-812
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 val 132,1668
DATA_SOURCE 0 ctx $0
BIT_INFO 1 val 0x84,0x684
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

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

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 val 32
DATA_SOURCE 0 ctx $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL