Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_enable_periodic_detection_no_workqueue() -> dm_helpers_enable_periodic_detection()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 1 enable 1
BUF_SIZE 0 ctx 200
DATA_SOURCE 0 ctx r kunit_kzalloc
MEM_ZERO 0 ctx
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_enable_periodic_detection_schedules_work() -> dm_helpers_enable_periodic_detection()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->driver_context 4096-ptr_max
PARAM_VALUE 1 enable 1
BUF_SIZE 0 ctx 200
DATA_SOURCE 0 ctx r kunit_kzalloc
MEM_ZERO 0 ctx
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_enable_periodic_detection_updates_enable() -> dm_helpers_enable_periodic_detection()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->driver_context 4096-ptr_max
PARAM_VALUE 1 enable 1
BUF_SIZE 0 ctx 200
DATA_SOURCE 0 ctx r kunit_kzalloc
MEM_ZERO 0 ctx
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_enable_periodic_detection_updates_enable() -> dm_helpers_enable_periodic_detection()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->driver_context 4096-ptr_max
PARAM_VALUE 0 ctx->driver_context->dm.idle_workqueue->enable 0-1
PARAM_VALUE 1 enable 0
BUF_SIZE 0 ctx 200
DATA_SOURCE 0 ctx r kunit_kzalloc
MEM_ZERO 0 ctx
NOCHECK_CALL