Home
last modified time | relevance | path

Searched refs:rom_size (Results 1 – 7 of 7) sorted by relevance

/drivers/misc/
Dpch_phub.c502 ssize_t rom_size; in pch_phub_bin_read() local
514 chip->pch_phub_extrom_base_address = pci_map_rom(chip->pdev, &rom_size); in pch_phub_bin_read()
567 ssize_t rom_size; in pch_phub_bin_write() local
584 chip->pch_phub_extrom_base_address = pci_map_rom(chip->pdev, &rom_size); in pch_phub_bin_write()
621 ssize_t rom_size; in show_pch_mac() local
623 chip->pch_phub_extrom_base_address = pci_map_rom(chip->pdev, &rom_size); in show_pch_mac()
637 ssize_t rom_size; in store_pch_mac() local
644 chip->pch_phub_extrom_base_address = pci_map_rom(chip->pdev, &rom_size); in store_pch_mac()
/drivers/pci/
Dpci-sysfs.c1371 int rom_size = 0; in pci_create_sysfs_dev_files() local
1389 rom_size = pci_resource_len(pdev, PCI_ROM_RESOURCE); in pci_create_sysfs_dev_files()
1391 rom_size = 0x20000; in pci_create_sysfs_dev_files()
1394 if (rom_size) { in pci_create_sysfs_dev_files()
1401 attr->size = rom_size; in pci_create_sysfs_dev_files()
1424 if (rom_size) { in pci_create_sysfs_dev_files()
1462 int rom_size = 0; in pci_remove_sysfs_dev_files() local
1477 rom_size = pci_resource_len(pdev, PCI_ROM_RESOURCE); in pci_remove_sysfs_dev_files()
1479 rom_size = 0x20000; in pci_remove_sysfs_dev_files()
1481 if (rom_size && pdev->rom_attr) { in pci_remove_sysfs_dev_files()
/drivers/gpu/drm/qxl/
Dqxl_kms.c137 qdev->rom_size = pci_resource_len(pdev, 2); in qxl_device_init()
173 qdev->rom = ioremap(qdev->rom_base, qdev->rom_size); in qxl_device_init()
Dqxl_drv.h250 resource_size_t rom_base, rom_size; member
/drivers/staging/xgifb/
Dvb_init.c850 static u8 *xgifb_copy_rom(struct pci_dev *dev, size_t *rom_size) in xgifb_copy_rom() argument
855 rom_address = pci_map_rom(dev, rom_size); in xgifb_copy_rom()
863 *rom_size = min_t(size_t, *rom_size, XGIFB_ROM_SIZE); in xgifb_copy_rom()
864 memcpy_fromio(rom_copy, rom_address, *rom_size); in xgifb_copy_rom()
/drivers/video/fbdev/aty/
Daty128fb.c837 size_t rom_size; in aty128_map_ROM() local
847 bios = pci_map_rom(dev, &rom_size); in aty128_map_ROM()
Dradeon_base.c301 size_t rom_size; in radeon_map_ROM() local
316 rom = pci_map_rom(dev, &rom_size); in radeon_map_ROM()