Home
last modified time | relevance | path

Searched refs:pcir (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ !
H A Dimage.c33 struct nvbios_pcirT pcir; in nvbios_imagen() local
50 if (!(data = nvbios_pcirTp(bios, image->base, &ver, &hdr, &pcir))) in nvbios_imagen()
52 image->size = pcir.image_size; in nvbios_imagen()
53 image->type = pcir.image_type; in nvbios_imagen()
54 image->last = pcir.last; in nvbios_imagen()
H A Dnpde.c31 struct nvbios_pcirT pcir; in nvbios_npdeTe() local
33 u32 data = nvbios_pcirTp(bios, base, &ver, &hdr, &pcir); in nvbios_npdeTe()
H A DKbuild19 nvkm-y += nvkm/subdev/bios/pcir.o
/linux/drivers/gpu/nova-core/ !
H A Dvbios.rs254 match BiosImageType::try_from(image.pcir.code_type) { in new()
336 let (pcir, _) = PcirStruct::from_bytes_copy_prefix(data).ok_or(EINVAL)?; in new()
339 if &pcir.signature != b"PCIR" && &pcir.signature != b"NPDS" { in new()
343 pcir.signature in new()
348 if pcir.image_len == 0 { in new()
353 Ok(pcir) in new()
594 pcir: &PcirStruct, in find_in_data()
599 let npde_start = (pcir_offset + usize::from(pcir.pci_data_struct_len) + 0x0F) & !0x0F; in find_in_data()
668 pcir: PcirStruct, field
683 self.pcir.image_size_bytes() in image_size_bytes()
[all …]