Lines Matching refs:tg3_nvram_read
3286 static int tg3_nvram_read(struct tg3 *tp, u32 offset, u32 *val) in tg3_nvram_read() function
3322 int res = tg3_nvram_read(tp, offset, &v); in tg3_nvram_read_be32()
12847 if (tg3_flag(tp, NO_NVRAM) || tg3_nvram_read(tp, 0, &magic)) in tg3_vpd_readblock()
12854 if (tg3_nvram_read(tp, offset, &val)) in tg3_vpd_readblock()
12864 if (tg3_nvram_read(tp, offset + 4, &offset)) in tg3_vpd_readblock()
12935 if (tg3_nvram_read(tp, 0, &magic) != 0) in tg3_test_nvram()
14363 if (tg3_nvram_read(tp, 0, &magic) != 0) in tg3_get_eeprom_size()
14379 if (tg3_nvram_read(tp, cursize, &val) != 0) in tg3_get_eeprom_size()
14395 if (tg3_flag(tp, NO_NVRAM) || tg3_nvram_read(tp, 0, &val) != 0) in tg3_get_nvram_size()
14404 if (tg3_nvram_read(tp, 0xf0, &val) == 0) { in tg3_get_nvram_size()
15025 if (tg3_nvram_read(tp, 0, &val)) in tg3_get_5720_nvram_info()
15803 if (tg3_nvram_read(tp, offset, &val) || in tg3_fw_img_is_valid()
15805 tg3_nvram_read(tp, offset + 4, &val) || in tg3_fw_img_is_valid()
15818 if (tg3_nvram_read(tp, 0xc, &offset) || in tg3_read_bc_ver()
15819 tg3_nvram_read(tp, 0x4, &start)) in tg3_read_bc_ver()
15824 if (tg3_nvram_read(tp, offset, &val)) in tg3_read_bc_ver()
15828 if (tg3_nvram_read(tp, offset + 4, &val)) in tg3_read_bc_ver()
15839 tg3_nvram_read(tp, offset + 8, &ver_offset)) in tg3_read_bc_ver()
15853 if (tg3_nvram_read(tp, TG3_NVM_PTREV_BCVER, &ver_offset)) in tg3_read_bc_ver()
15869 if (tg3_nvram_read(tp, TG3_NVM_HWSB_CFG1, &val)) in tg3_read_hwsb_ver()
15912 if (tg3_nvram_read(tp, offset, &val)) in tg3_read_sb_ver()
15943 if (tg3_nvram_read(tp, offset, &val)) in tg3_read_mgmtfw_ver()
15955 else if (tg3_nvram_read(tp, offset - 4, &start)) in tg3_read_mgmtfw_ver()
15958 if (tg3_nvram_read(tp, offset + 4, &offset) || in tg3_read_mgmtfw_ver()
15960 tg3_nvram_read(tp, offset + 8, &val)) in tg3_read_mgmtfw_ver()
16067 if (tg3_nvram_read(tp, 0, &val)) in tg3_read_fw_ver()