Searched refs:pcir_offset (Results 1 – 2 of 2) sorted by relevance
10 pci_bad_pcir_offset(uint16_t pcir_offset) "Bad PCIR offset 0x%"PRIx16" or signature"
2465 uint16_t pcir_offset; in pci_patch_ids() 2477 pcir_offset = pci_get_word(ptr + 0x18); in pci_patch_ids() 2478 if (pcir_offset + 8 >= size || memcmp(ptr + pcir_offset, "PCIR", 4)) { in pci_patch_ids() 2479 trace_pci_bad_pcir_offset(pcir_offset); in pci_patch_ids() 2485 rom_vendor_id = pci_get_word(ptr + pcir_offset + 4); in pci_patch_ids() 2486 rom_device_id = pci_get_word(ptr + pcir_offset + 6); in pci_patch_ids() 2499 pci_set_word(ptr + pcir_offset + 4, vendor_id); in pci_add_option_rom() 2508 pci_set_word(ptr + pcir_offset + 6, device_id); in pci_add_option_rom() 2450 uint16_t pcir_offset; pci_patch_ids() local