Lines Matching refs:rodi
12193 int cnt, i, block_end, rodi; in bnx2x_read_fwinfo() local
12238 rodi = pci_vpd_find_info_keyword(vpd_data, i, block_end, in bnx2x_read_fwinfo()
12240 if (rodi < 0) in bnx2x_read_fwinfo()
12243 len = pci_vpd_info_field_size(&vpd_data[rodi]); in bnx2x_read_fwinfo()
12248 rodi += PCI_VPD_INFO_FLD_HDR_SIZE; in bnx2x_read_fwinfo()
12253 if (!strncmp(str_id_reg, &vpd_data[rodi], VENDOR_ID_LEN) || in bnx2x_read_fwinfo()
12254 !strncmp(str_id_cap, &vpd_data[rodi], VENDOR_ID_LEN)) { in bnx2x_read_fwinfo()
12256 rodi = pci_vpd_find_info_keyword(vpd_data, i, block_end, in bnx2x_read_fwinfo()
12258 if (rodi >= 0) { in bnx2x_read_fwinfo()
12259 len = pci_vpd_info_field_size(&vpd_data[rodi]); in bnx2x_read_fwinfo()
12261 rodi += PCI_VPD_INFO_FLD_HDR_SIZE; in bnx2x_read_fwinfo()
12263 if (len < 32 && (len + rodi) <= BNX2X_VPD_LEN) { in bnx2x_read_fwinfo()
12264 memcpy(bp->fw_ver, &vpd_data[rodi], len); in bnx2x_read_fwinfo()