Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c, line 456
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c, line 155
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c, line 527
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c, line 253
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv50.c nv50_ram_calc() -> nvbios_ramcfg_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subdev | 4096-ptr_max |
| PARAM_VALUE | 0 | subdev->device | 4096-ptr_max |
| BUF_SIZE | 0 | subdev | 296 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_ram_restrict() -> nvbios_ramcfg_index()
| 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 |
| BUF_SIZE | 0 | subdev | (-1),296 |
| BUF_SIZE | 0 | subdev | (-1),296 |
| CAPPED_DATA | 0 | subdev->device->bios->image0_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &device->mutex | ||
| HALF_LOCKED2 | &disp->super.mutex | ||
| HALF_LOCKED2 | &outp->dp.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgt215.c gt215_ram_calc() -> nvbios_ramcfg_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subdev | 4096-ptr_max |
| PARAM_VALUE | 0 | subdev->device | 4096-ptr_max |
| BUF_SIZE | 0 | subdev | 296 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c gk104_ram_new_() -> nvbios_ramcfg_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subdev | 4657505280765956104,8287219106504081408,8485040495069773832 |
| PARAM_VALUE | 0 | subdev->device | 4096-ptr_max |
| BUF_SIZE | 0 | subdev | 296 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c gk104_ram_train_init() -> nvbios_ramcfg_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subdev->use.mutex | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgf100.c gf100_ram_calc() -> nvbios_ramcfg_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | subdev | 4096-ptr_max |
| PARAM_VALUE | 0 | subdev->device | 4096-ptr_max |
| BUF_SIZE | 0 | subdev | 296 |
| HALF_LOCKED2 | &pool->lock |