Searched refs:raid_dev (Results 1 – 3 of 3) sorted by relevance
742 mraid_device_t *raid_dev; in megaraid_init_mbox() local754 raid_dev = kzalloc(sizeof(mraid_device_t), GFP_KERNEL); in megaraid_init_mbox()755 if (raid_dev == NULL) return -1; in megaraid_init_mbox()761 adapter->raid_device = (caddr_t)raid_dev; in megaraid_init_mbox()762 raid_dev->fast_load = megaraid_fast_load; in megaraid_init_mbox()766 raid_dev->baseport = pci_resource_start(pdev, 0); in megaraid_init_mbox()776 raid_dev->baseaddr = ioremap_nocache(raid_dev->baseport, 128); in megaraid_init_mbox()778 if (!raid_dev->baseaddr) { in megaraid_init_mbox()787 spin_lock_init(&raid_dev->mailbox_lock); in megaraid_init_mbox()858 raid_dev->random_del_supported = 1; in megaraid_init_mbox()[all …]
223 int raid_component_add(struct raid_template *r,struct device *raid_dev, in raid_component_add() argument228 raid_dev); in raid_component_add()
27 struct raid_dev { struct70 struct raid_dev dev[0];1068 struct raid_dev *dev; in analyse_superblocks()1099 dev = container_of(rdev, struct raid_dev, rdev); in analyse_superblocks()