Home
last modified time | relevance | path

Searched refs:sas_port (Results 1 – 25 of 29) sorted by relevance

12

/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c111 struct sas_port *port; in pqi_alloc_sas_port()
192 if (!device->sas_port) in pqi_find_device_by_sas_rphy()
194 if (device->sas_port->rphy == rphy) in pqi_find_device_by_sas_rphy()
268 device->sas_port = pqi_sas_port; in pqi_add_sas_device()
278 device->sas_port = NULL; in pqi_add_sas_device()
285 if (device->sas_port) { in pqi_remove_sas_device()
286 pqi_free_sas_port(device->sas_port); in pqi_remove_sas_device()
287 device->sas_port = NULL; in pqi_remove_sas_device()
Dsmartpqi.h757 struct pqi_sas_port *sas_port; member
834 struct sas_port *port;
/drivers/scsi/
Dscsi_transport_sas.c839 struct sas_port *port = transport_class_to_sas_port(dev); \
875 struct sas_port *port = dev_to_sas_port(dev); in sas_port_release()
883 static void sas_port_create_link(struct sas_port *port, in sas_port_create_link()
901 static void sas_port_delete_link(struct sas_port *port, in sas_port_delete_link()
919 struct sas_port *sas_port_alloc(struct device *parent, int port_id) in sas_port_alloc()
922 struct sas_port *port; in sas_port_alloc()
964 struct sas_port *sas_port_alloc_num(struct device *parent) in sas_port_alloc_num()
990 int sas_port_add(struct sas_port *port) in sas_port_add()
1019 void sas_port_free(struct sas_port *port) in sas_port_free()
1033 void sas_port_delete(struct sas_port *port) in sas_port_delete()
[all …]
Dhpsa.h46 struct sas_port *port;
107 struct hpsa_sas_port *sas_port; member
Dhpsa.c9696 struct sas_port *port; in hpsa_alloc_sas_port()
9779 if (!device->sas_port) in hpsa_find_device_by_sas_rphy()
9781 if (device->sas_port->rphy == rphy) in hpsa_find_device_by_sas_rphy()
9855 device->sas_port = hpsa_sas_port; in hpsa_add_sas_device()
9865 device->sas_port = NULL; in hpsa_add_sas_device()
9872 if (device->sas_port) { in hpsa_remove_sas_device()
9873 hpsa_free_sas_port(device->sas_port); in hpsa_remove_sas_device()
9874 device->sas_port = NULL; in hpsa_remove_sas_device()
/drivers/scsi/mvsas/
Dmv_sas.c84 while (sha->sas_port[i]) { in mvs_find_dev_mvi()
85 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_mvi()
86 phy = container_of(sha->sas_port[i]->phy_list.next, in mvs_find_dev_mvi()
112 while (sha->sas_port[i]) { in mvs_find_dev_phyno()
113 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_phyno()
116 &sha->sas_port[i]->phy_list, port_phy_el) { in mvs_find_dev_phyno()
323 struct asd_sas_port *sas_port = dev->port; in mvs_task_prep_smp() local
408 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; in mvs_task_prep_smp()
451 struct asd_sas_port *sas_port = dev->port; in mvs_task_prep_ata() local
471 ((sas_port->phy_mask & TXQ_PHY_MASK) << TXQ_PHY_SHIFT) | in mvs_task_prep_ata()
[all …]
Dmv_init.c454 sha->sas_port = arr_port; in mvs_prep_sas_ha_init()
490 sha->sas_port[j * chip_info->n_phy + i] = in mvs_post_sas_ha_init()
491 &mvi->port[i].sas_port; in mvs_post_sas_ha_init()
656 kfree(sha->sas_port); in mvs_pci_remove()
Dmv_sas.h215 struct asd_sas_port sas_port; member
/drivers/scsi/libsas/
Dsas_port.c122 port = sas_ha->sas_port[i]; in sas_form_port()
136 port = sas_ha->sas_port[i]; in sas_form_port()
339 struct asd_sas_port *port = sas_ha->sas_port[i]; in sas_register_ports()
DMakefile27 sas_port.o \
Dsas_event.c107 struct asd_sas_port *port = ha->sas_port[i]; in sas_enable_revalidation()
Dsas_internal.h91 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port);
Dsas_init.c439 struct asd_sas_port *port = ha->sas_port[i]; in sas_suspend_ha()
Dsas_discover.c408 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port) in sas_device_set_phy()
Dsas_ata.c765 struct asd_sas_port *port = sas_ha->sas_port[i]; in sas_ata_strategy_handler()
Dsas_scsi_host.c833 struct asd_sas_port *port = ha->sas_port[i]; in sas_find_dev_by_rphy()
/drivers/scsi/hisi_sas/
Dhisi_sas_main.c539 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_port_notify_formed() local
543 if (!sas_port) in hisi_sas_port_notify_formed()
550 sas_port->lldd_port = port; in hisi_sas_port_notify_formed()
584 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_port_notify_deformed() local
586 list_for_each_entry(device, &sas_port->dev_list, dev_list_node) in hisi_sas_port_notify_deformed()
1503 sha->sas_port = arr_port; in hisi_sas_probe()
1525 sha->sas_port[i] = &hisi_hba->port[i].sas_port; in hisi_sas_probe()
Dhisi_sas.h89 struct asd_sas_port sas_port; member
/drivers/message/fusion/
Dmptsas.h153 struct sas_port *port; /* transport layer port object */
Dmptsas.c504 static inline struct sas_port *
514 mptsas_set_port(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info, struct sas_port *port) in mptsas_set_port()
1420 struct sas_port *port; in mptsas_add_end_device()
1496 struct sas_port *port; in mptsas_del_end_device()
3042 struct sas_port *port; in mptsas_probe_one_phy()
3523 struct sas_port *port; in mptsas_expander_delete()
/drivers/scsi/pm8001/
Dpm8001_init.c558 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init()
595 sha->sas_port[i] = &pm8001_ha->port[i].sas_port; in pm8001_post_sas_ha_init()
1124 kfree(sha->sas_port); in pm8001_pci_remove()
Dpm8001_sas.h244 struct asd_sas_port sas_port; member
/drivers/scsi/aic94xx/
Daic94xx_init.c696 asd_ha->sas_ha.sas_port= sas_ports; in asd_register_sas_ha()
713 kfree(asd_ha->sas_ha.sas_port); in asd_unregister_sas_ha()
/drivers/scsi/isci/
Dinit.c257 sas_ha->sas_port = sas_ports; in isci_register_sas_ha()
/drivers/scsi/mpt3sas/
Dmpt3sas_base.h579 struct sas_port *port;

12