Defined in 2 files as a member:
- drivers/clk/aspeed/clk-aspeed.h, line 81 (as a member)
- drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.h, line 276 (as a member)
Defined in 6 files as a function:
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c, line 250 (as a function)
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c, line 263 (as a function)
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c, line 162 (as a function)
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c, line 326 (as a function)
- drivers/media/i2c/ar0521.c, line 244 (as a function)
- drivers/video/fbdev/gxt4500.c, line 237 (as a function)
Referenced in 8 files:
- drivers/clk/aspeed/clk-aspeed.c
- drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c, line 292
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c, line 306
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c
- drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c
- drivers/media/i2c/ar0521.c, line 337
- drivers/video/fbdev/gxt4500.c, line 294
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c calc_clk() -> calc_pll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sensor | 1043595215827992576 |
| PARAM_VALUE | 0 | sensor->eng | 4096-ptr_max |
| PARAM_VALUE | 1 | freq | 0-2,7 |
| PARAM_VALUE | 2 | pre_ptr | 1-s32max |
| PARAM_VALUE | 3 | mult_ptr | 4096-ptr_max |
| DATA_SOURCE | 0 | sensor | $0 |
| DATA_SOURCE | 1 | freq | $2 |
| FUZZY_MAX | 1 | freq | 7 |
| HARD_MAX | 1 | freq | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c calc_clk() -> calc_pll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sensor | 8086834379852136448 |
| PARAM_VALUE | 0 | sensor->eng | 4096-ptr_max |
| PARAM_VALUE | 1 | freq | 0-2,7 |
| PARAM_VALUE | 2 | pre_ptr | 1-s32max |
| PARAM_VALUE | 3 | mult_ptr | 4096-ptr_max |
| DATA_SOURCE | 0 | sensor | $0 |
| DATA_SOURCE | 1 | freq | $2 |
| FUZZY_MAX | 1 | freq | 7 |
| HARD_MAX | 1 | freq | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/media/i2c/ar0521.c ar0521_calc_pll() -> calc_pll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sensor | 4096-ptr_max |
| PARAM_VALUE | 2 | pre_ptr | 2608040784388120576 |
| PARAM_VALUE | 3 | mult_ptr | 9090965483872387072 |
| DATA_SOURCE | 0 | sensor | $0 |
| BIT_INFO | 0 | sensor->pll.vt_pix | 0x0,0x7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | sensor->fmt.height | 9-1943[c] |
| USER_DATA | 0 | sensor->fmt.width | 9-2591[c] |
| LOCK2 | 0 | &sensor->lock | |
| TYPE_LOCK | (struct ar0521_dev)->lock |
drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c nv50_clk_calc() -> calc_pll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sensor | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->base.func->read | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sensor->hwsq.base->hwsq->c.data | 0-255 |
| PARAM_VALUE | 0 | sensor->hwsq.base.hwsq | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->hwsq.base.hwsq->addr | 0-4294967295 |
| PARAM_VALUE | 0 | sensor->hwsq.base.hwsq->c.size | 0-u16max |
| PARAM_VALUE | 0 | sensor->hwsq.base.hwsq->data | 0-4294967295 |
| PARAM_VALUE | 0 | sensor->hwsq.base.subdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->hwsq.r_divs.force | 1 |
| PARAM_VALUE | 0 | sensor->hwsq.r_fifo.data | 1 |
| PARAM_VALUE | 0 | sensor->hwsq.r_mast.force | 1 |
| PARAM_VALUE | 1 | freq | 16424 |
| PARAM_VALUE | 2 | pre_ptr | 0-s32max |
| PARAM_VALUE | 3 | mult_ptr | 3158336262708846592 |
| PARAM_VALUE | 4 | M | 8135727862812569600 |
| PARAM_VALUE | 5 | P | 5409558806882193408 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nvkm/subdev/clk/nv50.c nv50_clk_calc() -> calc_pll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sensor | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->base.func->read | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sensor->base.subdev.device | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->base.subdev.device->bios | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->hwsq.base->hwsq->c.data | 0-255 |
| PARAM_VALUE | 0 | sensor->hwsq.base.hwsq | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->hwsq.base.hwsq->addr | 0-4294967295 |
| PARAM_VALUE | 0 | sensor->hwsq.base.hwsq->c.size | 0-u16max |
| PARAM_VALUE | 0 | sensor->hwsq.base.hwsq->data | 0-4294967295 |
| PARAM_VALUE | 0 | sensor->hwsq.base.subdev | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->hwsq.r_divs.force | 1 |
| PARAM_VALUE | 0 | sensor->hwsq.r_fifo.data | 1 |
| PARAM_VALUE | 0 | sensor->hwsq.r_mast.force | 1 |
| PARAM_VALUE | 0 | sensor->hwsq.r_nvpll | 4096-ptr_max |
| PARAM_VALUE | 1 | freq | 16416 |
| PARAM_VALUE | 2 | pre_ptr | 0-s32max |
| PARAM_VALUE | 3 | mult_ptr | 3158336262708846592 |
| PARAM_VALUE | 3 | *mult_ptr | 0-255 |
| PARAM_VALUE | 4 | M | 8135727862812569600 |
| PARAM_VALUE | 4 | *M | 0-255 |
| PARAM_VALUE | 5 | P | 5409558806882193408 |
| PARAM_VALUE | 5 | *P | (-2)-s32max |
| CAPPED_DATA | 0 | sensor->base.subdev.device->bios->image0_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/video/fbdev/gxt4500.c gxt4500_var_to_par() -> calc_pll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | freq | 4096-ptr_max |
| BUF_SIZE | 1 | freq | (-1),2,4,16,24,32,128,216,248,256,1288,1984,2560 |
| BUF_SIZE | 1 | freq | (-1),2,4,16,24,32,128,216,248,256,1288,1984,2560 |
| DATA_SOURCE | 1 | freq | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | sensor | 1-64000000[c] |
| USER_DATA | 0 | sensor | s32min-s32max |
| UNITS | 1 | freq | unit_byte |
drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c mcp77_clk_calc() -> calc_pll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sensor | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->base.func | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->base.func->read | 4096-ptr_max |
| PARAM_VALUE | 1 | freq | 16424 |
| PARAM_VALUE | 2 | pre_ptr | 0,2-4294967294 |
| PARAM_VALUE | 3 | mult_ptr | 7994253955847585792 |
| PARAM_VALUE | 4 | M | 4711708103166070784 |
| PARAM_VALUE | 5 | P | 1335227235145297920 |
| CAPPED_DATA | 2 | pre_ptr | 1 |
| BIT_INFO | 2 | pre_ptr | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nvkm/subdev/clk/mcp77.c mcp77_clk_calc() -> calc_pll()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sensor | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->base.func | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->base.func->read | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->base.subdev.device | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->base.subdev.device->bios | 4096-ptr_max |
| PARAM_VALUE | 0 | sensor->cctrl | 0,65536-4294901760 |
| PARAM_VALUE | 0 | sensor->cpost | 0,65536-4294901760 |
| PARAM_VALUE | 0 | sensor->csrc | 6,15 |
| PARAM_VALUE | 1 | freq | 16416 |
| PARAM_VALUE | 2 | pre_ptr | 0-s32max |
| PARAM_VALUE | 3 | mult_ptr | 7994253955847585792 |
| PARAM_VALUE | 4 | M | 4711708103166070784 |
| PARAM_VALUE | 5 | P | 1335227235145297920 |
| FUZZY_MAX | 0 | sensor->csrc | 15 |
| BIT_INFO | 0 | sensor->cctrl | 0x0,0xffff0000 |
| BIT_INFO | 0 | sensor->csrc | 0x6,0xf |
| HARD_MAX | 0 | sensor->csrc | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING |