Lines Matching defs:offset
1399 * address are the offset into the table. If that bit is 1, then the
1402 * To use the 6 bits as an offset into the table, the high 3 bits are
1690 eeprom->len, eeprom->offset, eeprom->offset);
1695 int offset = i + eeprom->offset;
1696 if (offset > imax)
1698 ret = smc_read_eeprom_word(dev, offset >> 1, &wbuf);
1701 DBG(2, dev, "Read 0x%x from 0x%x\n", wbuf, offset >> 1);
1715 eeprom->len, eeprom->offset, eeprom->offset);
1720 int offset = i + eeprom->offset;
1721 if (offset > imax)
1724 DBG(2, dev, "Writing 0x%x to 0x%x\n", wbuf, offset >> 1);
1725 ret = smc_write_eeprom_word(dev, offset >> 1, wbuf);