Searched refs:bus_resource (Results 1 – 6 of 6) sorted by relevance
722 existing_size = (unsigned long long)(image->bus_resource.end - in tsi148_alloc_resource()723 image->bus_resource.start); in tsi148_alloc_resource()732 kfree(image->bus_resource.name); in tsi148_alloc_resource()733 release_resource(&image->bus_resource); in tsi148_alloc_resource()734 memset(&image->bus_resource, 0, sizeof(image->bus_resource)); in tsi148_alloc_resource()741 if (!image->bus_resource.name) { in tsi148_alloc_resource()742 image->bus_resource.name = kmalloc(VMENAMSIZ+3, GFP_ATOMIC); in tsi148_alloc_resource()743 if (!image->bus_resource.name) { in tsi148_alloc_resource()749 sprintf((char *)image->bus_resource.name, "%s.%d", tsi148_bridge->name, in tsi148_alloc_resource()752 image->bus_resource.start = 0; in tsi148_alloc_resource()[all …]
24 struct resource bus_resource; member
801 phys_addr = image->bus_resource.start + (vma->vm_pgoff << PAGE_SHIFT); in vme_master_mmap()804 if (phys_addr + vma_size > image->bus_resource.end + 1) { in vme_master_mmap()
1127 memset(&master_image->bus_resource, 0, in fake_init()
281 zbus->bus_resource.start = 0; in zpci_bus_alloc()282 zbus->bus_resource.end = ZPCI_BUS_NR; in zpci_bus_alloc()283 zbus->bus_resource.flags = IORESOURCE_BUS; in zpci_bus_alloc()284 pci_add_resource(&zbus->resources, &zbus->bus_resource); in zpci_bus_alloc()
109 struct resource bus_resource; member