Searched refs:nv_registers_test (Results 1 – 1 of 1) sorted by relevance
697 static const struct register_test nv_registers_test[] = { variable5053 orig_read = readl(base + nv_registers_test[i].reg); in nv_register_test()5056 orig_read ^= nv_registers_test[i].mask; in nv_register_test()5058 writel(orig_read, base + nv_registers_test[i].reg); in nv_register_test()5060 new_read = readl(base + nv_registers_test[i].reg); in nv_register_test()5062 if ((new_read & nv_registers_test[i].mask) != (orig_read & nv_registers_test[i].mask)) in nv_register_test()5066 orig_read ^= nv_registers_test[i].mask; in nv_register_test()5067 writel(orig_read, base + nv_registers_test[i].reg); in nv_register_test()5069 } while (nv_registers_test[++i].reg != 0); in nv_register_test()