Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/video/fbdev/matrox/matroxfb_g450.c g450_get_ctrl() -> get_ctrl_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 0-4
DATA_SOURCE 0 minfo $0
DATA_SOURCE 1 idx r get_ctrl_id
LOCK2 &info->lock
LOCK2 &minfo->altout.lock
TYPE_LOCK (struct fb_info)->lock
TYPE_LOCK (struct matrox_fb_info)->altout.lock

drivers/video/fbdev/matrox/matroxfb_g450.c g450_set_ctrl() -> get_ctrl_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 0-4
DATA_SOURCE 0 minfo $0
DATA_SOURCE 1 idx r get_ctrl_id
LOCK2 &info->lock
LOCK2 &minfo->altout.lock
TYPE_LOCK (struct fb_info)->lock
TYPE_LOCK (struct matrox_fb_info)->altout.lock

drivers/video/fbdev/matrox/matroxfb_g450.c g450_set_ctrl() -> get_ctrl_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 0-4
DATA_SOURCE 0 minfo $0
DATA_SOURCE 1 idx r get_ctrl_id
LOCK2 &info->lock
LOCK2 &minfo->altout.lock
TYPE_LOCK (struct fb_info)->lock
TYPE_LOCK (struct matrox_fb_info)->altout.lock

drivers/video/fbdev/matrox/matroxfb_g450.c tvo_fill_defaults() -> get_ctrl_ptr()

Type Parameter Key Value
PARAM_VALUE 0 minfo 4096-ptr_max
PARAM_VALUE 1 idx 0-4
BUF_SIZE 0 minfo->pcidev (-1),1-s32max
CAPPED_DATA 0 minfo->pcidev->device 1
CAPPED_DATA 0 minfo->pcidev->revision 1
CAPPED_DATA 0 minfo->values.pll.system 1
CAPPED_DATA 0 minfo->values.pll.video 1
CAPPED_DATA 0 minfo->values.reg.mctlwtst_core 1
CAPPED_DATA 0 minfo->video.len_usable 1
DATA_SOURCE 0 minfo $0
FUZZY_MAX 1 idx 4
BIT_INFO 0 minfo->capable.cross4MB 0x0,0x11
BIT_INFO 0 minfo->capable.srcorg 0x0,0x4
BIT_INFO 0 minfo->devflags.fbResource 0x10,0xffffffffffffffff
BIT_INFO 0 minfo->devflags.textmode 0x0,0x5
BIT_INFO 0 minfo->devflags.vgastep 0x0,0x1c
HARD_MAX 1 idx 4
MEM_ZERO 0 &minfo->bios
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 minfo->accel.ramdac_rev 0-255
HOST_DATA 0 minfo->bios.output.state 0-254
HOST_DATA 0 minfo->bios.version->vMaj 0-255
HOST_DATA 0 minfo->bios.version->vMin 0-255
HOST_DATA 0 minfo->bios.version->vRev 0-255
HOST_DATA 0 minfo->bios.version.vMin 0-15
HOST_DATA 0 minfo->hw.MXoptionReg 0,609824,2883584,536870912,537480736,539754496[c]
HOST_DATA 0 minfo->pcidev->current_state 0-3[c]
LOCK2 0 &minfo->altout.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct matrox_fb_info)->altout.lock

drivers/video/fbdev/matrox/matroxfb_maven.c maven_get_control() -> get_ctrl_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 0-6
DATA_SOURCE 0 minfo $0
DATA_SOURCE 1 idx r get_ctrl_id
LOCK2 &info->lock
LOCK2 &minfo->altout.lock
TYPE_LOCK (struct fb_info)->lock
TYPE_LOCK (struct matrox_fb_info)->altout.lock

drivers/video/fbdev/matrox/matroxfb_maven.c maven_init_client() -> get_ctrl_ptr()

Type Parameter Key Value
PARAM_VALUE 0 minfo 4096-ptr_max
PARAM_VALUE 0 minfo->primary_head 4096-ptr_max
PARAM_VALUE 1 idx 0-6
BUF_SIZE 0 minfo s32min-(-2),1-s32max
BUF_SIZE 0 minfo s32min-(-2),1-s32max
CAPPED_DATA 0 minfo->client->irq 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 minfo->client->irq
UNITS 0 minfo unit_byte

drivers/video/fbdev/matrox/matroxfb_maven.c maven_set_control() -> get_ctrl_ptr()

Type Parameter Key Value
PARAM_VALUE 1 idx 0-6
DATA_SOURCE 0 minfo $0
DATA_SOURCE 1 idx r get_ctrl_id
LOCK2 &info->lock
LOCK2 &minfo->altout.lock
TYPE_LOCK (struct fb_info)->lock
TYPE_LOCK (struct matrox_fb_info)->altout.lock

drivers/video/fbdev/matrox/matroxfb_maven.c maven_set_control() -> get_ctrl_ptr()

Type Parameter Key Value
PARAM_VALUE 0 minfo 4096-ptr_max
PARAM_VALUE 1 idx 0-6
DATA_SOURCE 0 minfo $0
DATA_SOURCE 1 idx r get_ctrl_id
LOCK2 &info->lock
LOCK2 &minfo->altout.lock
TYPE_LOCK (struct fb_info)->lock
TYPE_LOCK (struct matrox_fb_info)->altout.lock