Lines Matching refs:rodi
8802 int cnt, i, block_end, rodi; in bnx2x_read_fwinfo() local
8828 rodi = pci_vpd_find_info_keyword(vpd_data, i, block_end, in bnx2x_read_fwinfo()
8830 if (rodi < 0) in bnx2x_read_fwinfo()
8833 len = pci_vpd_info_field_size(&vpd_data[rodi]); in bnx2x_read_fwinfo()
8838 rodi += PCI_VPD_INFO_FLD_HDR_SIZE; in bnx2x_read_fwinfo()
8843 if (!strncmp(str_id_reg, &vpd_data[rodi], VENDOR_ID_LEN) || in bnx2x_read_fwinfo()
8844 !strncmp(str_id_cap, &vpd_data[rodi], VENDOR_ID_LEN)) { in bnx2x_read_fwinfo()
8846 rodi = pci_vpd_find_info_keyword(vpd_data, i, block_end, in bnx2x_read_fwinfo()
8848 if (rodi >= 0) { in bnx2x_read_fwinfo()
8849 len = pci_vpd_info_field_size(&vpd_data[rodi]); in bnx2x_read_fwinfo()
8851 rodi += PCI_VPD_INFO_FLD_HDR_SIZE; in bnx2x_read_fwinfo()
8853 if (len < 32 && (len + rodi) <= BNX2X_VPD_LEN) { in bnx2x_read_fwinfo()
8854 memcpy(bp->fw_ver, &vpd_data[rodi], len); in bnx2x_read_fwinfo()