Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c get_vega10_fan_table() -> vega10_pp_table_has_space()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->soft_pp_table_size 92-u16max
PARAM_VALUE 1 offset 1-u16max
PARAM_VALUE 2 size 1,36,38,40
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr->pptable 232
CAPPED_DATA 0 hwmgr->soft_pp_table_size 1
DATA_SOURCE 0 hwmgr $0
FUZZY_MAX 2 size 40
PARAM_COMPARE 0 hwmgr->soft_pp_table_size >= $1
PARAM_COMPARE 1 offset <= $0->soft_pp_table_size
BIT_INFO 2 size 0x0,0x2f
BIT_INFO 2 size 0x0,0x2f
HARD_MAX 2 size 40
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 &of->mutex

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c get_vega10_gfxclk_dependency_table() -> vega10_pp_table_has_space()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->soft_pp_table_size 92-u16max
PARAM_VALUE 1 offset 1-u16max
PARAM_VALUE 2 size 4
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr->pptable 232
DATA_SOURCE 0 hwmgr $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 &of->mutex

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c get_vega10_gfxclk_dependency_table() -> vega10_pp_table_has_space()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->soft_pp_table_size 92-u16max
PARAM_VALUE 1 offset 1-u16max
PARAM_VALUE 2 size 16-4084
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr->pptable 232
CAPPED_DATA 0 hwmgr->soft_pp_table_size 1
CAPPED_DATA 1 offset 1
DATA_SOURCE 0 hwmgr $0
PARAM_COMPARE 0 hwmgr->soft_pp_table_size >= $1
PARAM_COMPARE 1 offset <= $0->soft_pp_table_size
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 &of->mutex

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c get_vega10_power_tune_table() -> vega10_pp_table_has_space()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->soft_pp_table_size 92-u16max
PARAM_VALUE 1 offset 1-u16max
PARAM_VALUE 2 size 40,42,56
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr->pptable 232
CAPPED_DATA 0 hwmgr->soft_pp_table_size 1
DATA_SOURCE 0 hwmgr $0
FUZZY_MAX 2 size 56
PARAM_COMPARE 0 hwmgr->soft_pp_table_size >= $1
PARAM_COMPARE 1 offset <= $0->soft_pp_table_size
BIT_INFO 2 size 0x28,0x3a
BIT_INFO 2 size 0x28,0x3a
HARD_MAX 2 size 56
RX_PATH
TASK_NOT_RUNNING
UNITS 2 size unit_byte
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 &of->mutex

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c get_vega10_subtable() -> vega10_pp_table_has_space()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->soft_pp_table_size 92-u16max
PARAM_VALUE 1 offset 1-u16max
PARAM_VALUE 2 size 1-2,4,8
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr->pptable 232
CAPPED_DATA 0 hwmgr->soft_pp_table_size 1
DATA_SOURCE 0 hwmgr $0
DATA_SOURCE 1 offset $2
DATA_SOURCE 2 size $3
HARD_MAX 2 size 8
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
UNITS 2 size unit_byte
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 &of->mutex

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c get_vega10_voltage_lookup_table() -> vega10_pp_table_has_space()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->soft_pp_table_size 92-u16max
PARAM_VALUE 1 offset 1-u16max
PARAM_VALUE 2 size 4-18
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr->pptable 232
CAPPED_DATA 0 hwmgr->soft_pp_table_size 1
CAPPED_DATA 2 size 1
CAPPED_DATA 2 size 1
DATA_SOURCE 0 hwmgr $0
DATA_SOURCE 1 offset $2
PARAM_COMPARE 0 hwmgr->soft_pp_table_size >= $1
PARAM_COMPARE 1 offset <= $0->soft_pp_table_size
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 &of->mutex

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c validate_vega10_table_entries() -> vega10_pp_table_has_space()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->soft_pp_table_size 92-u16max
PARAM_VALUE 1 offset 1-u16max
PARAM_VALUE 2 size 12-5104
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr 1256,3968
BUF_SIZE 0 hwmgr->pptable 232
CAPPED_DATA 0 hwmgr->soft_pp_table_size 1
DATA_SOURCE 0 hwmgr $0
DATA_SOURCE 1 offset $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 offset unit_byte
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 &of->mutex