Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv04.c nv04_clk_pll_calc() -> nv04_pll_calc()

Type Parameter Key Value
PARAM_VALUE 0 subdev 4096-ptr_max
PARAM_VALUE 1 info 560875058670796800
PARAM_VALUE 1 info->vco1.max_freq 0-255000,256000
PARAM_VALUE 1 info->vco1.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco1.min_freq 0-255000
PARAM_VALUE 1 info->vco1.min_inputfreq 0-255000
PARAM_VALUE 1 info->vco2.max_freq 0-255000
PARAM_VALUE 1 info->vco2.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco2.min_freq 0-255000
PARAM_VALUE 1 info->vco2.min_inputfreq 0-255000
PARAM_VALUE 3 N1 4363451155235262464
PARAM_VALUE 4 M1 885230548703105024
PARAM_VALUE 5 N2 1641040879269658624
PARAM_VALUE 6 M2 7477123906731016192
PARAM_VALUE 7 P 1258852241973694464
DATA_SOURCE 1 info $1
DATA_SOURCE 2 freq $2
MEM_ZERO 1 info
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c nv50_ram_calc() -> nv04_pll_calc()

Type Parameter Key Value
PARAM_VALUE 0 subdev 4096-ptr_max
PARAM_VALUE 0 subdev->device 4096-ptr_max
PARAM_VALUE 0 subdev->device->bios 4096-ptr_max
PARAM_VALUE 1 info 2885876503085309952
PARAM_VALUE 1 info->vco1.max_freq 0-255000,256000
PARAM_VALUE 1 info->vco1.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco1.min_freq 0-255000
PARAM_VALUE 1 info->vco1.min_inputfreq 0-255000
PARAM_VALUE 1 info->vco2.max_freq 0
PARAM_VALUE 1 info->vco2.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco2.min_freq 0-255000
PARAM_VALUE 1 info->vco2.min_inputfreq 0-255000
PARAM_VALUE 2 freq 0-510000
PARAM_VALUE 3 N1 1784147371260551168
PARAM_VALUE 4 M1 7418279343517933568
PARAM_VALUE 5 N2 4299294181167280128
PARAM_VALUE 6 M2 2108951291496013824
PARAM_VALUE 7 P 5943331788193325056
BUF_SIZE 0 subdev 296
CAPPED_DATA 2 freq 1
DATA_SOURCE 2 freq $1
MEM_ZERO 1 info
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv40.c nv40_ram_calc() -> nv04_pll_calc()

Type Parameter Key Value
PARAM_VALUE 0 subdev 4096-ptr_max
PARAM_VALUE 0 subdev->device 4096-ptr_max
PARAM_VALUE 0 subdev->device->bios 4096-ptr_max
PARAM_VALUE 1 info 2236266321531277312
PARAM_VALUE 1 info->vco1.max_freq 0-255000,256000
PARAM_VALUE 1 info->vco1.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco1.min_freq 0-255000
PARAM_VALUE 1 info->vco1.min_inputfreq 0-255000
PARAM_VALUE 1 info->vco2.max_freq 0-255000
PARAM_VALUE 1 info->vco2.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco2.min_freq 0-255000
PARAM_VALUE 1 info->vco2.min_inputfreq 0-255000
PARAM_VALUE 3 N1 7317505528542355456
PARAM_VALUE 4 M1 4831815354443333632
PARAM_VALUE 5 N2 4997689641551044608
PARAM_VALUE 6 M2 1828274128871690240
PARAM_VALUE 7 P 4473185195607769088
BUF_SIZE 0 subdev 296
DATA_SOURCE 2 freq $1
BIT_INFO 2 freq 0x0,0x7fffffff
MEM_ZERO 1 info
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c calc_pll() -> nv04_pll_calc()

Type Parameter Key Value
PARAM_VALUE 0 subdev 4096-ptr_max
PARAM_VALUE 0 subdev->device 4096-ptr_max
PARAM_VALUE 0 subdev->device->bios 4096-ptr_max
PARAM_VALUE 1 info 233522557297557504
PARAM_VALUE 1 info->refclk 1-u32max
PARAM_VALUE 1 info->vco1.max_freq 0-255000,256000
PARAM_VALUE 1 info->vco1.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco1.min_freq 0-255000
PARAM_VALUE 1 info->vco1.min_inputfreq 0-255000
PARAM_VALUE 1 info->vco2.max_freq 0
PARAM_VALUE 1 info->vco2.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco2.min_freq 0-255000
PARAM_VALUE 1 info->vco2.min_inputfreq 0-255000
PARAM_VALUE 2 freq 0-s32max
PARAM_VALUE 3 N1 3158336262708846592
PARAM_VALUE 3 *N1 0-255
PARAM_VALUE 4 M1 8135727862812569600
PARAM_VALUE 4 *M1 0-255
PARAM_VALUE 5 N2 0
PARAM_VALUE 6 M2 0
PARAM_VALUE 7 P 5409558806882193408
PARAM_VALUE 7 *P (-2)-s32max
BUF_SIZE 0 subdev 296
CAPPED_DATA 0 subdev->device->bios->image0_size 1
DATA_SOURCE 2 freq $2
DATA_SOURCE 3 N1 $3
DATA_SOURCE 4 M1 $4
DATA_SOURCE 7 P $5
MEM_ZERO 1 info
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv40.c nv40_clk_calc_pll() -> nv04_pll_calc()

Type Parameter Key Value
PARAM_VALUE 0 subdev 5041565183981670408
PARAM_VALUE 0 subdev->device 4096-ptr_max
PARAM_VALUE 0 subdev->device->bios 4096-ptr_max
PARAM_VALUE 1 info 7041858020206874624
PARAM_VALUE 1 info->vco1.max_freq 0-255000,256000
PARAM_VALUE 1 info->vco1.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco1.min_freq 0-255000
PARAM_VALUE 1 info->vco1.min_inputfreq 0-255000
PARAM_VALUE 1 info->vco2.max_freq 0-255000
PARAM_VALUE 1 info->vco2.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco2.min_freq 0-255000
PARAM_VALUE 1 info->vco2.min_inputfreq 0-255000
PARAM_VALUE 2 freq 0-s32max
PARAM_VALUE 3 N1 1961344426529017856
PARAM_VALUE 3 *N1 0-255
PARAM_VALUE 4 M1 4563906753006587904
PARAM_VALUE 4 *M1 0-255
PARAM_VALUE 5 N2 0,4380619340959723520
PARAM_VALUE 6 M2 0,5168296042167230464
PARAM_VALUE 7 P 6165619717353136128
PARAM_VALUE 7 *P (-1)-s32max
BUF_SIZE 0 subdev 296
CAPPED_DATA 0 subdev->device->bios->image0_size 1
CAPPED_DATA 2 freq 1
DATA_SOURCE 2 freq $2
DATA_SOURCE 3 N1 $3
DATA_SOURCE 4 M1 $4
DATA_SOURCE 5 N2 $5
DATA_SOURCE 6 M2 $6
DATA_SOURCE 7 P $7
MEM_ZERO 1 info
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c nv50_devinit_pll_set() -> nv04_pll_calc()

Type Parameter Key Value
PARAM_VALUE 0 subdev 4096-ptr_max
PARAM_VALUE 0 subdev->device 4096-ptr_max
PARAM_VALUE 1 info 4317051165845164032
PARAM_VALUE 1 info->vco1.max_freq 0-255000,256000
PARAM_VALUE 1 info->vco1.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco1.min_freq 0-255000
PARAM_VALUE 1 info->vco1.min_inputfreq 0-255000
PARAM_VALUE 1 info->vco2.max_freq 0-255000
PARAM_VALUE 1 info->vco2.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco2.min_freq 0-255000
PARAM_VALUE 1 info->vco2.min_inputfreq 0-255000
PARAM_VALUE 3 N1 4507769197225906176
PARAM_VALUE 4 M1 4736086322244386816
PARAM_VALUE 5 N2 7687571466049748992
PARAM_VALUE 6 M2 7643597923774976000
PARAM_VALUE 7 P 5616392782574166016
BUF_SIZE 0 subdev 296
DATA_SOURCE 2 freq $2
MEM_ZERO 1 info
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &disp->super.mutex
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c calc_pll() -> nv04_pll_calc()

Type Parameter Key Value
PARAM_VALUE 0 subdev 5879594211552210952
PARAM_VALUE 0 subdev->device 4096-ptr_max
PARAM_VALUE 0 subdev->device->bios 4096-ptr_max
PARAM_VALUE 1 info 651178829623750656
PARAM_VALUE 1 info->refclk 1-u32max
PARAM_VALUE 1 info->vco1.max_freq 0-255000,256000
PARAM_VALUE 1 info->vco1.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco1.min_freq 0-255000
PARAM_VALUE 1 info->vco1.min_inputfreq 0-255000
PARAM_VALUE 1 info->vco2.max_freq 0
PARAM_VALUE 1 info->vco2.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco2.min_freq 0-255000
PARAM_VALUE 1 info->vco2.min_inputfreq 0-255000
PARAM_VALUE 2 freq 0-4294967294
PARAM_VALUE 3 N1 7994253955847585792
PARAM_VALUE 4 M1 4711708103166070784
PARAM_VALUE 5 N2 0
PARAM_VALUE 6 M2 0
PARAM_VALUE 7 P 1335227235145297920
BUF_SIZE 0 subdev 296
CAPPED_DATA 0 subdev->device->bios->image0_size 1
CAPPED_DATA 2 freq 1
DATA_SOURCE 2 freq $2
DATA_SOURCE 3 N1 $3
DATA_SOURCE 4 M1 $4
DATA_SOURCE 7 P $5
MEM_ZERO 1 info
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv04.c nv04_devinit_pll_set() -> nv04_pll_calc()

Type Parameter Key Value
PARAM_VALUE 0 subdev 4096-ptr_max
PARAM_VALUE 0 subdev->device 4096-ptr_max
PARAM_VALUE 0 subdev->device->bios 4096-ptr_max
PARAM_VALUE 1 info 2865591160750694400
PARAM_VALUE 1 info->vco1.max_freq 0-255000,256000
PARAM_VALUE 1 info->vco1.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco1.min_freq 0-255000
PARAM_VALUE 1 info->vco1.min_inputfreq 0-255000
PARAM_VALUE 1 info->vco2.max_freq 0-255000
PARAM_VALUE 1 info->vco2.max_inputfreq 0-255000,s32max
PARAM_VALUE 1 info->vco2.min_freq 0-255000
PARAM_VALUE 1 info->vco2.min_inputfreq 0-255000
PARAM_VALUE 3 N1 3809763421890805760
PARAM_VALUE 4 M1 6394343384467197952
PARAM_VALUE 5 N2 3920218392608571392
PARAM_VALUE 6 M2 8948958416391663616
PARAM_VALUE 7 P 6155752548470640640
BUF_SIZE 0 subdev 296
DATA_SOURCE 2 freq $2
MEM_ZERO 1 info
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &disp->super.mutex
HALF_LOCKED2 &pool->lock