Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/vme/bridges/
Dvme_ca91cx42.c516 existing_size = (unsigned long long)(image->bus_resource.end - in ca91cx42_alloc_resource()
517 image->bus_resource.start); in ca91cx42_alloc_resource()
526 kfree(image->bus_resource.name); in ca91cx42_alloc_resource()
527 release_resource(&image->bus_resource); in ca91cx42_alloc_resource()
528 memset(&image->bus_resource, 0, sizeof(image->bus_resource)); in ca91cx42_alloc_resource()
531 if (!image->bus_resource.name) { in ca91cx42_alloc_resource()
532 image->bus_resource.name = kmalloc(VMENAMSIZ+3, GFP_ATOMIC); in ca91cx42_alloc_resource()
533 if (!image->bus_resource.name) { in ca91cx42_alloc_resource()
539 sprintf((char *)image->bus_resource.name, "%s.%d", in ca91cx42_alloc_resource()
542 image->bus_resource.start = 0; in ca91cx42_alloc_resource()
[all …]
Dvme_tsi148.c728 existing_size = (unsigned long long)(image->bus_resource.end - in tsi148_alloc_resource()
729 image->bus_resource.start); in tsi148_alloc_resource()
738 kfree(image->bus_resource.name); in tsi148_alloc_resource()
739 release_resource(&image->bus_resource); in tsi148_alloc_resource()
740 memset(&image->bus_resource, 0, sizeof(image->bus_resource)); in tsi148_alloc_resource()
747 if (!image->bus_resource.name) { in tsi148_alloc_resource()
748 image->bus_resource.name = kmalloc(VMENAMSIZ+3, GFP_ATOMIC); in tsi148_alloc_resource()
749 if (!image->bus_resource.name) { in tsi148_alloc_resource()
755 sprintf((char *)image->bus_resource.name, "%s.%d", tsi148_bridge->name, in tsi148_alloc_resource()
758 image->bus_resource.start = 0; in tsi148_alloc_resource()
[all …]
Dvme_fake.c1125 memset(&master_image->bus_resource, 0, in fake_init()
/Linux-v5.10/arch/s390/pci/
Dpci_bus.c122 zbus->bus_resource.start = 0; in zpci_bus_alloc()
123 zbus->bus_resource.end = ZPCI_BUS_NR; in zpci_bus_alloc()
124 zbus->bus_resource.flags = IORESOURCE_BUS; in zpci_bus_alloc()
125 pci_add_resource(&zbus->resources, &zbus->bus_resource); in zpci_bus_alloc()
/Linux-v5.10/drivers/vme/
Dvme_bridge.h24 struct resource bus_resource; member
Dvme.c810 phys_addr = image->bus_resource.start + (vma->vm_pgoff << PAGE_SHIFT); in vme_master_mmap()
813 if (phys_addr + vma_size > image->bus_resource.end + 1) { in vme_master_mmap()
/Linux-v5.10/arch/s390/include/asm/
Dpci.h109 struct resource bus_resource; member