Home
last modified time | relevance | path

Searched refs:pcir_offset (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_misc.c429 unsigned int pcir_offset; in get_bios_version() local
431 pcir_offset = readb(vbios + 24) | (readb(vbios + 25) << 8); in get_bios_version()
432 if (pcir_offset >= 26 && pcir_offset < 0xFFE0 && in get_bios_version()
433 readb(vbios + pcir_offset ) == 'P' && in get_bios_version()
434 readb(vbios + pcir_offset + 1) == 'C' && in get_bios_version()
435 readb(vbios + pcir_offset + 2) == 'I' && in get_bios_version()
436 readb(vbios + pcir_offset + 3) == 'R') { in get_bios_version()
439 h = readb(vbios + pcir_offset + 0x12); in get_bios_version()
442 bd->version.vRev = readb(vbios + pcir_offset + 0x13); in get_bios_version()
/linux/drivers/gpu/nova-core/
H A Dvbios.rs598 let pcir_offset = usize::from(rom_header.pci_data_struct_offset); in find_in_data() localVariable
599 let npde_start = (pcir_offset + usize::from(pcir.pci_data_struct_len) + 0x0F) & !0x0F; in find_in_data()
721 let pcir_offset = usize::from(rom_header.pci_data_struct_offset); in new() localVariable
723 .get(pcir_offset..pcir_offset + core::mem::size_of::<PcirStruct>()) in new()
729 pcir_offset, in new()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1459 u16 pcir_offset; in cxgb4_validate_boot_image() local
1469 pcir_offset = le16_to_cpu(header->pcir_offset); in cxgb4_validate_boot_image()
1471 pcir_offset); in cxgb4_validate_boot_image()
H A Dt4_hw.c10509 u16 pcir_offset; in modify_device_id() local
10514 pcir_offset = le16_to_cpu(header->pcir_offset); in modify_device_id()
10516 pcir_offset); in modify_device_id()
10584 int pcir_offset; in t4_load_boot() local
10599 pcir_offset = le16_to_cpu(header->pcir_offset); in t4_load_boot()
10601 pcir_header = (struct cxgb4_pcir_data *)&boot_data[pcir_offset]; in t4_load_boot()
H A Dcxgb4.h178 __le16 pcir_offset; /* Offset to PCI Data Structure */ member
188 __le16 pcir_offset; /* Offset to PCI Data Struture */ member