Searched refs:oa_regs (Results 1 – 1 of 1) sorted by relevance
4597 struct i915_oa_reg *oa_regs; in alloc_oa_regs() local4609 oa_regs = kmalloc_array(n_regs, sizeof(*oa_regs), GFP_KERNEL); in alloc_oa_regs()4610 if (!oa_regs) in alloc_oa_regs()4631 oa_regs[i].addr = _MMIO(addr); in alloc_oa_regs()4632 oa_regs[i].value = mask_reg_value(addr, value); in alloc_oa_regs()4637 return oa_regs; in alloc_oa_regs()4640 kfree(oa_regs); in alloc_oa_regs()