Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/video/fbdev/matrox/matroxfb_maven.c maven_compute_timming() -> DAC1064_calcclock()

Type Parameter Key Value
PARAM_VALUE 1 fmax 450000
PARAM_VALUE 2 in 7546200327394234368
PARAM_VALUE 3 feed 3411247689115119616
PARAM_VALUE 4 post 4006224957186469888
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &minfo->altout.lock
HALF_LOCKED2 &info->lock
HALF_LOCKED2 &minfo->crtc2.lock
TYPE_LOCK (struct matrox_fb_info)->altout.lock

drivers/video/fbdev/matrox/matroxfb_DAC1064.c DAC1064_setmclk() -> DAC1064_calcclock()

Type Parameter Key Value
PARAM_VALUE 0 freq 4096-ptr_max
PARAM_VALUE 0 freq->capable.cross4MB 0-1,16
PARAM_VALUE 0 freq->capable.srcorg 0,4
PARAM_VALUE 0 freq->devflags.fbResource 16,20
PARAM_VALUE 0 freq->devflags.textmode 1,4
PARAM_VALUE 0 freq->devflags.vgastep 4,8,16
PARAM_VALUE 0 freq->features.pll.ref_freq 14318,27000
PARAM_VALUE 1 fmax 133333
PARAM_VALUE 2 in 0,180000,220000,230000,250000,300000,360000
PARAM_VALUE 3 feed 2254353481033609216
PARAM_VALUE 4 post 4824102590480003072
PARAM_VALUE 5 post 5738681935163826176
BUF_SIZE 0 freq->capable.vxres (-1),56
BUF_SIZE 0 freq->pcidev (-1),1-s32max
CAPPED_DATA 0 freq->pcidev->device 1
CAPPED_DATA 0 freq->pcidev->revision 1
CAPPED_DATA 0 freq->values.pll.system 1
CAPPED_DATA 0 freq->values.pll.video 1
CAPPED_DATA 0 freq->values.reg.mctlwtst_core 1
DATA_SOURCE 0 freq $0
DATA_SOURCE 1 fmax $2
FUZZY_MAX 0 freq->devflags.fbResource 20
FUZZY_MAX 0 freq->devflags.textmode 4
FUZZY_MAX 0 freq->devflags.vgastep 16
FUZZY_MAX 0 freq->features.pll.ref_freq 27000
BIT_INFO 0 freq->capable.cross4MB 0x0,0x11
BIT_INFO 0 freq->capable.srcorg 0x0,0x4
BIT_INFO 0 freq->devflags.fbResource 0x10,0xffffffffffffffff
BIT_INFO 0 freq->devflags.textmode 0x0,0x5
BIT_INFO 0 freq->devflags.vgastep 0x0,0x1c
HARD_MAX 0 freq->devflags.fbResource 20
HARD_MAX 0 freq->devflags.textmode 4
HARD_MAX 0 freq->devflags.vgastep 16
MEM_ZERO 0 &freq->bios
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 freq->accel.ramdac_rev 0-255
HOST_DATA 0 freq->bios.output.state 0-254
HOST_DATA 0 freq->bios.version->vMaj 0-255
HOST_DATA 0 freq->bios.version->vMin 0-255
HOST_DATA 0 freq->bios.version->vRev 0-255
HOST_DATA 0 freq->bios.version.vMin 0-15
HOST_DATA 0 freq->hw.MXoptionReg 0,64,609824,609888,2883584,2883648,536870912,536870976,53748073
HOST_DATA 0 freq->pcidev->current_state 0-3[c]
HALF_LOCKED2 &pool->lock

drivers/video/fbdev/matrox/matroxfb_DAC1064.c DAC1064_setpclk() -> DAC1064_calcclock()

Type Parameter Key Value
PARAM_VALUE 0 freq 4096-ptr_max
PARAM_VALUE 3 feed 4822640955471974400
PARAM_VALUE 4 post 6584137086009843712
PARAM_VALUE 5 post 8891711786270457856
DATA_SOURCE 0 freq $0
DATA_SOURCE 1 fmax $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &minfo->altout.lock
HALF_LOCKED2 &info->lock
HALF_LOCKED2 &minfo->crtc2.lock
TYPE_LOCK (struct matrox_fb_info)->altout.lock

drivers/video/fbdev/matrox/matroxfb_DAC1064.c MGAG100_setPixClock() -> DAC1064_calcclock()

Type Parameter Key Value
PARAM_VALUE 0 freq 4096-ptr_max
PARAM_VALUE 0 freq->capable.cross4MB 0-1,16
PARAM_VALUE 0 freq->capable.srcorg 0,4
PARAM_VALUE 0 freq->devflags.fbResource 16,20
PARAM_VALUE 0 freq->devflags.textmode 1,4
PARAM_VALUE 0 freq->devflags.vgastep 4,8,16
PARAM_VALUE 0 freq->features.pll.ref_freq 14318,27000
PARAM_VALUE 1 fmax 25175,28322
PARAM_VALUE 2 in 0,180000,220000,230000,250000,300000,360000
PARAM_VALUE 3 feed 5068084354400645120
PARAM_VALUE 4 post 6514031582974869504
PARAM_VALUE 5 post 5422069365607837696
BUF_SIZE 0 freq->pcidev (-1),1-s32max
CAPPED_DATA 0 freq->pcidev->device 1
CAPPED_DATA 0 freq->pcidev->revision 1
CAPPED_DATA 0 freq->values.pll.system 1
CAPPED_DATA 0 freq->values.pll.video 1
CAPPED_DATA 0 freq->values.reg.mctlwtst_core 1
CAPPED_DATA 0 freq->video.len_usable 1
DATA_SOURCE 0 freq $0
DATA_SOURCE 1 fmax $2
FUZZY_MAX 0 freq->devflags.fbResource 20
FUZZY_MAX 0 freq->devflags.textmode 4
FUZZY_MAX 0 freq->devflags.vgastep 16
BIT_INFO 0 freq->capable.cross4MB 0x0,0x11
BIT_INFO 0 freq->capable.srcorg 0x0,0x4
BIT_INFO 0 freq->devflags.fbResource 0x10,0xffffffffffffffff
BIT_INFO 0 freq->devflags.textmode 0x0,0x5
BIT_INFO 0 freq->devflags.vgastep 0x0,0x1c
HARD_MAX 0 freq->devflags.fbResource 20
HARD_MAX 0 freq->devflags.textmode 4
HARD_MAX 0 freq->devflags.vgastep 16
MEM_ZERO 0 &freq->bios
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 freq->accel.ramdac_rev 0-255
HOST_DATA 0 freq->bios.output.state 0-254
HOST_DATA 0 freq->bios.version->vMaj 0-255
HOST_DATA 0 freq->bios.version->vMin 0-255
HOST_DATA 0 freq->bios.version->vRev 0-255
HOST_DATA 0 freq->bios.version.vMin 0-15
HOST_DATA 0 freq->devflags.dfp_type 0-255
HOST_DATA 0 freq->hw.MXoptionReg 0,8-539754681[c]
HOST_DATA 0 freq->pcidev->current_state 0-3[c]
HALF_LOCKED2 &pool->lock