Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_reg_access.c, line 309
- drivers/gpu/drm/amd/amdgpu/soc15.c, line 1166
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_reg_access.c amdgpu_reg_get_smn_base64() -> amdgpu_reg_smn_v1_0_get_base()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | adev->gfx.rlc.reg_funcs->rreg32 | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.reg_funcs->wreg32 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->init_lvl->hwini_ip_block_mask | 31,262143 |
| PARAM_VALUE | 0 | adev->init_lvl->level | 0-2 |
| PARAM_VALUE | 0 | adev->mes.adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | adev->mes.adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->mes.adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->mes.funcs->reset_hw_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->nbio.funcs->apply_l1_link_width_reconfig_wa | 0,3369621559988916224 |
| PARAM_VALUE | 0 | adev->nbio.funcs->apply_lc_spc_mode_wa | 0,7341966144840404992 |
| PARAM_VALUE | 0 | adev->nbio.funcs->get_rev_id | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->nbio.funcs->remap_hdp_registers | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->nbio.funcs->sdma_doorbell_range | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->reg.smn.get_smn_base | 0 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->virt.crit_regn_tbl->offset | 0-4294967295 |
| PARAM_VALUE | 0 | adev->virt.crit_regn_tbl->size_kb | 0-4294967295 |
| PARAM_VALUE | 0 | adev->xcp_mgr->adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | *adev->enforce_isolation | 0-4294967295 |
| PARAM_VALUE | 1 | block | 14-15,31 |
| BUF_SIZE | 0 | adev->asic_funcs | (-1),192 |
| BUF_SIZE | 0 | adev->dev | (-1),1616 |
| BUF_SIZE | 0 | adev->reg.pcie.port_rreg | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.port_wreg | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg64 | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg64_ext | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg_ext | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg64 | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg64_ext | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg_ext | (-1),8 |
| BUF_SIZE | 0 | adev->reset_domain | (-1),192 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | block | $1 |
| DATA_SOURCE | 2 | die_inst | $2 |
| HARD_MAX | 1 | block | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->discovery.debugfs_blob.size | 1-4000000 |
| HOST_DATA | 0 | adev->discovery.offset | 0-u64max |
| HOST_DATA | 0 | adev->external_rev_id | 80-95[c] |
| HOST_DATA | 0 | adev->pdev->bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | adev->pdev->bus->parent->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->bus->parent->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->class | 0-16777215 |
| HOST_DATA | 0 | adev->pdev->physfn->current_state | 0-3[c] |
| HOST_DATA | 0 | adev->pdev->physfn->devcap | 0-u32max |
| HOST_DATA | 0 | adev->pdev->physfn->devfn | 1-503[c] |
| HOST_DATA | 0 | adev->pdev->physfn->device | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | adev->pdev->physfn->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | adev->pdev->physfn->hdr_type | 0-255[c] |
| HOST_DATA | 0 | adev->pdev->physfn->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | adev->pdev->physfn->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | adev->pdev->physfn->irq | 0-255 |
| HOST_DATA | 0 | adev->pdev->physfn->is_cxl | 0-1 |
| HOST_DATA | 0 | adev->pdev->physfn->multifunction | 0-1[c] |
| HOST_DATA | 0 | adev->pdev->physfn->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | adev->pdev->physfn->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | adev->pdev->physfn->pin | 0 |
| HOST_DATA | 0 | adev->pdev->physfn->pme_support | 0-31[c] |
| HOST_DATA | 0 | adev->pdev->physfn->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | adev->pdev->physfn->revision | 0-255 |
| HOST_DATA | 0 | adev->pdev->physfn->subsystem_device | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | adev->pdev->physfn->transparent | 0[c] |
| HOST_DATA | 0 | adev->pdev->physfn->vendor | 0-u16max |
| HOST_DATA | 0 | adev->rev_id | 0-15[c] |
| HOST_DATA | 0 | adev->virt.fw_reserve.checksum_key | 0-u32max |
| HOST_DATA | 0 | adev->virt.init_data_header.offset | 0-u32max |
| HOST_DATA | 0 | adev->virt.init_data_header.size_kb | 0-u32max |
| HOST_DATA | 0 | *adev->pdev->dev.driver_data | s64min-s64max |
| HOST_DATA | 0 | *adev->pdev->physfn->dev.driver_data | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 0 | adev->rmmio_size | |
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &adev->jpeg.jpeg_pg_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_reg_access.c amdgpu_reg_get_smn_base64() -> (struct amdgpu_reg_smn_ext)->get_smn_base()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | adev->gfx.rlc.reg_funcs->rreg32 | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.reg_funcs->wreg32 | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->init_lvl->hwini_ip_block_mask | 31,262143 |
| PARAM_VALUE | 0 | adev->init_lvl->level | 0-2 |
| PARAM_VALUE | 0 | adev->mes.adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | adev->mes.adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->mes.adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->mes.funcs->reset_hw_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->nbio.funcs->apply_l1_link_width_reconfig_wa | 0,3369621559988916224 |
| PARAM_VALUE | 0 | adev->nbio.funcs->apply_lc_spc_mode_wa | 0,7341966144840404992 |
| PARAM_VALUE | 0 | adev->nbio.funcs->get_rev_id | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->nbio.funcs->remap_hdp_registers | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->nbio.funcs->sdma_doorbell_range | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->reg.smn.get_smn_base | 1-u64max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->virt.crit_regn_tbl->offset | 0-4294967295 |
| PARAM_VALUE | 0 | adev->virt.crit_regn_tbl->size_kb | 0-4294967295 |
| PARAM_VALUE | 0 | adev->xcp_mgr->adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | *adev->enforce_isolation | 0-4294967295 |
| PARAM_VALUE | 1 | block | 14-15,31 |
| BUF_SIZE | 0 | adev->asic_funcs | (-1),192 |
| BUF_SIZE | 0 | adev->dev | (-1),1616 |
| BUF_SIZE | 0 | adev->reg.pcie.port_rreg | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.port_wreg | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg64 | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg64_ext | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg_ext | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg64 | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg64_ext | (-1),8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg_ext | (-1),8 |
| BUF_SIZE | 0 | adev->reset_domain | (-1),192 |
| DATA_SOURCE | 0 | adev | $0 |
| DATA_SOURCE | 1 | block | $1 |
| DATA_SOURCE | 2 | die_inst | $2 |
| CONTAINER | 0 | -0-680-4776+0 | $(-1) |
| HARD_MAX | 1 | block | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->discovery.debugfs_blob.size | 1-4000000 |
| HOST_DATA | 0 | adev->discovery.offset | 0-u64max |
| HOST_DATA | 0 | adev->external_rev_id | 80-95[c] |
| HOST_DATA | 0 | adev->pdev->bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | adev->pdev->bus->parent->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->bus->parent->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->class | 0-16777215 |
| HOST_DATA | 0 | adev->pdev->physfn->current_state | 0-3[c] |
| HOST_DATA | 0 | adev->pdev->physfn->devcap | 0-u32max |
| HOST_DATA | 0 | adev->pdev->physfn->devfn | 1-503[c] |
| HOST_DATA | 0 | adev->pdev->physfn->device | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | adev->pdev->physfn->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | adev->pdev->physfn->hdr_type | 0-255[c] |
| HOST_DATA | 0 | adev->pdev->physfn->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | adev->pdev->physfn->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | adev->pdev->physfn->irq | 0-255 |
| HOST_DATA | 0 | adev->pdev->physfn->is_cxl | 0-1 |
| HOST_DATA | 0 | adev->pdev->physfn->multifunction | 0-1[c] |
| HOST_DATA | 0 | adev->pdev->physfn->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | adev->pdev->physfn->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | adev->pdev->physfn->pin | 0 |
| HOST_DATA | 0 | adev->pdev->physfn->pme_support | 0-31[c] |
| HOST_DATA | 0 | adev->pdev->physfn->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | adev->pdev->physfn->revision | 0-255 |
| HOST_DATA | 0 | adev->pdev->physfn->subsystem_device | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | adev->pdev->physfn->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | adev->pdev->physfn->transparent | 0[c] |
| HOST_DATA | 0 | adev->pdev->physfn->vendor | 0-u16max |
| HOST_DATA | 0 | adev->rev_id | 0-15[c] |
| HOST_DATA | 0 | adev->virt.fw_reserve.checksum_key | 0-u32max |
| HOST_DATA | 0 | adev->virt.init_data_header.offset | 0-u32max |
| HOST_DATA | 0 | adev->virt.init_data_header.size_kb | 0-u32max |
| HOST_DATA | 0 | *adev->pdev->dev.driver_data | s64min-s64max |
| HOST_DATA | 0 | *adev->pdev->physfn->dev.driver_data | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 0 | adev->rmmio_size | |
| HALF_LOCKED2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &adev->jpeg.jpeg_pg_lock |