Home
last modified time | relevance | path

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

/openbmc/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.c798 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()
H A Dvme_fake.c1126 memset(&master_image->bus_resource, 0, in fake_init()
/openbmc/linux/arch/s390/pci/
H A Dpci_bus.c274 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()
/openbmc/linux/arch/s390/include/asm/
H A Dpci.h109 struct resource bus_resource; member