Searched refs:PCI_VPD_SIZE (Results 1 – 2 of 2) sorted by relevance
221 #define PCI_VPD_SIZE 0x03 in gem_pci_attach() macro263 PCI_VPD_SIZE + ETHER_ADDR_LEN || in gem_pci_attach()270 GEM_ROM_READ_1(sc, j + PCI_VPDRES_LARGE_SIZE + PCI_VPD_SIZE + in gem_pci_attach()276 GEM_PCI_ROM_OFFSET + j + PCI_VPDRES_LARGE_SIZE + PCI_VPD_SIZE, in gem_pci_attach()
2725 #define PCI_VPD_SIZE 0x03 in cas_pci_attach() macro2778 i -= PCI_VPD_SIZE + CAS_ROM_READ_1(sc, j + PCI_VPD_LEN), in cas_pci_attach()2779 j += PCI_VPD_SIZE + CAS_ROM_READ_1(sc, j + PCI_VPD_LEN)) { in cas_pci_attach()2783 if (CAS_ROM_READ_1(sc, j + PCI_VPD_SIZE) != 'I') in cas_pci_attach()2786 if (CAS_ROM_READ_1(sc, j + PCI_VPD_SIZE + 3) == 'B') { in cas_pci_attach()2789 j + PCI_VPD_SIZE + 4) != ETHER_ADDR_LEN) in cas_pci_attach()2792 CAS_PCI_ROM_OFFSET + j + PCI_VPD_SIZE + 5, in cas_pci_attach()2798 CAS_PCI_ROM_OFFSET + j + PCI_VPD_SIZE + in cas_pci_attach()2804 } else if (CAS_ROM_READ_1(sc, j + PCI_VPD_SIZE + 3) == in cas_pci_attach()2808 j + PCI_VPD_SIZE + 4) != in cas_pci_attach()[all …]