Searched refs:oa_regs (Results 1 – 1 of 1) sorted by relevance
4571 struct i915_oa_reg *oa_regs; in alloc_oa_regs() local4583 oa_regs = kmalloc_array(n_regs, sizeof(*oa_regs), GFP_KERNEL); in alloc_oa_regs()4584 if (!oa_regs) in alloc_oa_regs()4605 oa_regs[i].addr = _MMIO(addr); in alloc_oa_regs()4606 oa_regs[i].value = mask_reg_value(addr, value); in alloc_oa_regs()4611 return oa_regs; in alloc_oa_regs()4614 kfree(oa_regs); in alloc_oa_regs()