Lines Matching refs:check_size
99 static bool pci_vpd_available(struct pci_dev *dev, bool check_size) in pci_vpd_available() argument
106 if (vpd->len == 0 && check_size) { in pci_vpd_available()
156 void *arg, bool check_size) in pci_vpd_read() argument
164 if (!pci_vpd_available(dev, check_size)) in pci_vpd_read()
170 max_len = check_size ? vpd->len : PCI_VPD_MAX_SIZE; in pci_vpd_read()
220 const void *arg, bool check_size) in pci_vpd_write() argument
228 if (!pci_vpd_available(dev, check_size)) in pci_vpd_write()
234 max_len = check_size ? vpd->len : PCI_VPD_MAX_SIZE; in pci_vpd_write()
418 bool check_size) in __pci_read_vpd() argument
427 ret = pci_vpd_read(dev, pos, count, buf, check_size); in __pci_read_vpd()
432 return pci_vpd_read(dev, pos, count, buf, check_size); in __pci_read_vpd()
456 const void *buf, bool check_size) in __pci_write_vpd() argument
465 ret = pci_vpd_write(dev, pos, count, buf, check_size); in __pci_write_vpd()
470 return pci_vpd_write(dev, pos, count, buf, check_size); in __pci_write_vpd()