Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_reg_whitelist.c whitelist_apply_to_hwe() -> xe_reg_sr_add()

Type Parameter Key Value
PARAM_VALUE 0 sr 4096-ptr_max
PARAM_VALUE 0 sr->name 1-u64max
PARAM_VALUE 0 sr->xa.xa_flags 0
PARAM_VALUE 1 e 7077234159470419968
PARAM_VALUE 1 e->clr_bits u32max
PARAM_VALUE 1 e->reg.addr 0
PARAM_VALUE 1 e->reg.masked 0
PARAM_VALUE 1 e->reg.mcr 0
PARAM_VALUE 1 e->reg.raw 0
PARAM_VALUE 1 e->reg.vf 0
PARAM_VALUE 2 gt 4096-ptr_max
PARAM_VALUE 2 gt->fuse_topo.eu_type 0-1
PARAM_VALUE 2 gt->info.type 2
PARAM_VALUE 2 gt->mmio.tile 4096-ptr_max
PARAM_VALUE 2 gt->sysfs 4096-ptr_max
PARAM_VALUE 2 gt->tile 4096-ptr_max
PARAM_VALUE 2 gt->uc.gsc.fw.__status (-1),1-5,11
PARAM_VALUE 2 gt->uc.gsc.fw.bo 4096-ptr_max
PARAM_VALUE 2 gt->uc.gsc.fw.css_offset 0-33554431
PARAM_VALUE 2 gt->uc.gsc.fw.has_gsc_headers 1
PARAM_VALUE 2 gt->uc.gsc.fw.status (-1),1-5,11
PARAM_VALUE 2 gt->uc.gsc.fw.type 2
PARAM_VALUE 2 gt->uc.gsc.fw.versions.wanted_type 0-1
PARAM_VALUE 2 gt->uc.gsc.proxy.bo 4096-ptr_max
PARAM_VALUE 2 gt->uc.gsc.proxy.component_added 1
PARAM_VALUE 2 gt->uc.gsc.proxy.from_csme 4096-ptr_max
PARAM_VALUE 2 gt->uc.gsc.proxy.from_gsc.vaddr 4096-ptr_max
PARAM_VALUE 2 gt->uc.gsc.proxy.from_gsc.vaddr_iomem 4096-ptr_max
PARAM_VALUE 2 gt->uc.gsc.proxy.mutex.magic 4096-ptr_max
PARAM_VALUE 2 gt->uc.gsc.proxy.to_csme 1-u64max
PARAM_VALUE 2 gt->uc.guc.ads.ads_waklv_size 4096
PARAM_VALUE 2 gt->uc.guc.ads.bo 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.ads.golden_lrc_size 0,8192,12288,16384,20480,24576,28672,32768,36864,57344,61440-u64max
PARAM_VALUE 2 gt->uc.guc.capture 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.g2h.bo 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.g2h.cmds.vaddr 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.g2h.cmds.vaddr_iomem 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.g2h.desc.vaddr 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.g2h.desc.vaddr_iomem 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.g2h.info.broken 0
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.g2h.info.head 0
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.g2h.info.resv_space 16384
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.g2h.info.size 32768
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.g2h.info.space 16383
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.g2h.info.tail 0
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.h2g.bo 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.h2g.cmds.vaddr 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.h2g.cmds.vaddr_iomem 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.h2g.info.broken 0
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.h2g.info.head 0
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.h2g.info.size 1024
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.h2g.info.space 1023
PARAM_VALUE 2 gt->uc.guc.ct.ctbs.h2g.info.tail 0
PARAM_VALUE 2 gt->uc.guc.ct.fence_lookup.xa_head 0
PARAM_VALUE 2 gt->uc.guc.ct.g2h_outstanding 0
PARAM_VALUE 2 gt->uc.guc.ct.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.ct.lock.osq.tail.counter 0-s32max
PARAM_VALUE 2 gt->uc.guc.ct.state 3
PARAM_VALUE 2 gt->uc.guc.fw.__status (-1),1-2,5,7,10-11
PARAM_VALUE 2 gt->uc.guc.fw.bo 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.fw.css_offset 0-33554431
PARAM_VALUE 2 gt->uc.guc.fw.has_gsc_headers 1
PARAM_VALUE 2 gt->uc.guc.fw.status (-1),1-2,5,7,10-11
PARAM_VALUE 2 gt->uc.guc.fw.type 0
PARAM_VALUE 2 gt->uc.guc.fw.versions.wanted_type 0-1
PARAM_VALUE 2 gt->uc.guc.hwconfig.bo 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.hwconfig.size 1-s32max
PARAM_VALUE 2 gt->uc.guc.log.bo 4096-ptr_max
PARAM_VALUE 2 gt->uc.guc.log.level 1
PARAM_VALUE 2 gt->uc.huc.fw.__status (-1),1-2,5,7,11
PARAM_VALUE 2 gt->uc.huc.fw.bo 4096-ptr_max
PARAM_VALUE 2 gt->uc.huc.fw.css_offset 0-33554431
PARAM_VALUE 2 gt->uc.huc.fw.has_gsc_headers 1
PARAM_VALUE 2 gt->uc.huc.fw.status (-1),1-2,5,7,11
PARAM_VALUE 2 gt->uc.huc.fw.type 1
PARAM_VALUE 2 gt->uc.huc.fw.versions.wanted_type 0-1
PARAM_VALUE 2 gt->uc.huc.gsc_pkt 4096-ptr_max
PARAM_VALUE 2 gt->uc.wopcm.guc.base 0,16384-16740351
PARAM_VALUE 2 gt->uc.wopcm.guc.size 0,4096-16740352
PARAM_VALUE 2 gt->uc.wopcm.size 2097152,4194304,8388608,16777216
PARAM_VALUE 2 gt->wa_active.oob 4096-ptr_max
CAPPED_DATA 2 gt->info.num_compute_xecore_fuse_regs 1
CAPPED_DATA 2 gt->info.num_geometry_xecore_fuse_regs 1
CAPPED_DATA 2 gt->mmio.adj_limit 1
DATA_SOURCE 0 sr $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 2 gt->sriov.pf.service.runtime.size

drivers/gpu/drm/xe/xe_rtp.c rtp_add_sr_entry() -> xe_reg_sr_add()

Type Parameter Key Value
PARAM_VALUE 0 sr 4096-ptr_max
PARAM_VALUE 1 e 3977067649544048640
PARAM_VALUE 1 e->reg.addr 0,8192,106496,114688,122880,139264,155648,1155072,1835008,1851392,1867776,1900544,1916928,1933312,1966080,1982464,1998848,2031616,2048000,2064384,4063232,4071424,4079616,4087808,4096000,4104192,4112384,4120576
PARAM_VALUE 1 e->reg.masked 0
PARAM_VALUE 1 e->reg.mcr 0
PARAM_VALUE 1 e->reg.raw 0
PARAM_VALUE 1 e->reg.vf 0
PARAM_VALUE 2 gt 0,4096-ptr_max
DATA_SOURCE 0 sr $4
DATA_SOURCE 2 gt $1
STR_LEN 0 sr->name (-1)
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL