Searched refs:aac (Results 1 – 3 of 3) sorted by relevance
404 struct aac_dev *aac = (struct aac_dev *)sdev->host->hostdata; in aac_slave_configure() local405 if (aac->jbod && (sdev->type == TYPE_DISK)) in aac_slave_configure()409 (!aac->jbod || sdev->inq_periph_qual) && in aac_slave_configure()410 (!aac->raid_scsi_mode || (sdev_channel(sdev) != 2))) { in aac_slave_configure()417 (!aac->raid_scsi_mode || (sdev_channel(sdev) != 2)) && in aac_slave_configure()432 for (cid = 0; cid < aac->maximum_num_containers; ++cid) in aac_slave_configure()433 if (aac->fsa_dev[cid].valid) in aac_slave_configure()437 (!aac->raid_scsi_mode || in aac_slave_configure()441 || !aac->fsa_dev[sdev_id(dev)].valid) in aac_slave_configure()500 struct aac_dev *aac = (struct aac_dev *)(sdev->host->hostdata); in aac_show_raid_level() local[all …]
1301 static int _aac_reset_adapter(struct aac_dev *aac, int forced) in _aac_reset_adapter() argument1321 host = aac->scsi_host_ptr; in _aac_reset_adapter()1323 aac_adapter_disable_int(aac); in _aac_reset_adapter()1324 if (aac->thread && aac->thread->pid != current->pid) { in _aac_reset_adapter()1326 kthread_stop(aac->thread); in _aac_reset_adapter()1327 aac->thread = NULL; in _aac_reset_adapter()1335 retval = aac_adapter_restart(aac, forced ? 0 : aac_adapter_check_health(aac)); in _aac_reset_adapter()1343 for (retval = 1, index = 0; index < (aac->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB); index++) { in _aac_reset_adapter()1344 struct fib *fib = &aac->fibs[index]; in _aac_reset_adapter()1358 index = aac->cardtype; in _aac_reset_adapter()[all …]
2136 struct aac_dev *aac; in aac_synchronize() local2205 aac = (struct aac_dev *)sdev->host->hostdata; in aac_synchronize()2206 if (aac->in_reset) in aac_synchronize()2212 if (!(cmd_fibcontext = aac_fib_alloc(aac))) in aac_synchronize()2272 struct aac_dev *aac = (struct aac_dev *)sdev->host->hostdata; in aac_start_stop() local2274 if (!(aac->supplement_adapter_info.SupportedOptions2 & in aac_start_stop()2282 if (aac->in_reset) in aac_start_stop()2288 cmd_fibcontext = aac_fib_alloc(aac); in aac_start_stop()