Searched refs:aac (Results 1 – 3 of 3) sorted by relevance
403 struct aac_dev *aac = (struct aac_dev *)sdev->host->hostdata; in aac_slave_configure() local404 if (aac->jbod && (sdev->type == TYPE_DISK)) in aac_slave_configure()408 (!aac->jbod || sdev->inq_periph_qual) && in aac_slave_configure()409 (!aac->raid_scsi_mode || (sdev_channel(sdev) != 2))) { in aac_slave_configure()416 (!aac->raid_scsi_mode || (sdev_channel(sdev) != 2)) && in aac_slave_configure()431 for (cid = 0; cid < aac->maximum_num_containers; ++cid) in aac_slave_configure()432 if (aac->fsa_dev[cid].valid) in aac_slave_configure()436 (!aac->raid_scsi_mode || in aac_slave_configure()440 || !aac->fsa_dev[sdev_id(dev)].valid) in aac_slave_configure()502 struct aac_dev *aac = (struct aac_dev *)(sdev->host->hostdata); in aac_show_raid_level() local[all …]
1354 static int _aac_reset_adapter(struct aac_dev *aac, int forced) in _aac_reset_adapter() argument1374 host = aac->scsi_host_ptr; in _aac_reset_adapter()1376 aac_adapter_disable_int(aac); in _aac_reset_adapter()1377 if (aac->thread->pid != current->pid) { in _aac_reset_adapter()1379 kthread_stop(aac->thread); in _aac_reset_adapter()1387 retval = aac_adapter_restart(aac, forced ? 0 : aac_adapter_check_health(aac)); in _aac_reset_adapter()1395 for (retval = 1, index = 0; index < (aac->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); index++) { in _aac_reset_adapter()1396 struct fib *fib = &aac->fibs[index]; in _aac_reset_adapter()1410 index = aac->cardtype; in _aac_reset_adapter()1419 aac_free_irq(aac); in _aac_reset_adapter()[all …]
2115 struct aac_dev *aac; in aac_synchronize() local2184 aac = (struct aac_dev *)sdev->host->hostdata; in aac_synchronize()2185 if (aac->in_reset) in aac_synchronize()2191 if (!(cmd_fibcontext = aac_fib_alloc(aac))) in aac_synchronize()2251 struct aac_dev *aac = (struct aac_dev *)sdev->host->hostdata; in aac_start_stop() local2253 if (!(aac->supplement_adapter_info.SupportedOptions2 & in aac_start_stop()2261 if (aac->in_reset) in aac_start_stop()2267 cmd_fibcontext = aac_fib_alloc_tag(aac, scsicmd); in aac_start_stop()