Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c200 size_t romlen = adev->pdev->romlen; in amdgpu_read_platform_bios() local
205 if (!rom || romlen == 0) in amdgpu_read_platform_bios()
208 adev->bios = kzalloc(romlen, GFP_KERNEL); in amdgpu_read_platform_bios()
212 bios = ioremap(rom, romlen); in amdgpu_read_platform_bios()
216 memcpy_fromio(adev->bios, bios, romlen); in amdgpu_read_platform_bios()
219 if (!check_atom_bios(adev->bios, romlen)) in amdgpu_read_platform_bios()
222 adev->bios_size = romlen; in amdgpu_read_platform_bios()
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dshadowpci.c104 if (!pdev->rom || pdev->romlen == 0) in platform_init()
108 priv->size = pdev->romlen; in platform_init()
110 (priv->rom = ioremap(pdev->rom, pdev->romlen))) in platform_init()
/Linux-v5.15/drivers/gpu/drm/radeon/
Dradeon_bios.c112 size_t romlen = rdev->pdev->romlen; in radeon_read_platform_bios() local
117 if (!rom || romlen == 0) in radeon_read_platform_bios()
120 rdev->bios = kzalloc(romlen, GFP_KERNEL); in radeon_read_platform_bios()
124 bios = ioremap(rom, romlen); in radeon_read_platform_bios()
128 memcpy_fromio(rdev->bios, bios, romlen); in radeon_read_platform_bios()
/Linux-v5.15/arch/x86/pci/
Dcommon.c659 dev->romlen = rom->pcilen; in pcibios_add_device()
/Linux-v5.15/include/linux/
Dpci.h504 size_t romlen; /* Length if not from BAR */ member