Searched refs:bus_resource (Results 1 – 6 of 6) sorted by relevance
720 existing_size = (unsigned long long)(image->bus_resource.end - in tsi148_alloc_resource()721 image->bus_resource.start); in tsi148_alloc_resource()730 kfree(image->bus_resource.name); in tsi148_alloc_resource()731 release_resource(&image->bus_resource); in tsi148_alloc_resource()732 memset(&image->bus_resource, 0, sizeof(image->bus_resource)); in tsi148_alloc_resource()739 if (!image->bus_resource.name) { in tsi148_alloc_resource()740 image->bus_resource.name = kmalloc(VMENAMSIZ + 3, GFP_ATOMIC); in tsi148_alloc_resource()741 if (!image->bus_resource.name) { in tsi148_alloc_resource()747 sprintf((char *)image->bus_resource.name, "%s.%d", tsi148_bridge->name, in tsi148_alloc_resource()750 image->bus_resource.start = 0; in tsi148_alloc_resource()[all …]
24 struct resource bus_resource; member
798 phys_addr = image->bus_resource.start + (vma->vm_pgoff << PAGE_SHIFT); in vme_master_mmap()801 if (phys_addr + vma_size > image->bus_resource.end + 1) { in vme_master_mmap()
1126 memset(&master_image->bus_resource, 0, in fake_init()
274 zbus->bus_resource.start = 0; in zpci_bus_alloc()275 zbus->bus_resource.end = ZPCI_BUS_NR; in zpci_bus_alloc()276 zbus->bus_resource.flags = IORESOURCE_BUS; in zpci_bus_alloc()277 pci_add_resource(&zbus->resources, &zbus->bus_resource); in zpci_bus_alloc()
109 struct resource bus_resource; member