Defined in 1 files as a function:
Referenced in 6 files:
- drivers/gpu/drm/xe/tests/xe_pci.c, line 418
- drivers/gpu/drm/xe/xe_device_sysfs.c
- drivers/gpu/drm/xe/xe_pci.c
- drivers/gpu/drm/xe/xe_pci_error.c
- drivers/gpu/drm/xe/xe_pci_sriov.c
- drivers/gpu/drm/xe/xe_survivability_mode.c
Smatch caller information:
drivers/gpu/drm/xe/xe_pci.c d3cold_toggle() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_pci.c xe_pci_live_device_gen_param() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| LOCK2 | global &kunit_run_lock |
drivers/gpu/drm/xe/xe_pci.c xe_pci_remove() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| 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 |
| CAPPED_DATA | 0 | pdev | 1 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->current_state | 0-3[c] |
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |
drivers/gpu/drm/xe/xe_pci.c xe_pci_resume() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| CAPPED_DATA | 0 | pdev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | pdev->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | pdev->sriov->offset | 0-u16max |
| HOST_DATA | 0 | pdev->sriov->stride | 0-u16max |
drivers/gpu/drm/xe/xe_pci.c xe_pci_runtime_idle() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
drivers/gpu/drm/xe/xe_pci.c xe_pci_runtime_resume() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
drivers/gpu/drm/xe/xe_pci.c xe_pci_runtime_suspend() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
drivers/gpu/drm/xe/xe_pci.c xe_pci_shutdown() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &parent->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/gpu/drm/xe/xe_pci.c xe_pci_suspend() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_device_sysfs.c auto_link_downgrade_capable_show() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/xe/xe_device_sysfs.c auto_link_downgrade_status_show() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/xe/xe_device_sysfs.c late_bind_attr_is_visible() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_device_sysfs.c lb_fan_control_version_show() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/xe/xe_device_sysfs.c lb_voltage_regulator_version_show() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/xe/xe_device_sysfs.c vram_d3cold_threshold_show() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/xe/xe_device_sysfs.c vram_d3cold_threshold_store() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/xe/xe_survivability_mode.c create_survivability_sysfs() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
drivers/gpu/drm/xe/xe_survivability_mode.c enable_boot_survivability_mode() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_survivability_mode.c log_survivability_info() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_survivability_mode.c survivability_info_show() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/xe/xe_survivability_mode.c survivability_mode_show() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/xe/xe_pci_error.c prepare_device_for_reset() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| 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 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |
drivers/gpu/drm/xe/xe_pci_error.c xe_pci_error_detected() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| 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 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |
drivers/gpu/drm/xe/xe_pci_error.c xe_pci_error_mmio_enabled() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |
drivers/gpu/drm/xe/xe_pci_error.c xe_pci_error_resume() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |
drivers/gpu/drm/xe/xe_pci_error.c xe_pci_error_slot_reset() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |
drivers/gpu/drm/xe/xe_pci_error.c xe_pci_error_slot_reset() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,7472,8064 |
| CAPPED_DATA | 0 | pdev | 1 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | pdev->sriov->offset | 0-u16max |
| HOST_DATA | 0 | pdev->sriov->stride | 0-u16max |
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |
drivers/gpu/drm/xe/xe_pci_sriov.c xe_pci_sriov_configure() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| 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 |
| CAPPED_DATA | 0 | pdev | 1 |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->current_state | 0-3[c] |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |
drivers/gpu/drm/xe/xe_pci_sriov.c xe_pci_sriov_get_vf_pdev() -> pdev_to_xe_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| DATA_SOURCE | 0 | pdev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | pdev | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |