Lines Matching refs:offset
438 int i, offset;
447 offset = 0;
451 buffer[i] = ppc_md.nvram_read_val(offset+i);
453 nvram_partitions[pmac_nvram_OF] = offset + 0x10;
455 nvram_partitions[pmac_nvram_XPRAM] = offset + 0x10;
456 nvram_partitions[pmac_nvram_NR] = offset + 0x110;
458 offset += (hdr->len * 0x10);
459 } while(offset < NVRAM_SIZE);
632 int offset = pmac_get_partition(pmac_nvram_XPRAM);
634 if (offset < 0 || xpaddr < 0 || xpaddr > 0x100)
637 return ppc_md.nvram_read_val(xpaddr + offset);
642 int offset = pmac_get_partition(pmac_nvram_XPRAM);
644 if (offset < 0 || xpaddr < 0 || xpaddr > 0x100)
647 ppc_md.nvram_write_val(xpaddr + offset, data);