Searched refs:romlen (Results 1 – 6 of 6) sorted by relevance
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_bios.c | 209 size_t romlen = adev->pdev->romlen; in amdgpu_read_platform_bios() local 214 if (!rom || romlen == 0) in amdgpu_read_platform_bios() 217 adev->bios = kzalloc(romlen, GFP_KERNEL); in amdgpu_read_platform_bios() 221 bios = ioremap(rom, romlen); in amdgpu_read_platform_bios() 225 memcpy_fromio(adev->bios, bios, romlen); in amdgpu_read_platform_bios() 228 if (!check_atom_bios(adev, romlen)) in amdgpu_read_platform_bios() 231 adev->bios_size = romlen; in amdgpu_read_platform_bios()
|
| /drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| 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()
|
| /drivers/gpu/drm/radeon/ |
| 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()
|
| /drivers/vfio/pci/ |
| A D | vfio_pci_rdwr.c | 240 else if (bar == PCI_ROM_RESOURCE && pdev->rom && pdev->romlen) in vfio_pci_bar_rw() 241 end = roundup_pow_of_two(pdev->romlen); in vfio_pci_bar_rw() 259 io = ioremap(pdev->rom, pdev->romlen); in vfio_pci_bar_rw() 260 x_start = pdev->romlen; in vfio_pci_bar_rw()
|
| A D | vfio_pci_config.c | 514 } else if (pdev->rom && pdev->romlen) { in vfio_bar_fixup() 515 mask = ~(roundup_pow_of_two(pdev->romlen) - 1); in vfio_bar_fixup()
|
| A D | vfio_pci_core.c | 1064 } else if (pdev->rom && pdev->romlen) { in vfio_pci_ioctl_get_region_info() 1067 info.size = roundup_pow_of_two(pdev->romlen); in vfio_pci_ioctl_get_region_info()
|
Completed in 28 milliseconds