Searched refs:bus_resource (Results 1 – 5 of 5) sorted by relevance
/drivers/vme/bridges/ |
D | vme_ca91cx42.c | 516 existing_size = (unsigned long long)(image->bus_resource.end - in ca91cx42_alloc_resource() 517 image->bus_resource.start); in ca91cx42_alloc_resource() 526 kfree(image->bus_resource.name); in ca91cx42_alloc_resource() 527 release_resource(&image->bus_resource); in ca91cx42_alloc_resource() 528 memset(&image->bus_resource, 0, sizeof(image->bus_resource)); in ca91cx42_alloc_resource() 531 if (!image->bus_resource.name) { in ca91cx42_alloc_resource() 532 image->bus_resource.name = kmalloc(VMENAMSIZ+3, GFP_ATOMIC); in ca91cx42_alloc_resource() 533 if (!image->bus_resource.name) { in ca91cx42_alloc_resource() 539 sprintf((char *)image->bus_resource.name, "%s.%d", in ca91cx42_alloc_resource() 542 image->bus_resource.start = 0; in ca91cx42_alloc_resource() [all …]
|
D | vme_tsi148.c | 727 existing_size = (unsigned long long)(image->bus_resource.end - in tsi148_alloc_resource() 728 image->bus_resource.start); in tsi148_alloc_resource() 737 kfree(image->bus_resource.name); in tsi148_alloc_resource() 738 release_resource(&image->bus_resource); in tsi148_alloc_resource() 739 memset(&image->bus_resource, 0, sizeof(image->bus_resource)); in tsi148_alloc_resource() 746 if (!image->bus_resource.name) { in tsi148_alloc_resource() 747 image->bus_resource.name = kmalloc(VMENAMSIZ+3, GFP_ATOMIC); in tsi148_alloc_resource() 748 if (!image->bus_resource.name) { in tsi148_alloc_resource() 754 sprintf((char *)image->bus_resource.name, "%s.%d", tsi148_bridge->name, in tsi148_alloc_resource() 757 image->bus_resource.start = 0; in tsi148_alloc_resource() [all …]
|
D | vme_fake.c | 1127 memset(&master_image->bus_resource, 0, in fake_init()
|
/drivers/vme/ |
D | vme_bridge.h | 24 struct resource bus_resource; member
|
D | vme.c | 801 phys_addr = image->bus_resource.start + (vma->vm_pgoff << PAGE_SHIFT); in vme_master_mmap() 804 if (phys_addr + vma_size > image->bus_resource.end + 1) { in vme_master_mmap()
|