Searched refs:bus_resource (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/vme/bridges/ |
D | vme_ca91cx42.c | 520 existing_size = (unsigned long long)(image->bus_resource.end - in ca91cx42_alloc_resource() 521 image->bus_resource.start); in ca91cx42_alloc_resource() 530 kfree(image->bus_resource.name); in ca91cx42_alloc_resource() 531 release_resource(&image->bus_resource); in ca91cx42_alloc_resource() 532 memset(&image->bus_resource, 0, sizeof(image->bus_resource)); in ca91cx42_alloc_resource() 535 if (!image->bus_resource.name) { in ca91cx42_alloc_resource() 536 image->bus_resource.name = kmalloc(VMENAMSIZ+3, GFP_ATOMIC); in ca91cx42_alloc_resource() 537 if (!image->bus_resource.name) { in ca91cx42_alloc_resource() 543 sprintf((char *)image->bus_resource.name, "%s.%d", in ca91cx42_alloc_resource() 546 image->bus_resource.start = 0; in ca91cx42_alloc_resource() [all …]
|
D | vme_tsi148.c | 732 existing_size = (unsigned long long)(image->bus_resource.end - in tsi148_alloc_resource() 733 image->bus_resource.start); in tsi148_alloc_resource() 742 kfree(image->bus_resource.name); in tsi148_alloc_resource() 743 release_resource(&image->bus_resource); in tsi148_alloc_resource() 744 memset(&image->bus_resource, 0, sizeof(image->bus_resource)); in tsi148_alloc_resource() 751 if (!image->bus_resource.name) { in tsi148_alloc_resource() 752 image->bus_resource.name = kmalloc(VMENAMSIZ+3, GFP_ATOMIC); in tsi148_alloc_resource() 753 if (!image->bus_resource.name) { in tsi148_alloc_resource() 759 sprintf((char *)image->bus_resource.name, "%s.%d", tsi148_bridge->name, in tsi148_alloc_resource() 762 image->bus_resource.start = 0; in tsi148_alloc_resource() [all …]
|
D | vme_fake.c | 1123 memset(&master_image->bus_resource, 0, in fake_init()
|
/Linux-v4.19/drivers/vme/ |
D | vme_bridge.h | 24 struct resource bus_resource; member
|
D | vme.c | 814 phys_addr = image->bus_resource.start + (vma->vm_pgoff << PAGE_SHIFT); in vme_master_mmap() 817 if (phys_addr + vma_size > image->bus_resource.end + 1) { in vme_master_mmap()
|