Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c s3_debug_store() -> dm_suspend()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
DATA_SOURCE 0 md r amdgpu_device_ip_get_ip_block
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/md/dm-ioctl.c dm_early_create() -> dm_suspend()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->event_nr.counter 0
PARAM_VALUE 0 md->ima.measure_idx 0
PARAM_VALUE 0 md->ima.update_idx 0
PARAM_VALUE 0 md->init_tio_pdu 0
PARAM_VALUE 0 md->interface_ptr 4096-ptr_max
PARAM_VALUE 0 md->kobj_holder.completion.done 0
PARAM_VALUE 0 md->open_count.counter 0
PARAM_VALUE 0 md->queue 0,4096-ptr_max
PARAM_VALUE 0 md->requeue_list 0
PARAM_VALUE 0 md->stats.precise_timestamps 0
PARAM_VALUE 0 md->suspend_lock.first_waiter 0
PARAM_VALUE 0 md->suspend_lock.osq.tail.counter 0
PARAM_VALUE 0 md->suspend_lock.owner.counter 0
PARAM_VALUE 0 md->swap_bios 1-s32max
PARAM_VALUE 0 md->swap_bios_lock.first_waiter 0
PARAM_VALUE 0 md->swap_bios_lock.osq.tail.counter 0
PARAM_VALUE 0 md->swap_bios_lock.owner.counter 0
PARAM_VALUE 0 md->table_devices_lock.first_waiter 0
PARAM_VALUE 0 md->table_devices_lock.osq.tail.counter 0
PARAM_VALUE 0 md->table_devices_lock.owner.counter 0
PARAM_VALUE 0 md->type 0
PARAM_VALUE 0 md->type_lock.first_waiter 0
PARAM_VALUE 0 md->type_lock.osq.tail.counter 0
PARAM_VALUE 0 md->type_lock.owner.counter 0
PARAM_VALUE 0 md->uevent_seq.counter 0
PARAM_VALUE 1 suspend_flags 0
NOCHECK_CALL

drivers/md/dm-ioctl.c do_resume() -> dm_suspend()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 1 suspend_flags 0-3
FUZZY_MAX 1 suspend_flags 1

drivers/md/dm-ioctl.c do_suspend() -> dm_suspend()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 1 suspend_flags 0-3
DATA_SOURCE 0 md r find_device
FUZZY_MAX 1 suspend_flags 1

drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c amdgpu_ip_block_suspend() -> (struct amd_ip_funcs)->suspend()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->version 4096-ptr_max
PARAM_VALUE 0 md->version->funcs 4096-ptr_max
PARAM_VALUE 0 md->version->funcs->suspend 4096-ptr_max
DATA_SOURCE 0 md $0
CONTAINER 0 -80-16-8+0 $(-1)
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_soft_reset() -> (struct amd_ip_funcs)->suspend()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->version 4096-ptr_max
PARAM_VALUE 0 md->version->funcs 4096-ptr_max
DATA_SOURCE 0 md $0
CONTAINER 0 -80-16-8+0 $(-1)
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_soft_reset() -> (struct amd_ip_funcs)->suspend()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->adev->gfx.num_compute_rings 0-s32max
PARAM_VALUE 0 md->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 md->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 md->version 4096-ptr_max
PARAM_VALUE 0 md->version->funcs 4096-ptr_max
PARAM_VALUE 0 md->version->funcs->soft_reset 4096-ptr_max
DATA_SOURCE 0 md $0
CONTAINER 0 -80-16-8+0 $(-1)
NOCHECK_CALL
LOCK2 &adev->reset_domain->sem
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_reset_domain)->sem

drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c gfx_v7_0_soft_reset() -> (struct amd_ip_funcs)->suspend()

Type Parameter Key Value
PARAM_VALUE 0 md 4096-ptr_max
PARAM_VALUE 0 md->adev->gfx.num_compute_rings 0-s32max
PARAM_VALUE 0 md->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 md->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 md->version 4096-ptr_max
PARAM_VALUE 0 md->version->funcs 4096-ptr_max
PARAM_VALUE 0 md->version->funcs->soft_reset 4096-ptr_max
DATA_SOURCE 0 md $0
CONTAINER 0 -80-16-8+0 $(-1)
NOCHECK_CALL
LOCK2 &adev->reset_domain->sem
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_reset_domain)->sem