Searched refs:romlen (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_bios.c | 200 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/ |
D | shadowpci.c | 104 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/ |
D | radeon_bios.c | 112 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/ |
D | common.c | 659 dev->romlen = rom->pcilen; in pcibios_add_device()
|
/Linux-v5.15/include/linux/ |
D | pci.h | 504 size_t romlen; /* Length if not from BAR */ member
|