Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/accel/amdxdna/amdxdna_ctx.c amdxdna_drm_submit_execbuf() -> amdxdna_cmd_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 1 | drv_cmd | 0 |
| PARAM_VALUE | 3 | arg_bo_hdls | 0,16,4096-ptr_max |
| PARAM_VALUE | 4 | arg_bo_cnt | 0-4095 |
| PARAM_VALUE | 6 | seq | 4096-ptr_max |
| BUF_SIZE | 0 | client | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
| BUF_SIZE | 0 | client | 16,48,104,120,152,248,256,352,424,464,576,768,968,1120,1424,2256,4712,13184 |
| BUF_SIZE | 3 | arg_bo_hdls | 0,4 |
| BUF_SIZE | 3 | arg_bo_hdls | 0,4 |
| DATA_SOURCE | 0 | client | $0 |
| HARD_MAX | 4 | arg_bo_cnt | 4095 |
| USER_DATA | 2 | cmd_bo_hdl | 0-u32max[u] |
| USER_DATA | 3 | *arg_bo_hdls | 0-u32max |
| USER_DATA | 4 | arg_bo_cnt | 0-4095[u] |
| USER_DATA | 5 | hwctx_hdl | 0-u32max[u] |
| USER_DATA | 6 | *seq | 0-u64max[u] |
| USER_PTR | 3 | arg_bo_hdls | |
| USER_PTR | 6 | seq |
drivers/accel/amdxdna/aie2_ctx.c aie2_hwctx_cfg_debug_bo() -> amdxdna_cmd_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->filp | 4096-ptr_max |
| PARAM_VALUE | 0 | client->filp->table_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drv_cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | drv_cmd->opcode | 2-3 |
| PARAM_VALUE | 1 | drv_cmd->refcnt.refcount.refs.counter | 1 |
| PARAM_VALUE | 2 | cmd_bo_hdl | 0 |
| PARAM_VALUE | 4 | arg_bo_cnt | 1 |
| PARAM_VALUE | 6 | seq | 7096918561948057600 |
| BUF_SIZE | 1 | drv_cmd | 12 |
| DATA_SOURCE | 1 | drv_cmd | r _kzalloc_noprof |
| FUZZY_MAX | 1 | drv_cmd->opcode | 3 |
| BIT_INFO | 1 | drv_cmd->opcode | 0x2,0x3 |
| HARD_MAX | 1 | drv_cmd->opcode | 3 |
| USER_DATA | 3 | *arg_bo_hdls | 0-u32max[u] |
| USER_PTR | 3 | arg_bo_hdls | |
| LOCK2 | &xdna->client_lock | ||
| LOCK2 | &xdna->dev_lock | ||
| TYPE_LOCK | (struct amdxdna_dev)->client_lock | ||
| TYPE_LOCK | (struct amdxdna_dev)->dev_lock |
drivers/accel/amdxdna/aie2_ctx.c aie2_hwctx_sync_debug_bo() -> amdxdna_cmd_submit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 1 | drv_cmd | 4096-ptr_max |
| PARAM_VALUE | 1 | drv_cmd->opcode | 1 |
| PARAM_VALUE | 1 | drv_cmd->refcnt.refcount.refs.counter | 1 |
| PARAM_VALUE | 2 | cmd_bo_hdl | 0 |
| PARAM_VALUE | 4 | arg_bo_cnt | 1 |
| PARAM_VALUE | 6 | seq | 923278009461235712 |
| BUF_SIZE | 1 | drv_cmd | 12 |
| DATA_SOURCE | 1 | drv_cmd | r _kzalloc_noprof |
| USER_DATA | 3 | *arg_bo_hdls | 0-u32max[u] |
| USER_PTR | 3 | arg_bo_hdls | |
| LOCK2 | &xdna->client_lock | ||
| LOCK2 | &xdna->dev_lock | ||
| TYPE_LOCK | (struct amdxdna_dev)->client_lock | ||
| TYPE_LOCK | (struct amdxdna_dev)->dev_lock |