Lines Matching refs:tg3_nvram_read

3285 static int tg3_nvram_read(struct tg3 *tp, u32 offset, u32 *val)  in tg3_nvram_read()  function
3321 int res = tg3_nvram_read(tp, offset, &v); in tg3_nvram_read_be32()
12807 if (tg3_flag(tp, NO_NVRAM) || tg3_nvram_read(tp, 0, &magic)) in tg3_vpd_readblock()
12814 if (tg3_nvram_read(tp, offset, &val)) in tg3_vpd_readblock()
12824 if (tg3_nvram_read(tp, offset + 4, &offset)) in tg3_vpd_readblock()
12895 if (tg3_nvram_read(tp, 0, &magic) != 0) in tg3_test_nvram()
14323 if (tg3_nvram_read(tp, 0, &magic) != 0) in tg3_get_eeprom_size()
14339 if (tg3_nvram_read(tp, cursize, &val) != 0) in tg3_get_eeprom_size()
14355 if (tg3_flag(tp, NO_NVRAM) || tg3_nvram_read(tp, 0, &val) != 0) in tg3_get_nvram_size()
14364 if (tg3_nvram_read(tp, 0xf0, &val) == 0) { in tg3_get_nvram_size()
14985 if (tg3_nvram_read(tp, 0, &val)) in tg3_get_5720_nvram_info()
15763 if (tg3_nvram_read(tp, offset, &val) || in tg3_fw_img_is_valid()
15765 tg3_nvram_read(tp, offset + 4, &val) || in tg3_fw_img_is_valid()
15778 if (tg3_nvram_read(tp, 0xc, &offset) || in tg3_read_bc_ver()
15779 tg3_nvram_read(tp, 0x4, &start)) in tg3_read_bc_ver()
15784 if (tg3_nvram_read(tp, offset, &val)) in tg3_read_bc_ver()
15788 if (tg3_nvram_read(tp, offset + 4, &val)) in tg3_read_bc_ver()
15799 tg3_nvram_read(tp, offset + 8, &ver_offset)) in tg3_read_bc_ver()
15813 if (tg3_nvram_read(tp, TG3_NVM_PTREV_BCVER, &ver_offset)) in tg3_read_bc_ver()
15829 if (tg3_nvram_read(tp, TG3_NVM_HWSB_CFG1, &val)) in tg3_read_hwsb_ver()
15872 if (tg3_nvram_read(tp, offset, &val)) in tg3_read_sb_ver()
15903 if (tg3_nvram_read(tp, offset, &val)) in tg3_read_mgmtfw_ver()
15915 else if (tg3_nvram_read(tp, offset - 4, &start)) in tg3_read_mgmtfw_ver()
15918 if (tg3_nvram_read(tp, offset + 4, &offset) || in tg3_read_mgmtfw_ver()
15920 tg3_nvram_read(tp, offset + 8, &val)) in tg3_read_mgmtfw_ver()
16027 if (tg3_nvram_read(tp, 0, &val)) in tg3_read_fw_ver()