Home
last modified time | relevance | path

Searched refs:infokw_start (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pci/
H A Dvpd.c496 int ro_start, infokw_start; in pci_vpd_find_ro_info_keyword() local
503 infokw_start = pci_vpd_find_info_keyword(buf, ro_start, ro_len, kw); in pci_vpd_find_ro_info_keyword()
504 if (infokw_start < 0) in pci_vpd_find_ro_info_keyword()
505 return infokw_start; in pci_vpd_find_ro_info_keyword()
507 infokw_size = pci_vpd_info_field_size(buf + infokw_start); in pci_vpd_find_ro_info_keyword()
508 infokw_start += PCI_VPD_INFO_FLD_HDR_SIZE; in pci_vpd_find_ro_info_keyword()
510 if (infokw_start + infokw_size > len) in pci_vpd_find_ro_info_keyword()
516 return infokw_start; in pci_vpd_find_ro_info_keyword()