Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/gpu/vga/vga_switcheroo.c, line 496 (as a function)
- include/linux/vga_switcheroo.h, line 178 (as a function)
Referenced in 6 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 4307
- drivers/gpu/drm/i915/i915_switcheroo.c, line 78
- drivers/gpu/drm/nouveau/nouveau_vga.c, line 127
- drivers/gpu/drm/radeon/radeon_device.c, line 1522
- drivers/gpu/vga/vga_switcheroo.c, line 515
- sound/hda/controllers/intel.c, line 1374
Smatch caller information:
drivers/gpu/drm/i915/i915_switcheroo.c i915_switcheroo_unregister() -> vga_switcheroo_unregister_client()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pdev | unit_byte |
sound/hda/controllers/intel.c azx_free() -> vga_switcheroo_unregister_client()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev->dev.power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | pdev->current_state | 0-3[c] |
drivers/gpu/drm/radeon/radeon_device.c radeon_device_fini() -> vga_switcheroo_unregister_client()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->is_virtfn | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/nouveau/nouveau_vga.c nouveau_vga_fini() -> vga_switcheroo_unregister_client()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->is_virtfn | 0 |
| CAPPED_DATA | 0 | pdev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pdev | unit_byte |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_fini_sw() -> vga_switcheroo_unregister_client()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.removable | 0-2,4-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &xenwatch_mutex |