Searched refs:aac (Results 1 – 5 of 5) sorted by relevance
392 struct aac_dev *aac = (struct aac_dev *)sdev->host->hostdata; in aac_slave_configure() local402 if (chn < AAC_MAX_BUSES && tid < AAC_MAX_TARGETS && aac->sa_firmware) { in aac_slave_configure()403 devtype = aac->hba_map[chn][tid].devtype; in aac_slave_configure()406 depth = aac->hba_map[chn][tid].qd_limit; in aac_slave_configure()417 if (aac->jbod && (sdev->type == TYPE_DISK)) in aac_slave_configure()422 && (!aac->jbod || sdev->inq_periph_qual) in aac_slave_configure()423 && (!aac->raid_scsi_mode || (sdev_channel(sdev) != 2))) { in aac_slave_configure()434 && (!aac->raid_scsi_mode || (sdev_channel(sdev) != 2)) in aac_slave_configure()445 for (cid = 0; cid < aac->maximum_num_containers; ++cid) in aac_slave_configure()446 if (aac->fsa_dev[cid].valid) in aac_slave_configure()[all …]
1467 static void aac_schedule_bus_scan(struct aac_dev *aac) in aac_schedule_bus_scan() argument1469 if (aac->sa_firmware) in aac_schedule_bus_scan()1470 aac_schedule_safw_scan_worker(aac); in aac_schedule_bus_scan()1472 aac_schedule_src_reinit_aif_worker(aac); in aac_schedule_bus_scan()1475 static int _aac_reset_adapter(struct aac_dev *aac, int forced, u8 reset_type) in _aac_reset_adapter() argument1479 struct Scsi_Host *host = aac->scsi_host_ptr; in _aac_reset_adapter()1495 aac_adapter_disable_int(aac); in _aac_reset_adapter()1496 if (aac->thread && aac->thread->pid != current->pid) { in _aac_reset_adapter()1498 kthread_stop(aac->thread); in _aac_reset_adapter()1499 aac->thread = NULL; in _aac_reset_adapter()[all …]
283 static void aac_wait_for_io_completion(struct aac_dev *aac) in aac_wait_for_io_completion() argument290 scsi_host_busy_iter(aac->scsi_host_ptr, in aac_wait_for_io_completion()297 dev_info(&aac->pdev->dev, in aac_wait_for_io_completion()302 dev_err(&aac->pdev->dev, in aac_wait_for_io_completion()
2648 struct aac_dev *aac; in aac_synchronize() local2650 aac = (struct aac_dev *)sdev->host->hostdata; in aac_synchronize()2651 if (aac->in_reset) in aac_synchronize()2657 cmd_fibcontext = aac_fib_alloc_tag(aac, scsicmd); in aac_synchronize()2715 struct aac_dev *aac = (struct aac_dev *)sdev->host->hostdata; in aac_start_stop() local2717 if (!(aac->supplement_adapter_info.supported_options2 & in aac_start_stop()2725 if (aac->in_reset) in aac_start_stop()2731 cmd_fibcontext = aac_fib_alloc_tag(aac, scsicmd); in aac_start_stop()
2741 void aac_reinit_aif(struct aac_dev *aac, unsigned int index);