Lines Matching refs:new_v
411 u32 old_v, new_v; in switch_mocs() local
430 new_v = vgpu_vreg_t(next, offset); in switch_mocs()
432 new_v = gen9_render_mocs.control_table[engine->id][i]; in switch_mocs()
434 if (old_v != new_v) in switch_mocs()
435 intel_uncore_write_fw(uncore, offset, new_v); in switch_mocs()
448 new_v = vgpu_vreg_t(next, l3_offset); in switch_mocs()
450 new_v = gen9_render_mocs.l3cc_table[i]; in switch_mocs()
452 if (old_v != new_v) in switch_mocs()
453 intel_uncore_write_fw(uncore, l3_offset, new_v); in switch_mocs()
480 u32 old_v, new_v; in switch_mmio() local
523 new_v = vgpu_vreg_t(next, mmio->reg) | in switch_mmio()
526 new_v = vgpu_vreg_t(next, mmio->reg); in switch_mmio()
531 new_v = mmio->value | (mmio->mask << 16); in switch_mmio()
533 new_v = mmio->value; in switch_mmio()
536 intel_uncore_write_fw(uncore, mmio->reg, new_v); in switch_mmio()
542 old_v, new_v); in switch_mmio()