Searched refs:oa_regs (Results 1 – 1 of 1) sorted by relevance
3921 struct i915_oa_reg *oa_regs; in alloc_oa_regs() local3933 oa_regs = kmalloc_array(n_regs, sizeof(*oa_regs), GFP_KERNEL); in alloc_oa_regs()3934 if (!oa_regs) in alloc_oa_regs()3954 oa_regs[i].addr = _MMIO(addr); in alloc_oa_regs()3955 oa_regs[i].value = mask_reg_value(addr, value); in alloc_oa_regs()3960 return oa_regs; in alloc_oa_regs()3963 kfree(oa_regs); in alloc_oa_regs()