Lines Matching refs:offset32
4404 u32 cmd_flags, offset32, len32, extra; in bnx2_nvram_read() local
4417 offset32 = offset; in bnx2_nvram_read()
4422 if (offset32 & 3) { in bnx2_nvram_read()
4426 offset32 &= ~3; in bnx2_nvram_read()
4438 rc = bnx2_nvram_read_dword(bp, offset32, buf, cmd_flags); in bnx2_nvram_read()
4445 offset32 += 4; in bnx2_nvram_read()
4463 rc = bnx2_nvram_read_dword(bp, offset32, buf, cmd_flags); in bnx2_nvram_read()
4476 rc = bnx2_nvram_read_dword(bp, offset32, ret_buf, cmd_flags); in bnx2_nvram_read()
4479 offset32 += 4; in bnx2_nvram_read()
4484 rc = bnx2_nvram_read_dword(bp, offset32, ret_buf, 0); in bnx2_nvram_read()
4487 offset32 += 4; in bnx2_nvram_read()
4496 rc = bnx2_nvram_read_dword(bp, offset32, buf, cmd_flags); in bnx2_nvram_read()
4513 u32 written, offset32, len32; in bnx2_nvram_write() local
4519 offset32 = offset; in bnx2_nvram_write()
4523 if ((align_start = (offset32 & 3))) { in bnx2_nvram_write()
4524 offset32 &= ~3; in bnx2_nvram_write()
4528 if ((rc = bnx2_nvram_read(bp, offset32, start, 4))) in bnx2_nvram_write()
4535 if ((rc = bnx2_nvram_read(bp, offset32 + len32 - 4, end, 4))) in bnx2_nvram_write()
4568 page_start = offset32 + written; in bnx2_nvram_write()
4573 data_start = (written == 0) ? offset32 : page_start; in bnx2_nvram_write()
4575 data_end = (page_end > offset32 + len32) ? in bnx2_nvram_write()
4576 (offset32 + len32) : page_end; in bnx2_nvram_write()