Home
last modified time | relevance | path

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

/linux/drivers/staging/vme_user/
H A Dvme_tsi148.c720 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 …]
H A Dvme_bridge.h24 struct resource bus_resource; member
H A Dvme.c761 phys_addr = image->bus_resource.start + (vma->vm_pgoff << PAGE_SHIFT); in vme_master_mmap()
764 if (phys_addr + vma_size > image->bus_resource.end + 1) { in vme_master_mmap()
H A Dvme_fake.c1121 memset(&master_image->bus_resource, 0, in fake_init()
/linux/arch/s390/pci/
H A Dpci_bus.c269 zbus->bus_resource.start = 0; in zpci_bus_alloc()
270 zbus->bus_resource.end = ZPCI_BUS_NR; in zpci_bus_alloc()
271 zbus->bus_resource.flags = IORESOURCE_BUS; in zpci_bus_alloc()
272 pci_add_resource(&zbus->resources, &zbus->bus_resource); in zpci_bus_alloc()
/linux/arch/s390/include/asm/
H A Dpci.h109 struct resource bus_resource; member