Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 14 files:
- drivers/gpu/drm/xe/xe_device.c
- drivers/gpu/drm/xe/xe_eu_stall.c
- drivers/gpu/drm/xe/xe_force_wake.c, line 112
- drivers/gpu/drm/xe/xe_gsc.c, line 196
- drivers/gpu/drm/xe/xe_gsc_proxy.c, line 80
- drivers/gpu/drm/xe/xe_gt.c, line 824
- drivers/gpu/drm/xe/xe_gt_mcr.c, line 714
- drivers/gpu/drm/xe/xe_guc.c
- drivers/gpu/drm/xe/xe_huc.c, line 274
- drivers/gpu/drm/xe/xe_oa.c
- drivers/gpu/drm/xe/xe_pcode.c, line 91
- drivers/gpu/drm/xe/xe_pxp.c, line 138
- drivers/gpu/drm/xe/xe_sysctrl_mailbox.c, line 53
- drivers/gpu/drm/xe/xe_uc_fw.c, line 898
Smatch caller information:
drivers/gpu/drm/xe/xe_device.c __xe_driver_flr() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 2147483648 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | timeout_us | 3000000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| BUF_SIZE | 0 | mmio | 40 |
| DATA_SOURCE | 0 | mmio | r xe_root_tile_mmio |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/gpu/drm/xe/xe_device.c __xe_driver_flr() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile->xe | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 2147483648 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | timeout_us | 3000000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| BUF_SIZE | 0 | mmio | 40 |
| CAPPED_DATA | 0 | mmio->adj_limit | 1 |
| DATA_SOURCE | 0 | mmio | r xe_root_tile_mmio |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/gpu/drm/xe/xe_device.c __xe_driver_flr() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile->xe | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 2147483648 |
| PARAM_VALUE | 3 | val | 2147483648 |
| PARAM_VALUE | 4 | timeout_us | 3000000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| BUF_SIZE | 0 | mmio | 40 |
| CAPPED_DATA | 0 | mmio->adj_limit | 1 |
| DATA_SOURCE | 0 | mmio | r xe_root_tile_mmio |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/gpu/drm/xe/xe_device.c tdf_request_sync() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | timeout_us | 300 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
drivers/gpu/drm/xe/xe_device.c xe_device_l2_flush() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | timeout_us | 1000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | >->global_invl_lock | ||
| TYPE_LOCK | (struct xe_gt)->global_invl_lock |
drivers/gpu/drm/xe/xe_gsc_proxy.c xe_gsc_wait_for_proxy_init_done() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 15 |
| PARAM_VALUE | 3 | val | 5 |
| PARAM_VALUE | 4 | timeout_us | 1000000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_sysctrl_mailbox.c sysctrl_wait_bit_set() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile->xe | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 536870912 |
| PARAM_VALUE | 3 | val | 536870912 |
| PARAM_VALUE | 4 | timeout_us | 500000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| CAPPED_DATA | 0 | mmio->adj_limit | 1 |
| DATA_SOURCE | 2 | mask | $1 |
| DATA_SOURCE | 3 | val | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_gsc.c gsc_fw_wait() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 512 |
| PARAM_VALUE | 3 | val | 512 |
| PARAM_VALUE | 4 | timeout_us | 500000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_gt_mcr.c mcr_lock() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | val | 1 |
| PARAM_VALUE | 4 | timeout_us | 10 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | >->mcr_lock | ||
| HALF_LOCKED2 | >->eu_stall->stream_lock | ||
| TYPE_LOCK | (struct xe_gt)->mcr_lock |
drivers/gpu/drm/xe/xe_pxp.c pxp_wait_for_session_state() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 32768 |
| PARAM_VALUE | 3 | val | 0,32768 |
| PARAM_VALUE | 4 | timeout_us | 250 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| FUZZY_MAX | 3 | val | 0 |
| BIT_INFO | 3 | val | 0x0,0x8000 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_oa.c xe_oa_disable() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile->xe | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | timeout_us | 50000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| BUF_SIZE | 0 | mmio | 40 |
| CAPPED_DATA | 0 | mmio->adj_limit | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | >->oa.gt_lock | ||
| HALF_LOCKED2 | ¶m.hwe->gt->oa.gt_lock | ||
| HALF_LOCKED2 | &stream->stream_lock |
drivers/gpu/drm/xe/xe_oa.c xe_oa_disable() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile->xe | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | timeout_us | 50000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| BUF_SIZE | 0 | mmio | 40 |
| CAPPED_DATA | 0 | mmio->adj_limit | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | >->oa.gt_lock | ||
| HALF_LOCKED2 | ¶m.hwe->gt->oa.gt_lock | ||
| HALF_LOCKED2 | &stream->stream_lock |
drivers/gpu/drm/xe/xe_gt.c do_gt_reset() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | timeout_us | 5000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/gpu/drm/xe/xe_force_wake.c __domain_wait() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | val | 0-1 |
| PARAM_VALUE | 4 | timeout_us | 50000 |
| PARAM_VALUE | 5 | out_val | 3313910050199719936 |
| PARAM_VALUE | 6 | atomic | 1 |
| FUZZY_MAX | 3 | val | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fw->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | >->eu_stall->stream_lock | ||
| HALF_LOCKED2 | &m->lock | ||
| HALF_LOCKED2 | ¶m.hwe->gt->oa.gt_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tlb_inval->seqno_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct xe_force_wake)->lock |
drivers/gpu/drm/xe/xe_eu_stall.c xe_eu_stall_disable_locked() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 96 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | timeout_us | 10000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | >->eu_stall->stream_lock | ||
| TYPE_LOCK | (struct xe_eu_stall_gt)->stream_lock |
drivers/gpu/drm/xe/xe_eu_stall.c xe_eu_stall_stream_enable() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 96 |
| PARAM_VALUE | 3 | val | 96 |
| PARAM_VALUE | 4 | timeout_us | 10000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| LOCK2 | >->eu_stall->stream_lock | ||
| TYPE_LOCK | (struct xe_eu_stall_gt)->stream_lock |
drivers/gpu/drm/xe/xe_uc_fw.c uc_fw_xfer() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile->xe | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | timeout_us | 100000 |
| PARAM_VALUE | 5 | out_val | 857267025452642304 |
| PARAM_VALUE | 6 | atomic | 0 |
| BUF_SIZE | 0 | mmio | 40 |
| CAPPED_DATA | 0 | mmio->adj_limit | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_guc.c guc_prevent_fw_dma_failure_on_reset() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 65280 |
| PARAM_VALUE | 3 | val | 0,256-65280 |
| PARAM_VALUE | 4 | timeout_us | 100000 |
| PARAM_VALUE | 5 | out_val | 7540029969057087488 |
| PARAM_VALUE | 6 | atomic | 0 |
| BIT_INFO | 3 | val | 0x0,0xff00 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 5 | *out_val | 0-u32max |
drivers/gpu/drm/xe/xe_guc.c guc_prevent_fw_dma_failure_on_reset() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 384 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | timeout_us | 5000 |
| PARAM_VALUE | 5 | out_val | 7670387123486736384 |
| PARAM_VALUE | 6 | atomic | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_guc.c xe_guc_mmio_send_recv() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile->xe | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 2147483648 |
| PARAM_VALUE | 3 | val | 0,2147483648-u32max |
| PARAM_VALUE | 4 | timeout_us | 50000 |
| PARAM_VALUE | 5 | out_val | 8490193481150238720 |
| PARAM_VALUE | 6 | atomic | 0 |
| BUF_SIZE | 0 | mmio | 40 |
| CAPPED_DATA | 0 | mmio->adj_limit | 1 |
| BIT_INFO | 1 | reg | 0x0,0x7fffffff |
| BIT_INFO | 3 | val | 0x0,0x80000000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 5 | *out_val | 0-u32max |
drivers/gpu/drm/xe/xe_guc.c xe_guc_mmio_send_recv() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile->xe | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 0,268435456-1879048192 |
| PARAM_VALUE | 3 | val | 0,268435456-1879048192 |
| PARAM_VALUE | 4 | timeout_us | 2000000 |
| PARAM_VALUE | 5 | out_val | 8490193481150238720 |
| PARAM_VALUE | 6 | atomic | 0 |
| BUF_SIZE | 0 | mmio | 40 |
| CAPPED_DATA | 0 | mmio->adj_limit | 1 |
| BIT_INFO | 1 | reg | 0x0,0x7fffffff |
| BIT_INFO | 2 | mask | 0x0,0x70000000 |
| BIT_INFO | 3 | val | 0x0,0x70000000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 5 | *out_val | 0-u32max |
drivers/gpu/drm/xe/xe_guc.c xe_guc_reset() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile->xe | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 8 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | timeout_us | 5000 |
| PARAM_VALUE | 5 | out_val | 8867984346431930368 |
| PARAM_VALUE | 6 | atomic | 0 |
| BUF_SIZE | 0 | mmio | 40 |
| CAPPED_DATA | 0 | mmio->adj_limit | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_huc.c xe_huc_auth() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 4 | timeout_us | 100000 |
| PARAM_VALUE | 5 | out_val | 0 |
| PARAM_VALUE | 6 | atomic | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_pcode.c __pcode_mailbox_rw() -> xe_mmio_wait32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mmio | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | mmio->tile->xe | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 2147483648 |
| PARAM_VALUE | 3 | val | 0 |
| PARAM_VALUE | 4 | timeout_us | 1000 |
| PARAM_VALUE | 5 | out_val | 0 |
| BUF_SIZE | 0 | mmio | 40 |
| CAPPED_DATA | 0 | mmio->adj_limit | 1 |
| DATA_SOURCE | 6 | atomic | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tile->pcode.lock |