Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c199 size_t romlen = adev->pdev->romlen; in amdgpu_read_platform_bios() local
204 if (!rom || romlen == 0) in amdgpu_read_platform_bios()
207 adev->bios = kzalloc(romlen, GFP_KERNEL); in amdgpu_read_platform_bios()
211 bios = ioremap(rom, romlen); in amdgpu_read_platform_bios()
215 memcpy_fromio(adev->bios, bios, romlen); in amdgpu_read_platform_bios()
218 if (!check_atom_bios(adev->bios, romlen)) in amdgpu_read_platform_bios()
221 adev->bios_size = romlen; in amdgpu_read_platform_bios()
/linux-6.6.21/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.6.21/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.6.21/arch/x86/pci/
Dcommon.c667 dev->romlen = rom->pcilen; in pcibios_device_add()
/linux-6.6.21/include/linux/
Dpci.h521 size_t romlen; /* Length if not from BAR */ member