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() local413 if (chn < AAC_MAX_BUSES && tid < AAC_MAX_TARGETS && aac->sa_firmware) { in aac_slave_configure()414 devtype = aac->hba_map[chn][tid].devtype; in aac_slave_configure()417 depth = aac->hba_map[chn][tid].qd_limit; in aac_slave_configure()428 if (aac->jbod && (sdev->type == TYPE_DISK)) in aac_slave_configure()433 && (!aac->jbod || sdev->inq_periph_qual) in aac_slave_configure()434 && (!aac->raid_scsi_mode || (sdev_channel(sdev) != 2))) { in aac_slave_configure()445 && (!aac->raid_scsi_mode || (sdev_channel(sdev) != 2)) in aac_slave_configure()456 for (cid = 0; cid < aac->maximum_num_containers; ++cid) in aac_slave_configure()457 if (aac->fsa_dev[cid].valid) in aac_slave_configure()[all …]
1508 static int _aac_reset_adapter(struct aac_dev *aac, int forced, u8 reset_type) in _aac_reset_adapter() argument1531 host = aac->scsi_host_ptr; in _aac_reset_adapter()1533 aac_adapter_disable_int(aac); in _aac_reset_adapter()1534 if (aac->thread && aac->thread->pid != current->pid) { in _aac_reset_adapter()1536 kthread_stop(aac->thread); in _aac_reset_adapter()1537 aac->thread = NULL; in _aac_reset_adapter()1545 bled = forced ? 0 : aac_adapter_check_health(aac); in _aac_reset_adapter()1546 retval = aac_adapter_restart(aac, bled, reset_type); in _aac_reset_adapter()1555 num_of_fibs = aac->scsi_host_ptr->can_queue + AAC_NUM_MGT_FIB; in _aac_reset_adapter()1558 struct fib *fib = &aac->fibs[index]; in _aac_reset_adapter()[all …]
2504 struct aac_dev *aac; in aac_synchronize() local2573 aac = (struct aac_dev *)sdev->host->hostdata; in aac_synchronize()2574 if (aac->in_reset) in aac_synchronize()2580 if (!(cmd_fibcontext = aac_fib_alloc(aac))) in aac_synchronize()2639 struct aac_dev *aac = (struct aac_dev *)sdev->host->hostdata; in aac_start_stop() local2641 if (!(aac->supplement_adapter_info.supported_options2 & in aac_start_stop()2649 if (aac->in_reset) in aac_start_stop()2655 cmd_fibcontext = aac_fib_alloc_tag(aac, scsicmd); in aac_start_stop()