Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/i915/gt/intel_mocs.c __init_mocs_table() -> get_entry_control()

Type Parameter Key Value
PARAM_VALUE 0 table 5397007645488283648,6918666756182532096
PARAM_VALUE 0 table->size 0,3-4,16,64
PARAM_VALUE 0 table->table 0,4096-ptr_max
PARAM_VALUE 0 table->unused_entries_index 1-3,5
PARAM_VALUE 1 index 0-63
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
PARAM_COMPARE 1 index < $0->n_entries
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gt->reset.mutex
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/intel_mocs.c __init_mocs_table() -> get_entry_control()

Type Parameter Key Value
PARAM_VALUE 0 table 5397007645488283648,6918666756182532096
PARAM_VALUE 0 table->size 0,3-4,16,64
PARAM_VALUE 0 table->table 4096-ptr_max
PARAM_VALUE 0 table->unused_entries_index 1-3,5
PARAM_VALUE 1 index 0-63
CAPPED_DATA 0 table->size 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
PARAM_COMPARE 1 index < $0->n_entries
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gt->reset.mutex
HALF_LOCKED2 __flags

drivers/gpu/drm/i915/gt/intel_mocs.c check_mocs_table() -> get_entry_control()

Type Parameter Key Value
PARAM_VALUE 0 table 2484928973622841344,4139008550967369728,8726307007010631680
PARAM_VALUE 1 index 0-4294967294
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
PARAM_COMPARE 1 index < $0->n_entries

drivers/gpu/drm/i915/gt/intel_mocs.c check_mocs_table() -> get_entry_control()

Type Parameter Key Value
PARAM_VALUE 0 table 2484928973622841344,4139008550967369728,8726307007010631680
PARAM_VALUE 0 table->table 4096-ptr_max
PARAM_VALUE 1 index 0-4294967294
CAPPED_DATA 0 table->size 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
PARAM_COMPARE 1 index < $0->n_entries

drivers/gpu/drm/xe/xe_mocs.c __init_mocs_table() -> get_entry_control()

Type Parameter Key Value
PARAM_VALUE 0 table 6211536664604934144
PARAM_VALUE 0 table->table 0,4096-ptr_max
PARAM_VALUE 0 table->table_size 0,3-5,16,64
PARAM_VALUE 0 table->unused_entries_index 0-5
PARAM_VALUE 1 index 0-63
CAPPED_DATA 0 table->table_size 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
PARAM_COMPARE 1 index < $0->num_mocs_regs
MEM_ZERO 0 table
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_mocs.c read_mocs_table() -> get_entry_control()

Type Parameter Key Value
PARAM_VALUE 0 table 7511576499659218944,7606740459482214400
PARAM_VALUE 0 table->table 0,4096-ptr_max
PARAM_VALUE 0 table->table_size 0,3-5,16,64
PARAM_VALUE 0 table->unused_entries_index 0-5
PARAM_VALUE 1 index 0-63
CAPPED_DATA 0 table->table_size 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 table $1
PARAM_COMPARE 1 index < $0->num_mocs_regs
MEM_ZERO 0 table