Home
last modified time | relevance | path

Searched refs:oa_regs (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/i915/
Di915_perf.c3222 struct i915_oa_reg *oa_regs; in alloc_oa_regs() local
3237 oa_regs = kmalloc_array(n_regs, sizeof(*oa_regs), GFP_KERNEL); in alloc_oa_regs()
3238 if (!oa_regs) in alloc_oa_regs()
3258 oa_regs[i].addr = _MMIO(addr); in alloc_oa_regs()
3259 oa_regs[i].value = mask_reg_value(addr, value); in alloc_oa_regs()
3264 return oa_regs; in alloc_oa_regs()
3267 kfree(oa_regs); in alloc_oa_regs()