Lines Matching defs:offset
562 int offset, i, j;
567 offset = start;
571 if (offset + j*step < next)
573 offset+j*step, READCSR(sc, offset+j*step));
575 offset += 4;
937 eeprom_read_word(t3_ether_t *sc, unsigned int offset)
946 epaddr |= (V_EPADDR_ADDR(offset) | V_EPADDR_DEVID(EP_DEVICE_ID)
959 t3_devname(sc), offset);
970 eeprom_read_range(t3_ether_t *sc, unsigned int offset, unsigned int len,
975 offset &= ~3; len &= ~3; /* 4-byte words only */
979 buf[index++] = eeprom_read_word(sc, offset);
980 offset += 4; len -= 4;
988 uint32_t buf[], unsigned int offset, unsigned int len)
994 offset &= ~3; len &= ~3; /* 4-byte words only */
999 xprintf("\n %04x: ", offset);
1000 xprintf(" %08x", buf[offset/4]);
1001 offset += 4; len -= 4;
1594 unsigned offset;
1600 for (offset = A_MAC_STATS; offset < A_MAC_STATS+L_MAC_STATS; offset += 4) {
1601 WRITEMEM(sc, offset, 0);