Lines Matching refs:offset32
4420 u32 cmd_flags, offset32, len32, extra; in bnx2_nvram_read() local
4433 offset32 = offset; in bnx2_nvram_read()
4438 if (offset32 & 3) { in bnx2_nvram_read()
4442 offset32 &= ~3; in bnx2_nvram_read()
4454 rc = bnx2_nvram_read_dword(bp, offset32, buf, cmd_flags); in bnx2_nvram_read()
4461 offset32 += 4; in bnx2_nvram_read()
4479 rc = bnx2_nvram_read_dword(bp, offset32, buf, cmd_flags); in bnx2_nvram_read()
4492 rc = bnx2_nvram_read_dword(bp, offset32, ret_buf, cmd_flags); in bnx2_nvram_read()
4495 offset32 += 4; in bnx2_nvram_read()
4500 rc = bnx2_nvram_read_dword(bp, offset32, ret_buf, 0); in bnx2_nvram_read()
4503 offset32 += 4; in bnx2_nvram_read()
4512 rc = bnx2_nvram_read_dword(bp, offset32, buf, cmd_flags); in bnx2_nvram_read()
4529 u32 written, offset32, len32; in bnx2_nvram_write() local
4535 offset32 = offset; in bnx2_nvram_write()
4539 if ((align_start = (offset32 & 3))) { in bnx2_nvram_write()
4540 offset32 &= ~3; in bnx2_nvram_write()
4544 if ((rc = bnx2_nvram_read(bp, offset32, start, 4))) in bnx2_nvram_write()
4551 if ((rc = bnx2_nvram_read(bp, offset32 + len32 - 4, end, 4))) in bnx2_nvram_write()
4584 page_start = offset32 + written; in bnx2_nvram_write()
4589 data_start = (written == 0) ? offset32 : page_start; in bnx2_nvram_write()
4591 data_end = (page_end > offset32 + len32) ? in bnx2_nvram_write()
4592 (offset32 + len32) : page_end; in bnx2_nvram_write()