Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pci_shutdown() -> amdgpu_device_prepare()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
LOCK2 &dev->mutex
HALF_LOCKED2 &parent->mutex
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct device)->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pmops_prepare() -> amdgpu_device_prepare()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &system_transition_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pmops_runtime_suspend() -> amdgpu_device_prepare()

Type Parameter Key Value
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
UNITS 0 dev unit_byte

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_switcheroo_set_state() -> amdgpu_device_prepare()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->switch_power_state 2
BUF_SIZE 0 dev s32min-(-2),1-s32max
BUF_SIZE 0 dev s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 dev unit_byte
LOCK2 global &vgasr_mutex