Searched refs:master_image (Results 1 – 4 of 4) sorted by relevance
1058 struct vme_master_resource *master_image; in fake_init() local1105 master_image = kmalloc(sizeof(*master_image), GFP_KERNEL); in fake_init()1106 if (!master_image) { in fake_init()1110 master_image->parent = fake_bridge; in fake_init()1111 spin_lock_init(&master_image->lock); in fake_init()1112 master_image->locked = 0; in fake_init()1113 master_image->number = i; in fake_init()1114 master_image->address_attr = VME_A16 | VME_A24 | VME_A32 | in fake_init()1116 master_image->cycle_attr = VME_SCT | VME_BLT | VME_MBLT | in fake_init()1120 master_image->width_attr = VME_D16 | VME_D32; in fake_init()[all …]
450 struct vme_master_resource *master_image = NULL; in vme_master_request() local460 list_for_each_entry(master_image, &bridge->master_resources, list) { in vme_master_request()461 if (!master_image) { in vme_master_request()468 spin_lock(&master_image->lock); in vme_master_request()469 if (((master_image->address_attr & address) == address) && in vme_master_request()470 ((master_image->cycle_attr & cycle) == cycle) && in vme_master_request()471 ((master_image->width_attr & dwidth) == dwidth) && in vme_master_request()472 (master_image->locked == 0)) { in vme_master_request()473 master_image->locked = 1; in vme_master_request()474 spin_unlock(&master_image->lock); in vme_master_request()[all …]
2250 struct vme_master_resource *master_image; in tsi148_probe() local2354 master_image = kmalloc(sizeof(*master_image), GFP_KERNEL); in tsi148_probe()2355 if (!master_image) { in tsi148_probe()2359 master_image->parent = tsi148_bridge; in tsi148_probe()2360 spin_lock_init(&master_image->lock); in tsi148_probe()2361 master_image->locked = 0; in tsi148_probe()2362 master_image->number = i; in tsi148_probe()2363 master_image->address_attr = VME_A16 | VME_A24 | VME_A32 | in tsi148_probe()2366 master_image->cycle_attr = VME_SCT | VME_BLT | VME_MBLT | in tsi148_probe()2370 master_image->width_attr = VME_D16 | VME_D32; in tsi148_probe()[all …]
651 specified as: ``cow_file,master_image``.