Lines Matching refs:new_v
410 u32 old_v, new_v; in switch_mocs() local
429 new_v = vgpu_vreg_t(next, offset); in switch_mocs()
431 new_v = gen9_render_mocs.control_table[engine->id][i]; in switch_mocs()
433 if (old_v != new_v) in switch_mocs()
434 intel_uncore_write_fw(uncore, offset, new_v); in switch_mocs()
447 new_v = vgpu_vreg_t(next, l3_offset); in switch_mocs()
449 new_v = gen9_render_mocs.l3cc_table[i]; in switch_mocs()
451 if (old_v != new_v) in switch_mocs()
452 intel_uncore_write_fw(uncore, l3_offset, new_v); in switch_mocs()
479 u32 old_v, new_v; in switch_mmio() local
522 new_v = vgpu_vreg_t(next, mmio->reg) | in switch_mmio()
525 new_v = vgpu_vreg_t(next, mmio->reg); in switch_mmio()
530 new_v = mmio->value | (mmio->mask << 16); in switch_mmio()
532 new_v = mmio->value; in switch_mmio()
535 intel_uncore_write_fw(uncore, mmio->reg, new_v); in switch_mmio()
541 old_v, new_v); in switch_mmio()