Lines Matching refs:master_image
1603 struct vme_master_resource *master_image; in ca91cx42_probe() local
1675 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()
1689 memset(&master_image->bus_resource, 0, in ca91cx42_probe()
1690 sizeof(master_image->bus_resource)); in ca91cx42_probe()
1691 master_image->kern_base = NULL; in ca91cx42_probe()
1692 list_add_tail(&master_image->list, in ca91cx42_probe()
1820 master_image = list_entry(pos, struct vme_master_resource, in ca91cx42_probe()
1823 kfree(master_image); in ca91cx42_probe()
1846 struct vme_master_resource *master_image; in ca91cx42_remove() local
1904 master_image = list_entry(pos, struct vme_master_resource, in ca91cx42_remove()
1907 kfree(master_image); in ca91cx42_remove()