Lines Matching refs:tg3_nvram_read
3280 static int tg3_nvram_read(struct tg3 *tp, u32 offset, u32 *val) in tg3_nvram_read() function
3316 int res = tg3_nvram_read(tp, offset, &v); in tg3_nvram_read_be32()
12833 if (tg3_flag(tp, NO_NVRAM) || tg3_nvram_read(tp, 0, &magic)) in tg3_vpd_readblock()
12840 if (tg3_nvram_read(tp, offset, &val)) in tg3_vpd_readblock()
12850 if (tg3_nvram_read(tp, offset + 4, &offset)) in tg3_vpd_readblock()
12907 if (tg3_nvram_read(tp, 0, &magic) != 0) in tg3_test_nvram()
14315 if (tg3_nvram_read(tp, 0, &magic) != 0) in tg3_get_eeprom_size()
14331 if (tg3_nvram_read(tp, cursize, &val) != 0) in tg3_get_eeprom_size()
14347 if (tg3_flag(tp, NO_NVRAM) || tg3_nvram_read(tp, 0, &val) != 0) in tg3_get_nvram_size()
14356 if (tg3_nvram_read(tp, 0xf0, &val) == 0) { in tg3_get_nvram_size()
14977 if (tg3_nvram_read(tp, 0, &val)) in tg3_get_5720_nvram_info()
15727 if (tg3_nvram_read(tp, offset, &val) || in tg3_fw_img_is_valid()
15729 tg3_nvram_read(tp, offset + 4, &val) || in tg3_fw_img_is_valid()
15742 if (tg3_nvram_read(tp, 0xc, &offset) || in tg3_read_bc_ver()
15743 tg3_nvram_read(tp, 0x4, &start)) in tg3_read_bc_ver()
15748 if (tg3_nvram_read(tp, offset, &val)) in tg3_read_bc_ver()
15752 if (tg3_nvram_read(tp, offset + 4, &val)) in tg3_read_bc_ver()
15763 tg3_nvram_read(tp, offset + 8, &ver_offset)) in tg3_read_bc_ver()
15777 if (tg3_nvram_read(tp, TG3_NVM_PTREV_BCVER, &ver_offset)) in tg3_read_bc_ver()
15793 if (tg3_nvram_read(tp, TG3_NVM_HWSB_CFG1, &val)) in tg3_read_hwsb_ver()
15836 if (tg3_nvram_read(tp, offset, &val)) in tg3_read_sb_ver()
15867 if (tg3_nvram_read(tp, offset, &val)) in tg3_read_mgmtfw_ver()
15879 else if (tg3_nvram_read(tp, offset - 4, &start)) in tg3_read_mgmtfw_ver()
15882 if (tg3_nvram_read(tp, offset + 4, &offset) || in tg3_read_mgmtfw_ver()
15884 tg3_nvram_read(tp, offset + 8, &val)) in tg3_read_mgmtfw_ver()
15991 if (tg3_nvram_read(tp, 0, &val)) in tg3_read_fw_ver()