Searched refs:master_image (Results 1 – 5 of 5) sorted by relevance
497 struct vme_master_resource *master_image = NULL; in vme_master_request() local508 master_image = list_entry(master_pos, in vme_master_request()511 if (!master_image) { in vme_master_request()517 spin_lock(&master_image->lock); in vme_master_request()518 if (((master_image->address_attr & address) == address) && in vme_master_request()519 ((master_image->cycle_attr & cycle) == cycle) && in vme_master_request()520 ((master_image->width_attr & dwidth) == dwidth) && in vme_master_request()521 (master_image->locked == 0)) { in vme_master_request()523 master_image->locked = 1; in vme_master_request()524 spin_unlock(&master_image->lock); in vme_master_request()[all …]
1070 struct vme_master_resource *master_image; in fake_init() local1111 master_image = kmalloc(sizeof(*master_image), GFP_KERNEL); in fake_init()1112 if (!master_image) { in fake_init()1116 master_image->parent = fake_bridge; in fake_init()1117 spin_lock_init(&master_image->lock); in fake_init()1118 master_image->locked = 0; in fake_init()1119 master_image->number = i; in fake_init()1120 master_image->address_attr = VME_A16 | VME_A24 | VME_A32 | in fake_init()1122 master_image->cycle_attr = VME_SCT | VME_BLT | VME_MBLT | in fake_init()1126 master_image->width_attr = VME_D16 | VME_D32; in fake_init()[all …]
1603 struct vme_master_resource *master_image; in ca91cx42_probe() local1675 master_image = kmalloc(sizeof(*master_image), GFP_KERNEL); in ca91cx42_probe()1676 if (!master_image) { in ca91cx42_probe()1680 master_image->parent = ca91cx42_bridge; in ca91cx42_probe()1681 spin_lock_init(&master_image->lock); in ca91cx42_probe()1682 master_image->locked = 0; in ca91cx42_probe()1683 master_image->number = i; in ca91cx42_probe()1684 master_image->address_attr = VME_A16 | VME_A24 | VME_A32 | in ca91cx42_probe()1686 master_image->cycle_attr = VME_SCT | VME_BLT | VME_MBLT | in ca91cx42_probe()1688 master_image->width_attr = VME_D8 | VME_D16 | VME_D32 | VME_D64; in ca91cx42_probe()[all …]
2283 struct vme_master_resource *master_image; in tsi148_probe() local2381 master_image = kmalloc(sizeof(*master_image), GFP_KERNEL); in tsi148_probe()2382 if (!master_image) { in tsi148_probe()2386 master_image->parent = tsi148_bridge; in tsi148_probe()2387 spin_lock_init(&master_image->lock); in tsi148_probe()2388 master_image->locked = 0; in tsi148_probe()2389 master_image->number = i; in tsi148_probe()2390 master_image->address_attr = VME_A16 | VME_A24 | VME_A32 | in tsi148_probe()2393 master_image->cycle_attr = VME_SCT | VME_BLT | VME_MBLT | in tsi148_probe()2397 master_image->width_attr = VME_D16 | VME_D32; in tsi148_probe()[all …]
611 specified as: ``cow_file,master_image``.