Lines Matching defs:b_offset
7567 u32 i, offset, len, val, b_offset, b_count;
7580 b_offset = offset & 3;
7581 b_count = 4 - b_offset;
7586 ret = tg3_nvram_read(tp, offset-b_offset, &val);
7590 memcpy(data, ((char*)&val) + b_offset, b_count);
7613 b_offset = offset + len - b_count;
7614 ret = tg3_nvram_read(tp, b_offset, &val);
7630 u32 offset, len, b_offset, odd_len, start, end;
7642 if ((b_offset = (offset & 3))) {
7644 ret = tg3_nvram_read(tp, offset-b_offset, &start);
7648 len += b_offset;
7666 if (b_offset || odd_len) {
7670 if (b_offset)
7674 memcpy(buf + b_offset, data, eeprom->len);