Searched refs:PCI_VPD_SIZE (Results 1 – 2 of 2) sorted by relevance
256 #define PCI_VPD_SIZE 0x03 in gem_pci_attach() macro298 PCI_VPD_SIZE + ETHER_ADDR_LEN || in gem_pci_attach()305 GEM_ROM_READ_1(sc, j + PCI_VPDRES_LARGE_SIZE + PCI_VPD_SIZE + in gem_pci_attach()311 GEM_PCI_ROM_OFFSET + j + PCI_VPDRES_LARGE_SIZE + PCI_VPD_SIZE, in gem_pci_attach()
2738 #define PCI_VPD_SIZE 0x03 in cas_pci_attach() macro2791 i -= PCI_VPD_SIZE + CAS_ROM_READ_1(sc, j + PCI_VPD_LEN), in cas_pci_attach()2796 if (CAS_ROM_READ_1(sc, j + PCI_VPD_SIZE) != 'I') in cas_pci_attach()2799 if (CAS_ROM_READ_1(sc, j + PCI_VPD_SIZE + 3) == 'B') { in cas_pci_attach()2802 j + PCI_VPD_SIZE + 4) != ETHER_ADDR_LEN) in cas_pci_attach()2805 CAS_PCI_ROM_OFFSET + j + PCI_VPD_SIZE + 5, in cas_pci_attach()2811 CAS_PCI_ROM_OFFSET + j + PCI_VPD_SIZE + in cas_pci_attach()2817 } else if (CAS_ROM_READ_1(sc, j + PCI_VPD_SIZE + 3) == in cas_pci_attach()2821 j + PCI_VPD_SIZE + 4) != in cas_pci_attach()2825 CAS_PCI_ROM_OFFSET + j + PCI_VPD_SIZE + 5, in cas_pci_attach()[all …]