Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 8 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 4135
- drivers/gpu/drm/i915/display/intel_vga.c, line 334
- drivers/gpu/drm/loongson/lsdc_drv.c, line 294
- drivers/gpu/drm/nouveau/nouveau_vga.c, line 98
- drivers/gpu/drm/radeon/radeon_device.c, line 1427
- drivers/pci/vgaarb.c, line 973
- drivers/vfio/pci/vfio_pci_core.c, line 2164
- include/linux/vgaarb.h, line 100
Smatch caller information:
drivers/gpu/drm/loongson/lsdc_drv.c lsdc_pci_probe() -> vga_client_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->bus->self->link_bwctrl->cdev | (-22),(-19),(-12),0-s64max |
| PARAM_VALUE | 0 | pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver_data | 0-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->driver->err_handler | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | pdev->is_managed | 1 |
| PARAM_VALUE | 0 | pdev->is_virtfn | 0 |
| PARAM_VALUE | 0 | pdev->link_bwctrl->cdev | 0-s64max |
| PARAM_VALUE | 0 | pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | *pdev->saved_config_space | 0-4294967295 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| CAPPED_DATA | 0 | pdev | 1 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | pdev->current_state | 0-3[c] |
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |
drivers/vfio/pci/vfio_pci_core.c vfio_pci_vga_init() -> vga_client_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->hdr_type | 0 |
| PARAM_VALUE | 0 | pdev->slot | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/vfio/pci/vfio_pci_core.c vga_client_unregister() -> vga_client_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | set_decode | 0 |
| DATA_SOURCE | 0 | pdev | $0 |
| 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_init() -> vga_client_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->msi_addr_mask | u32max,1099511627775 |
| CAPPED_DATA | 0 | pdev->msi_addr_mask | 1 |
| FUZZY_MAX | 0 | pdev->msi_addr_mask | 1099511627775 |
| HARD_MAX | 0 | pdev->msi_addr_mask | 1099511627775 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/radeon/radeon_device.c vga_client_unregister() -> vga_client_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | set_decode | 0 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/nouveau/nouveau_vga.c nouveau_vga_init() -> vga_client_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pdev | unit_byte |
drivers/gpu/drm/nouveau/nouveau_vga.c vga_client_unregister() -> vga_client_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | set_decode | 0 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pdev | unit_byte |
drivers/gpu/drm/i915/display/intel_vga.c intel_vga_register() -> vga_client_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/display/intel_vga.c vga_client_unregister() -> vga_client_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | set_decode | 0 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | pdev | unit_byte |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c vga_client_unregister() -> vga_client_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | set_decode | 0 |
| DATA_SOURCE | 0 | pdev | $0 |
| 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 |