Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/arch/x86/pci/
Dcommon.c667 dev->romlen = rom->pcilen; in pcibios_device_add()
/linux-6.1.9/include/linux/
Dpci.h515 size_t romlen; /* Length if not from BAR */ member