Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/vme/bridges/
Dvme_ca91cx42.c524 existing_size = (unsigned long long)(image->bus_resource.end - in ca91cx42_alloc_resource()
525 image->bus_resource.start); in ca91cx42_alloc_resource()
534 kfree(image->bus_resource.name); in ca91cx42_alloc_resource()
535 release_resource(&image->bus_resource); in ca91cx42_alloc_resource()
536 memset(&image->bus_resource, 0, sizeof(struct resource)); in ca91cx42_alloc_resource()
539 if (image->bus_resource.name == NULL) { in ca91cx42_alloc_resource()
540 image->bus_resource.name = kmalloc(VMENAMSIZ+3, GFP_ATOMIC); in ca91cx42_alloc_resource()
541 if (image->bus_resource.name == NULL) { in ca91cx42_alloc_resource()
549 sprintf((char *)image->bus_resource.name, "%s.%d", in ca91cx42_alloc_resource()
552 image->bus_resource.start = 0; in ca91cx42_alloc_resource()
[all …]
Dvme_tsi148.c812 existing_size = (unsigned long long)(image->bus_resource.end - in tsi148_alloc_resource()
813 image->bus_resource.start); in tsi148_alloc_resource()
822 kfree(image->bus_resource.name); in tsi148_alloc_resource()
823 release_resource(&image->bus_resource); in tsi148_alloc_resource()
824 memset(&image->bus_resource, 0, sizeof(struct resource)); in tsi148_alloc_resource()
831 if (image->bus_resource.name == NULL) { in tsi148_alloc_resource()
832 image->bus_resource.name = kmalloc(VMENAMSIZ+3, GFP_ATOMIC); in tsi148_alloc_resource()
833 if (image->bus_resource.name == NULL) { in tsi148_alloc_resource()
841 sprintf((char *)image->bus_resource.name, "%s.%d", tsi148_bridge->name, in tsi148_alloc_resource()
844 image->bus_resource.start = 0; in tsi148_alloc_resource()
[all …]
/linux-4.1.27/drivers/vme/
Dvme_bridge.h21 struct resource bus_resource; member
Dvme.c624 phys_addr = image->bus_resource.start + (vma->vm_pgoff << PAGE_SHIFT); in vme_master_mmap()
627 if (phys_addr + vma_size > image->bus_resource.end + 1) { in vme_master_mmap()