Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/accel/amdxdna/aie2_message.c, line 232
- drivers/accel/amdxdna/aie2_pci.c
- drivers/accel/amdxdna/aie2_pm.c, line 22
Smatch caller information:
drivers/accel/amdxdna/aie2_message.c aie2_create_context() -> aie2_runtime_cfg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann->chan_xa.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann->chan_xa.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann->next_msgid | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann->x2i_tail | 20-4294967295 |
| PARAM_VALUE | 0 | ndev->force_preempt_enabled | 1-u32max |
| PARAM_VALUE | 1 | category | 2 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| PARAM_VALUE | 2 | *val | 0 |
| DATA_SOURCE | 0 | ndev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/accel/amdxdna/aie2_pci.c aie2_hw_stop() -> aie2_runtime_cfg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->aie.metadata.col_size | 0 |
| PARAM_VALUE | 0 | ndev->aie.metadata.cols | 0 |
| PARAM_VALUE | 0 | ndev->aie.metadata.rows | 0 |
| PARAM_VALUE | 0 | ndev->dev_status | 2-u32max |
| PARAM_VALUE | 0 | ndev->version.major | 0 |
| PARAM_VALUE | 0 | ndev->version.minor | 0 |
| PARAM_VALUE | 1 | category | 1 |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &xdna->dev_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/accel/amdxdna/aie2_pci.c aie2_mgmt_fw_init() -> aie2_runtime_cfg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chan_idx | 0 |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann->bad_state | 0 |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann->chan_xa.xa_flags | 33554437 |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann->chan_xa.xa_head | 0 |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann->i2x_head | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann->iohub_int_addr | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann->mb->res.name | 5019382571421011968,5626756236368834560 |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann->msix_irq | 0 |
| PARAM_VALUE | 0 | ndev->aie.mgmt_chann->x2i_tail | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->aie.mgmt_prot_major | 5-7 |
| PARAM_VALUE | 0 | ndev->aie.psp_hdl | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->aie.psp_hdl->certfw_buf_sz | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->aie.smu_hdl | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->aie.xdna->dev_info | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->aie.xdna->dev_info->fw_feature_tbl->major | 5-7 |
| PARAM_VALUE | 0 | ndev->aie.xdna->dev_info->fw_feature_tbl->min_minor | 0,7-8,10,12,15,18,24 |
| PARAM_VALUE | 0 | ndev->dev_status | 0-1 |
| PARAM_VALUE | 0 | ndev->mbox | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->mbox->dev | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | ndev->mbox->res.name | 5626756236368834560 |
| PARAM_VALUE | 0 | ndev->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->priv->mbox_size | 0 |
| PARAM_VALUE | 1 | category | 0 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | ndev->aie.mgmt_chann | 240 |
| DATA_SOURCE | 0 | ndev | $0 |
| STR_LEN | 0 | ndev->mbox->res.name | 12 |
| TERMINATED | 0 | ndev->mbox->res.name | 1 |
| HARD_MAX | 0 | ndev->dev_status | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &xdna->dev_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/accel/amdxdna/aie2_pci.c aie2_set_preempt_state() -> aie2_runtime_cfg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | category | 3 |
| PARAM_VALUE | 2 | val | 4343145740380229632 |
| PARAM_VALUE | 2 | *val | 0-1 |
| USER_DATA | 2 | *val | 0-1 |
| USER_PTR | 2 | val | |
| LOCK2 | &xdna->dev_lock | ||
| LOCK2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdxdna_dev)->dev_lock |
drivers/accel/amdxdna/aie2_pm.c aie2_pm_set_clk_gating() -> aie2_runtime_cfg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->aie.psp_hdl->certfw_buf_sz | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->aie.xdna->ddev.dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->aie.xdna->dev_info->fw_feature_tbl->major | 0,5-7 |
| PARAM_VALUE | 0 | ndev->aie.xdna->dev_info->fw_feature_tbl->min_minor | 0,7-8,10,12,15,18,24 |
| PARAM_VALUE | 0 | ndev->priv->dpm_clk_tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->priv->mbox_size | 0 |
| PARAM_VALUE | 1 | category | 1 |
| DATA_SOURCE | 0 | ndev | $0 |
| STR_LEN | 0 | ndev->mbox->res.name | (-1),12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ndev->aie.mgmt_chann->work_q->rescuer->task->dl.pi_se->dl_runtime | |
| HALF_LOCKED2 | &xdna->dev_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |