Lines Matching refs:isci_host
138 struct isci_host *ihost = container_of(sas_ha, typeof(*ihost), sas_ha); in isci_show_id()
228 static int isci_register_sas_ha(struct isci_host *isci_host) in isci_register_sas_ha() argument
231 struct sas_ha_struct *sas_ha = &(isci_host->sas_ha); in isci_register_sas_ha()
235 sas_phys = devm_kzalloc(&isci_host->pdev->dev, in isci_register_sas_ha()
241 sas_ports = devm_kzalloc(&isci_host->pdev->dev, in isci_register_sas_ha()
249 sas_ha->sas_addr = &isci_host->phys[0].sas_addr[0]; in isci_register_sas_ha()
252 sas_phys[i] = &isci_host->phys[i].sas_phy; in isci_register_sas_ha()
253 sas_ports[i] = &isci_host->sas_ports[i]; in isci_register_sas_ha()
267 static void isci_unregister(struct isci_host *isci_host) in isci_unregister() argument
271 if (!isci_host) in isci_unregister()
274 shost = to_shost(isci_host); in isci_unregister()
276 sas_unregister_ha(&isci_host->sas_ha); in isci_unregister()
344 struct isci_host *ihost; in isci_setup_interrupts()
422 static enum sci_status sci_user_parameters_set(struct isci_host *ihost, in sci_user_parameters_set()
461 static void sci_oem_defaults(struct isci_host *ihost) in sci_oem_defaults()
510 static struct isci_host *isci_host_alloc(struct pci_dev *pdev, int id) in isci_host_alloc()
515 struct isci_host *ihost; in isci_host_alloc()
562 iport->isci_host = ihost; in isci_host_alloc()
620 struct isci_host *isci_host; in isci_pci_probe() local
678 struct isci_host *h = isci_host_alloc(pdev, i); in isci_pci_probe()
698 for_each_isci_host(i, isci_host, pdev) in isci_pci_probe()
699 scsi_scan_host(to_shost(isci_host)); in isci_pci_probe()
704 for_each_isci_host(i, isci_host, pdev) in isci_pci_probe()
705 isci_unregister(isci_host); in isci_pci_probe()
711 struct isci_host *ihost; in isci_pci_remove()
725 struct isci_host *ihost; in isci_suspend()
743 struct isci_host *ihost; in isci_resume()