Lines Matching refs:offset32
4426 u32 cmd_flags, offset32, len32, extra; in bnx2_nvram_read() local
4439 offset32 = offset; in bnx2_nvram_read()
4444 if (offset32 & 3) { in bnx2_nvram_read()
4448 offset32 &= ~3; in bnx2_nvram_read()
4460 rc = bnx2_nvram_read_dword(bp, offset32, buf, cmd_flags); in bnx2_nvram_read()
4467 offset32 += 4; in bnx2_nvram_read()
4485 rc = bnx2_nvram_read_dword(bp, offset32, buf, cmd_flags); in bnx2_nvram_read()
4498 rc = bnx2_nvram_read_dword(bp, offset32, ret_buf, cmd_flags); in bnx2_nvram_read()
4501 offset32 += 4; in bnx2_nvram_read()
4506 rc = bnx2_nvram_read_dword(bp, offset32, ret_buf, 0); in bnx2_nvram_read()
4509 offset32 += 4; in bnx2_nvram_read()
4518 rc = bnx2_nvram_read_dword(bp, offset32, buf, cmd_flags); in bnx2_nvram_read()
4535 u32 written, offset32, len32; in bnx2_nvram_write() local
4541 offset32 = offset; in bnx2_nvram_write()
4545 if ((align_start = (offset32 & 3))) { in bnx2_nvram_write()
4546 offset32 &= ~3; in bnx2_nvram_write()
4550 if ((rc = bnx2_nvram_read(bp, offset32, start, 4))) in bnx2_nvram_write()
4557 if ((rc = bnx2_nvram_read(bp, offset32 + len32 - 4, end, 4))) in bnx2_nvram_write()
4590 page_start = offset32 + written; in bnx2_nvram_write()
4595 data_start = (written == 0) ? offset32 : page_start; in bnx2_nvram_write()
4597 data_end = (page_end > offset32 + len32) ? in bnx2_nvram_write()
4598 (offset32 + len32) : page_end; in bnx2_nvram_write()