Displaying 2 results from an estimated 2 matches for "reg_off".
Did you mean:
seg_off
2016 Jun 04
0
[PATCH 3/3] nvkm/init: Add support for opcode 0xaf
...it->offset += count;
}
+/**
+ * INIT_ZM_REG_SET_LOOP - opcode 0xaf
+ *
+ */
+static void
+init_zm_reg_set_loop(struct nvbios_init *init)
+{
+ struct nvkm_bios *bios = init->bios;
+ u8 sets = nvbios_rd08(bios, init->offset + 1);
+ u8 regs = nvbios_rd08(bios, init->offset + 2);
+ u32 reg_off = init->offset + 3;
+ u32 addr, data, i, j;
+
+ trace("ZM_REG_SET_LOOP 0x%02hhx 0x%02hhx\n", sets, regs);
+ init->offset += 3 + (regs * 4);
+
+ for (i = 0; i < sets; i++) {
+ for (j = 0; j < regs; j++, init->offset += 4) {
+ addr = nvbios_rd32(bios, reg_off + (j * 4));
+...
2016 Jun 04
3
PM + Init work
Following a series of three patches, two of which have been sitting in my tree
for a while, the third is the result of some inspection of an NV134 BIOS that
seems to use the 0xaf upcode to upload training patterns. Please test!
Roy
Ps. Sorry they come from yet another e-mail address. My previous provider,
eclipso, actively blocks users of git send-email. Inquiries fall on deaf
ears, hence I