Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/scsi/
Dscsi_transport_sas.h146 struct sas_port { struct
163 container_of((d), struct sas_port, dev) argument
202 extern struct sas_rphy *sas_end_device_alloc(struct sas_port *);
203 extern struct sas_rphy *sas_expander_alloc(struct sas_port *, enum sas_device_type);
210 struct sas_port *sas_port_alloc(struct device *, int);
211 struct sas_port *sas_port_alloc_num(struct device *);
212 int sas_port_add(struct sas_port *);
213 void sas_port_free(struct sas_port *);
214 void sas_port_delete(struct sas_port *);
215 void sas_port_add_phy(struct sas_port *, struct sas_phy *);
[all …]
Dlibsas.h117 struct sas_port *port;
134 struct sas_port *parent_port;
276 struct sas_port *port;
388 struct asd_sas_port **sas_port; /* array of valid pointers, must be set */ member
/Linux-v5.10/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c124 struct sas_port *port; in pqi_alloc_sas_port()
206 if (!device->sas_port) in pqi_find_device_by_sas_rphy()
208 if (device->sas_port->rphy == rphy) in pqi_find_device_by_sas_rphy()
284 device->sas_port = pqi_sas_port; in pqi_add_sas_device()
294 device->sas_port = NULL; in pqi_add_sas_device()
301 if (device->sas_port) { in pqi_remove_sas_device()
302 pqi_free_sas_port(device->sas_port); in pqi_remove_sas_device()
303 device->sas_port = NULL; in pqi_remove_sas_device()
Dsmartpqi.h957 struct pqi_sas_port *sas_port; member
1036 struct sas_port *port;
/Linux-v5.10/drivers/scsi/
Dscsi_transport_sas.c788 struct sas_port *port = transport_class_to_sas_port(dev); \
824 struct sas_port *port = dev_to_sas_port(dev); in sas_port_release()
832 static void sas_port_create_link(struct sas_port *port, in sas_port_create_link()
850 static void sas_port_delete_link(struct sas_port *port, in sas_port_delete_link()
868 struct sas_port *sas_port_alloc(struct device *parent, int port_id) in sas_port_alloc()
871 struct sas_port *port; in sas_port_alloc()
913 struct sas_port *sas_port_alloc_num(struct device *parent) in sas_port_alloc_num()
939 int sas_port_add(struct sas_port *port) in sas_port_add()
968 void sas_port_free(struct sas_port *port) in sas_port_free()
982 void sas_port_delete(struct sas_port *port) in sas_port_delete()
[all …]
Dhpsa.h47 struct sas_port *port;
112 struct hpsa_sas_port *sas_port; member
/Linux-v5.10/drivers/scsi/mvsas/
Dmv_sas.c68 while (sha->sas_port[i]) { in mvs_find_dev_mvi()
69 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_mvi()
70 phy = container_of(sha->sas_port[i]->phy_list.next, in mvs_find_dev_mvi()
96 while (sha->sas_port[i]) { in mvs_find_dev_phyno()
97 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_phyno()
100 &sha->sas_port[i]->phy_list, port_phy_el) { in mvs_find_dev_phyno()
307 struct asd_sas_port *sas_port = dev->port; in mvs_task_prep_smp() local
392 buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; in mvs_task_prep_smp()
435 struct asd_sas_port *sas_port = dev->port; in mvs_task_prep_ata() local
455 ((sas_port->phy_mask & TXQ_PHY_MASK) << TXQ_PHY_SHIFT) | in mvs_task_prep_ata()
[all …]
Dmv_init.c421 sha->sas_port = arr_port; in mvs_prep_sas_ha_init()
457 sha->sas_port[j * chip_info->n_phy + i] = in mvs_post_sas_ha_init()
458 &mvi->port[i].sas_port; in mvs_post_sas_ha_init()
622 kfree(sha->sas_port); in mvs_pci_remove()
Dmv_sas.h196 struct asd_sas_port sas_port; member
/Linux-v5.10/drivers/scsi/libsas/
Dsas_discover.c356 struct sas_port *sas_port, *p; in sas_destruct_ports() local
358 list_for_each_entry_safe(sas_port, p, &port->sas_port_del_list, del_list) { in sas_destruct_ports()
359 list_del_init(&sas_port->del_list); in sas_destruct_ports()
360 sas_port_delete(sas_port); in sas_destruct_ports()
398 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port) in sas_device_set_phy()
DMakefile12 sas_port.o \
Dsas_port.c108 port = sas_ha->sas_port[i]; in sas_form_port()
122 port = sas_ha->sas_port[i]; in sas_form_port()
338 struct asd_sas_port *port = sas_ha->sas_port[i]; in sas_register_ports()
Dsas_event.c99 struct asd_sas_port *port = ha->sas_port[i]; in sas_enable_revalidation()
Dsas_internal.h81 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port);
Dsas_init.c432 struct asd_sas_port *port = ha->sas_port[i]; in sas_suspend_ha()
/Linux-v5.10/drivers/scsi/hisi_sas/
Dhisi_sas_main.c142 struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port) in to_hisi_sas_port() argument
144 return container_of(sas_port, struct hisi_sas_port, sas_port); in to_hisi_sas_port()
417 struct asd_sas_port *sas_port = device->port; in hisi_sas_task_prep() local
465 port = to_hisi_sas_port(sas_port); in hisi_sas_task_prep()
573 struct asd_sas_port *sas_port = device->port; in hisi_sas_task_exec() local
576 if (!sas_port) { in hisi_sas_task_exec()
988 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_port_notify_formed() local
992 if (!sas_port) in hisi_sas_port_notify_formed()
995 port = to_hisi_sas_port(sas_port); in hisi_sas_port_notify_formed()
1000 sas_port->lldd_port = port; in hisi_sas_port_notify_formed()
[all …]
Dhisi_sas.h180 struct asd_sas_port sas_port; member
647 extern struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port);
Dhisi_sas_v3_hw.c770 struct asd_sas_port *sas_port = device->port; in setup_itct_v3_hw() local
771 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in setup_itct_v3_hw()
1367 struct asd_sas_port *sas_port = device->port; in prep_ata_v3_hw() local
1368 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in prep_ata_v3_hw()
2292 slot->port->sas_port.id); in slot_complete_v3_hw()
3283 sha->sas_port = arr_port; in hisi_sas_v3_probe()
3303 sha->sas_port[i] = &hisi_hba->port[i].sas_port; in hisi_sas_v3_probe()
Dhisi_sas_v2_hw.c929 struct asd_sas_port *sas_port = device->port; in setup_itct_v2_hw() local
930 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in setup_itct_v2_hw()
2455 slot->port->sas_port.id); in slot_complete_v2_hw()
2493 struct asd_sas_port *sas_port = device->port; in prep_ata_v2_hw() local
2494 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in prep_ata_v2_hw()
2581 asd_sas_port = &port->sas_port; in hisi_sas_internal_abort_quirk_timeout()
Dhisi_sas_v1_hw.c497 struct asd_sas_port *sas_port = device->port; in setup_itct_v1_hw() local
498 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in setup_itct_v1_hw()
1307 slot->port->sas_port.id); in slot_complete_v1_hw()
/Linux-v5.10/Documentation/scsi/
Dlibsas.rst117 - this points to the sas_port if the phy belongs
119 sas_port this phy is part of. Set by the SAS Layer.
132 ``struct sas_port``
156 struct sas_port sas_ports[MAX_PHYS]; /* (1) */
174 sas_port subsection
184 and the number of ports present in the sas_port
226 int (*lldd_clear_nexus_port)(struct sas_port *);
248 static struct sas_port *sas_ports[MAX_PHYS];
258 my_ha->sas_ha.sas_port = sas_ports;
/Linux-v5.10/drivers/message/fusion/
Dmptsas.h153 struct sas_port *port; /* transport layer port object */
/Linux-v5.10/drivers/scsi/pm8001/
Dpm8001_init.c593 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init()
630 sha->sas_port[i] = &pm8001_ha->port[i].sas_port; in pm8001_post_sas_ha_init()
1252 kfree(sha->sas_port); in pm8001_pci_remove()
/Linux-v5.10/drivers/scsi/aic94xx/
Daic94xx_init.c678 asd_ha->sas_ha.sas_port= sas_ports; in asd_register_sas_ha()
694 kfree(asd_ha->sas_ha.sas_port); in asd_unregister_sas_ha()
/Linux-v5.10/drivers/scsi/isci/
Dinit.c260 sas_ha->sas_port = sas_ports; in isci_register_sas_ha()

12