Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_pcode.c pcode_try_request() -> pcode_mailbox_rw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tile | 4096-ptr_max |
| PARAM_VALUE | 3 | data1 | 0 |
| PARAM_VALUE | 4 | timeout_ms | 1 |
| PARAM_VALUE | 5 | return_data | 1 |
| BUF_SIZE | 0 | tile | (-1),1216 |
| BUF_SIZE | 0 | tile | (-1),1216 |
| DATA_SOURCE | 0 | tile | $0 |
| DATA_SOURCE | 1 | mbox | $1 |
| DATA_SOURCE | 6 | atomic | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | *data0 | 0-u32max |
| HALF_LOCKED2 | 0 | &tile->pcode.lock |
drivers/gpu/drm/xe/xe_pcode.c xe_pcode_init_min_freq_table() -> pcode_mailbox_rw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tile | 4096-ptr_max |
| PARAM_VALUE | 0 | tile->pcode.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tile->pcode.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tile->pcode.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tile->pcode.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tile->pcode.lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tile->pcode.lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | tile->pcode.lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mbox | 8 |
| PARAM_VALUE | 2 | data0 | 5905776298944913408 |
| PARAM_VALUE | 3 | data1 | 0 |
| PARAM_VALUE | 4 | timeout_ms | 1 |
| PARAM_VALUE | 5 | return_data | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| CAPPED_DATA | 0 | &tile->pcode.lock | 1 |
| DATA_SOURCE | 0 | tile | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pc->freq_lock | ||
| LOCK2 | 0 | &tile->pcode.lock | |
| TYPE_LOCK | (struct xe_guc_pc)->freq_lock | ||
| TYPE_LOCK | (struct xe_tile)->pcode.lock |
drivers/gpu/drm/xe/xe_pcode.c xe_pcode_read() -> pcode_mailbox_rw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tile->pcode.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tile->pcode.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tile->pcode.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tile->pcode.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tile->pcode.lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tile->pcode.lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | tile->pcode.lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 4 | timeout_ms | 1 |
| PARAM_VALUE | 5 | return_data | 1 |
| PARAM_VALUE | 6 | atomic | 0 |
| BUF_SIZE | 0 | tile | (-1),1216 |
| BUF_SIZE | 0 | tile | (-1),1216 |
| BUF_SIZE | 2 | data0 | (-1),8 |
| BUF_SIZE | 2 | data0 | (-1),8 |
| CAPPED_DATA | 0 | &tile->pcode.lock | 1 |
| DATA_SOURCE | 0 | tile | $0 |
| DATA_SOURCE | 1 | mbox | $1 |
| DATA_SOURCE | 2 | data0 | $2 |
| DATA_SOURCE | 3 | data1 | $3 |
| BIT_INFO | 1 | mbox | 0x0,0xffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | *data0 | 0-u32max |
| LOCK2 | 0 | &tile->pcode.lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct xe_tile)->pcode.lock |
drivers/gpu/drm/xe/xe_pcode.c xe_pcode_write64_timeout() -> pcode_mailbox_rw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tile | 4096-ptr_max |
| PARAM_VALUE | 0 | tile->pcode.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tile->pcode.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tile->pcode.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tile->pcode.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tile->pcode.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tile->pcode.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tile->pcode.lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tile->pcode.lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | tile->pcode.lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | tile->xe | 4096-ptr_max |
| PARAM_VALUE | 1 | mbox | 0-16777215 |
| PARAM_VALUE | 4 | timeout_ms | 1 |
| PARAM_VALUE | 5 | return_data | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| BUF_SIZE | 0 | tile | 1216 |
| BUF_SIZE | 0 | tile | 1216 |
| CAPPED_DATA | 0 | &tile->pcode.lock | 1 |
| DATA_SOURCE | 0 | tile | $0 |
| DATA_SOURCE | 1 | mbox | $1 |
| DATA_SOURCE | 4 | timeout_ms | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | *data0 | 0-u32max |
| HOST_DATA | 3 | *data1 | 0-u32max |
| USER_DATA | 2 | *data0 | 0-u32max[c] |
| USER_DATA | 3 | *data1 | 0-u32max[c] |
| USER_PTR | 2 | data0 | |
| USER_PTR | 3 | data1 | |
| LOCK2 | 0 | &tile->pcode.lock | |
| HALF_LOCKED2 | &hwmon->hwmon_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct xe_tile)->pcode.lock |
drivers/gpu/drm/xe/xe_pcode.c xe_pcode_write_timeout() -> pcode_mailbox_rw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tile | 4096-ptr_max |
| PARAM_VALUE | 0 | tile->pcode.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tile->pcode.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tile->pcode.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tile->pcode.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | tile->pcode.lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tile->pcode.lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | tile->pcode.lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mbox | 0-16777215 |
| PARAM_VALUE | 2 | *data0 | 0-2036 |
| PARAM_VALUE | 3 | data1 | 0 |
| PARAM_VALUE | 4 | timeout_ms | 1 |
| PARAM_VALUE | 5 | return_data | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| BUF_SIZE | 0 | tile | 1216 |
| BUF_SIZE | 0 | tile | 1216 |
| CAPPED_DATA | 0 | &tile->pcode.lock | 1 |
| DATA_SOURCE | 0 | tile | $0 |
| DATA_SOURCE | 1 | mbox | $1 |
| DATA_SOURCE | 4 | timeout_ms | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | *data0 | 0-2036[c] |
| USER_PTR | 2 | data0 | |
| LOCK2 | &hwmon->hwmon_lock | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| LOCK2 | 0 | &tile->pcode.lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct xe_hwmon)->hwmon_lock | ||
| TYPE_LOCK | (struct xe_tile)->pcode.lock |