Searched refs:pcir_offset (Results 1 – 5 of 5) sorted by relevance
428 unsigned int pcir_offset; in get_bios_version() local430 pcir_offset = readb(vbios + 24) | (readb(vbios + 25) << 8); in get_bios_version()431 if (pcir_offset >= 26 && pcir_offset < 0xFFE0 && in get_bios_version()432 readb(vbios + pcir_offset ) == 'P' && in get_bios_version()433 readb(vbios + pcir_offset + 1) == 'C' && in get_bios_version()434 readb(vbios + pcir_offset + 2) == 'I' && in get_bios_version()435 readb(vbios + pcir_offset + 3) == 'R') { in get_bios_version()438 h = readb(vbios + pcir_offset + 0x12); in get_bios_version()441 bd->version.vRev = readb(vbios + pcir_offset + 0x13); in get_bios_version()
2267 uint16_t pcir_offset; in pci_patch_ids() local2279 pcir_offset = pci_get_word(ptr + 0x18); in pci_patch_ids()2280 if (pcir_offset + 8 >= size || memcmp(ptr + pcir_offset, "PCIR", 4)) { in pci_patch_ids()2281 PCI_DPRINTF("Bad PCIR offset 0x%x or signature\n", pcir_offset); in pci_patch_ids()2287 rom_vendor_id = pci_get_word(ptr + pcir_offset + 4); in pci_patch_ids()2288 rom_device_id = pci_get_word(ptr + pcir_offset + 6); in pci_patch_ids()2301 pci_set_word(ptr + pcir_offset + 4, vendor_id); in pci_patch_ids()2310 pci_set_word(ptr + pcir_offset + 6, device_id); in pci_patch_ids()
1459 u16 pcir_offset; in cxgb4_validate_boot_image() local1469 pcir_offset = le16_to_cpu(header->pcir_offset); in cxgb4_validate_boot_image()1471 pcir_offset); in cxgb4_validate_boot_image()
10508 u16 pcir_offset; in modify_device_id() local10513 pcir_offset = le16_to_cpu(header->pcir_offset); in modify_device_id()10515 pcir_offset); in modify_device_id()10583 int pcir_offset; in t4_load_boot() local10598 pcir_offset = le16_to_cpu(header->pcir_offset); in t4_load_boot()10600 pcir_header = (struct cxgb4_pcir_data *)&boot_data[pcir_offset]; in t4_load_boot()
178 __le16 pcir_offset; /* Offset to PCI Data Structure */ member188 __le16 pcir_offset; /* Offset to PCI Data Struture */ member