Documented in 1 files:
Defined in 4 files as a function:
- drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c, line 225 (as a function)
- sound/soc/amd/acp/amd.h, line 286 (as a function)
- sound/soc/amd/acp7x/acp7x.h, line 58 (as a function)
- sound/soc/amd/ps/acp63.h, line 386 (as a function)
Referenced in 6 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c, line 617
- sound/soc/amd/acp/acp-pci.c
- sound/soc/amd/acp7x/acp7x-common.c
- sound/soc/amd/acp7x/pci-acp7x.c, line 93
- sound/soc/amd/ps/pci-ps.c, line 638
- sound/soc/amd/ps/ps-common.c
Smatch caller information:
sound/soc/amd/ps/ps-common.c snd_acp63_resume() -> acp_hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->sdw_en_stat | 0 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 1 | dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 1 | dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 1 | dev->parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 1 | dev->parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 1 | dev->parent->kobj.release.wq->saved_min_active | s32min-s32max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| PARAM_COMPARE | 0 | adata | == $1->driver_data |
| PARAM_COMPARE | 0 | adata | == $1->driver_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adata | unit_byte |
| HALF_LOCKED2 | 1 | &dev->mutex |
sound/soc/amd/ps/ps-common.c snd_acp63_runtime_resume() -> acp_hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->sdw_en_stat | 0 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| PARAM_COMPARE | 0 | adata | == $1->driver_data |
| PARAM_COMPARE | 0 | adata | == $1->driver_data |
| UNITS | 0 | adata | unit_byte |
sound/soc/amd/ps/ps-common.c snd_acp70_resume() -> acp_hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->sdw_en_stat | 0 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 1 | dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 1 | dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 1 | dev->parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 1 | dev->parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 1 | dev->parent->kobj.release.wq->saved_min_active | s32min-s32max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| PARAM_COMPARE | 0 | adata | == $1->driver_data |
| PARAM_COMPARE | 0 | adata | == $1->driver_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adata | unit_byte |
| HALF_LOCKED2 | 1 | &dev->mutex |
sound/soc/amd/ps/ps-common.c snd_acp70_runtime_resume() -> acp_hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->sdw_en_stat | 0 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| PARAM_COMPARE | 0 | adata | == $1->driver_data |
| PARAM_COMPARE | 0 | adata | == $1->driver_data |
| UNITS | 0 | adata | unit_byte |
sound/soc/amd/acp/acp-pci.c acp_pci_probe() -> acp_hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->acp_hw_ops | 1310704628675522560,2417566618434199552,3864133898873061376,6357330452155305984 |
| PARAM_VALUE | 0 | adata->acp_hw_ops->acp_deinit | 0 |
| PARAM_VALUE | 0 | adata->acp_hw_ops->acp_init | 0,7978881378545737728 |
| PARAM_VALUE | 0 | adata->acp_hw_ops->dis_interrupts | 0 |
| PARAM_VALUE | 0 | adata->acp_hw_ops->en_interrupts | 0 |
| PARAM_VALUE | 0 | adata->acp_hw_ops->irq | 0 |
| PARAM_VALUE | 0 | adata->acp_hw_ops_init | 2666794193251409920,5464589938801008640,6605374689201545216,9038624568312782848 |
| PARAM_VALUE | 0 | adata->acp_rev | 1-255 |
| PARAM_VALUE | 0 | adata->base | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->flag | 8,16 |
| PARAM_VALUE | 0 | adata->machines | 400601632567590912,4996539114434715648,6129101923207725056,7950205601723068416 |
| PARAM_VALUE | 0 | adata->name | 1285049187597524992,2030543262642176000,3097220722325774336,5976751196696973312 |
| PARAM_VALUE | 0 | adata->rsrc | 1066568632336142336,5597464245747572736,8286677886628917248,9187171905534603264 |
| BUF_SIZE | 0 | adata | 280 |
| BUF_SIZE | 0 | adata->machines | 416,832,1248 |
| BUF_SIZE | 0 | adata->name | 15-16,19 |
| BUF_SIZE | 0 | adata->rsrc | 40 |
| DATA_SOURCE | 0 | adata | r devm_kzalloc |
| STR_LEN | 0 | adata->name | 14-15,18 |
| BIT_INFO | 0 | adata->acp_hw_ops_init | 0x102010000002000,0xffffffffffffffff |
| BIT_INFO | 0 | adata->flag | 0x0,0x18 |
| BIT_INFO | 0 | adata->machines | 0x404010804000000,0xffffffffffffffff |
| BIT_INFO | 0 | adata->name | 0x1000400008000,0xffffffffffffffff |
| BIT_INFO | 0 | adata->rsrc | 0x200008900000,0xffffffffffffffff |
| TERMINATED | 0 | adata->name | 1 |
| MEM_ZERO | 0 | adata | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/amd/acp/acp-pci.c snd_acp_resume() -> acp_hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adata | unit_byte |
sound/soc/amd/ps/pci-ps.c snd_acp63_probe() -> acp_hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->acp63_base | 1-u64max |
| PARAM_VALUE | 0 | adata->acp_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adata->acp_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | adata->acp_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->acp_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | adata->acp_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | adata->acp_rev | 99,112-114 |
| PARAM_VALUE | 0 | adata->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->hw_ops->acp_deinit | 1662321527816871936,1938670095371124736 |
| PARAM_VALUE | 0 | adata->hw_ops->acp_get_config | 7685587923080212480,8380206125065125888 |
| PARAM_VALUE | 0 | adata->hw_ops->acp_init | 6963751865317109760,7597519483649536000 |
| PARAM_VALUE | 0 | adata->hw_ops->acp_resume | 1629119274280849408,3448316538893156352 |
| PARAM_VALUE | 0 | adata->hw_ops->acp_resume_runtime | 1049005018984345600,5683168768080203776 |
| PARAM_VALUE | 0 | adata->hw_ops->acp_sdw_dma_irq_thread | 3071150592527749120,8228450496720580608 |
| PARAM_VALUE | 0 | adata->hw_ops->acp_suspend | 10841769042161664,283588095757873152 |
| PARAM_VALUE | 0 | adata->hw_ops->acp_suspend_runtime | 10841769042161664,283588095757873152 |
| PARAM_VALUE | 0 | adata->reg_range | 114688 |
| PARAM_VALUE | 0 | adata->subsystem_device | 0-u16max |
| PARAM_VALUE | 0 | adata->subsystem_vendor | 0-u16max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver_data | 4096-ptr_max |
| BUF_SIZE | 0 | adata | 320 |
| DATA_SOURCE | 0 | adata | r devm_kzalloc |
| MEM_ZERO | 0 | adata | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/amd/acp7x/pci-acp7x.c snd_acp7x_probe() -> acp_hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->acp7x_base | 1-u64max |
| PARAM_VALUE | 0 | adata->acp_rev | 125-127 |
| PARAM_VALUE | 0 | adata->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->hw_ops->acp_deinit | 602970938057134080 |
| PARAM_VALUE | 0 | adata->hw_ops->acp_init | 3213577946946383872 |
| PARAM_VALUE | 0 | adata->hw_ops->acp_resume | 1716579385423122432 |
| PARAM_VALUE | 0 | adata->hw_ops->acp_resume_runtime | 6791474739039752192 |
| PARAM_VALUE | 0 | adata->hw_ops->acp_suspend | 6074882391708168192 |
| PARAM_VALUE | 0 | adata->hw_ops->acp_suspend_runtime | 6074882391708168192 |
| PARAM_VALUE | 0 | adata->reg_range | 114688 |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->driver_data | 4096-ptr_max |
| BUF_SIZE | 0 | adata | 32 |
| DATA_SOURCE | 0 | adata | r devm_kzalloc |
| MEM_ZERO | 0 | adata | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/amd/acp7x/acp7x-common.c snd_acp7x_resume() -> acp_hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 1 | dev->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 1 | dev->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 1 | dev->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 1 | dev->parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 1 | dev->parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 1 | dev->parent->kobj.release.wq->saved_min_active | s32min-s32max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| BUF_SIZE | 1 | dev | (-1),4,16,24-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| PARAM_COMPARE | 0 | adata | == $1->driver_data |
| PARAM_COMPARE | 0 | adata | == $1->driver_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adata | unit_byte |
| HALF_LOCKED2 | 1 | &dev->mutex |
sound/soc/amd/acp7x/acp7x-common.c snd_acp7x_runtime_resume() -> acp_hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adata | s32min-(-2),1-s32max |
| DATA_SOURCE | 1 | dev | $0 |
| PARAM_COMPARE | 0 | adata | == $1->driver_data |
| PARAM_COMPARE | 0 | adata | == $1->driver_data |
| UNITS | 0 | adata | unit_byte |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_fw_loading() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->version | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_hw_init_phase1() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->version | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_hw_init_phase2() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->version | 4096-ptr_max |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_init() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->version | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_init() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->version | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_reinit_early_sriov() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_ip_reinit_late_sriov() -> (struct amd_ip_funcs)->hw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adata | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->status.hw | 0 |
| PARAM_VALUE | 0 | adata->status.valid | 1 |
| PARAM_VALUE | 0 | adata->version | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->version->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adata->version->type | 0-2,4-17 |
| DATA_SOURCE | 0 | adata | r amdgpu_device_ip_get_ip_block |
| CONTAINER | 0 | -48-16-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock |