Lines Matching refs:new_v
419 u32 old_v, new_v; in switch_mocs() local
438 new_v = vgpu_vreg_t(next, offset); in switch_mocs()
440 new_v = gen9_render_mocs.control_table[engine->id][i]; in switch_mocs()
442 if (old_v != new_v) in switch_mocs()
443 intel_uncore_write_fw(uncore, offset, new_v); in switch_mocs()
456 new_v = vgpu_vreg_t(next, l3_offset); in switch_mocs()
458 new_v = gen9_render_mocs.l3cc_table[i]; in switch_mocs()
460 if (old_v != new_v) in switch_mocs()
461 intel_uncore_write_fw(uncore, l3_offset, new_v); in switch_mocs()
488 u32 old_v, new_v; in switch_mmio() local
531 new_v = vgpu_vreg_t(next, mmio->reg) | in switch_mmio()
534 new_v = vgpu_vreg_t(next, mmio->reg); in switch_mmio()
539 new_v = mmio->value | (mmio->mask << 16); in switch_mmio()
541 new_v = mmio->value; in switch_mmio()
544 intel_uncore_write_fw(uncore, mmio->reg, new_v); in switch_mmio()
550 old_v, new_v); in switch_mmio()