Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c smu_cmn_feature_is_enabled() -> smu_feature_bits_is_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bits | 752285879091101696 |
| PARAM_VALUE | 1 | bit | 0-57,64 |
| DATA_SOURCE | 1 | bit | r smu_cmn_to_asic_specific_index |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c smu_cmn_get_pp_feature_mask() -> smu_feature_bits_is_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bits | 8627308026608640000 |
| PARAM_VALUE | 1 | bit | 0-s32max |
| CAPPED_DATA | 1 | bit | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c smu_feature_list_is_set() -> smu_feature_bits_is_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bits | 4096-ptr_max |
| PARAM_VALUE | 1 | bit | 0-57,64 |
| BUF_SIZE | 0 | bits | 32 |
| CAPPED_DATA | 1 | bit | 1 |
| DATA_SOURCE | 1 | bit | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.mutex |