Searched refs:romlen (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A 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/drivers/gpu/drm/radeon/ |
H A 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/arch/x86/pci/ |
H A D | common.c | 667 dev->romlen = rom->pcilen; in pcibios_device_add()
|
/linux/include/linux/ |
H A D | pci.h | 537 size_t romlen; /* Length if not from BAR */ 526 size_t romlen; /* Length if not from BAR */ global() member
|