Home
last modified time | relevance | path

Searched refs:sas_ports (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/scsi/isci/
Dinit.c232 struct asd_sas_port **sas_ports; in isci_register_sas_ha() local
240 sas_ports = devm_kcalloc(&isci_host->pdev->dev, in isci_register_sas_ha()
243 if (!sas_ports) in isci_register_sas_ha()
252 sas_ports[i] = &isci_host->sas_ports[i]; in isci_register_sas_ha()
256 sas_ha->sas_port = sas_ports; in isci_register_sas_ha()
Dhost.h197 struct asd_sas_port sas_ports[SCI_MAX_PORTS]; member
/Linux-v5.4/drivers/scsi/aic94xx/
Daic94xx_init.c655 struct asd_sas_port **sas_ports = in asd_register_sas_ha() local
656 kcalloc(ASD_MAX_PHYS, sizeof(*sas_ports), GFP_KERNEL); in asd_register_sas_ha()
658 if (!sas_phys || !sas_ports) { in asd_register_sas_ha()
660 kfree(sas_ports); in asd_register_sas_ha()
670 sas_ports[i] = &asd_ha->ports[i]; in asd_register_sas_ha()
674 asd_ha->sas_ha.sas_port= sas_ports; in asd_register_sas_ha()
/Linux-v5.4/Documentation/scsi/
Dlibsas.txt129 struct sas_port sas_ports[MAX_PHYS]; /* (1) */
211 static struct sas_port *sas_ports[MAX_PHYS];
217 sas_ports[i] = &my_ha->sas_ports[i];
221 my_ha->sas_ha.sas_port = sas_ports;