Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/vme/bridges/
Dvme_ca91cx42.c523 existing_size = (unsigned long long)(image->bus_resource.end - in ca91cx42_alloc_resource()
524 image->bus_resource.start); in ca91cx42_alloc_resource()
533 kfree(image->bus_resource.name); in ca91cx42_alloc_resource()
534 release_resource(&image->bus_resource); in ca91cx42_alloc_resource()
535 memset(&image->bus_resource, 0, sizeof(struct resource)); in ca91cx42_alloc_resource()
538 if (image->bus_resource.name == NULL) { in ca91cx42_alloc_resource()
539 image->bus_resource.name = kmalloc(VMENAMSIZ+3, GFP_ATOMIC); in ca91cx42_alloc_resource()
540 if (image->bus_resource.name == NULL) { in ca91cx42_alloc_resource()
548 sprintf((char *)image->bus_resource.name, "%s.%d", in ca91cx42_alloc_resource()
551 image->bus_resource.start = 0; in ca91cx42_alloc_resource()
[all …]
Dvme_tsi148.c734 existing_size = (unsigned long long)(image->bus_resource.end - in tsi148_alloc_resource()
735 image->bus_resource.start); in tsi148_alloc_resource()
744 kfree(image->bus_resource.name); in tsi148_alloc_resource()
745 release_resource(&image->bus_resource); in tsi148_alloc_resource()
746 memset(&image->bus_resource, 0, sizeof(struct resource)); in tsi148_alloc_resource()
753 if (image->bus_resource.name == NULL) { in tsi148_alloc_resource()
754 image->bus_resource.name = kmalloc(VMENAMSIZ+3, GFP_ATOMIC); in tsi148_alloc_resource()
755 if (image->bus_resource.name == NULL) { in tsi148_alloc_resource()
763 sprintf((char *)image->bus_resource.name, "%s.%d", tsi148_bridge->name, in tsi148_alloc_resource()
766 image->bus_resource.start = 0; in tsi148_alloc_resource()
[all …]
/linux-4.4.14/drivers/vme/
Dvme_bridge.h23 struct resource bus_resource; member
Dvme.c656 phys_addr = image->bus_resource.start + (vma->vm_pgoff << PAGE_SHIFT); in vme_master_mmap()
659 if (phys_addr + vma_size > image->bus_resource.end + 1) { in vme_master_mmap()