/Linux-v6.1/include/scsi/ |
D | scsi_transport_sas.h | 147 struct sas_port { struct 164 container_of((d), struct sas_port, dev) argument 203 extern struct sas_rphy *sas_end_device_alloc(struct sas_port *); 204 extern struct sas_rphy *sas_expander_alloc(struct sas_port *, enum sas_device_type); 211 struct sas_port *sas_port_alloc(struct device *, int); 212 struct sas_port *sas_port_alloc_num(struct device *); 213 int sas_port_add(struct sas_port *); 214 void sas_port_free(struct sas_port *); 215 void sas_port_delete(struct sas_port *); 216 void sas_port_add_phy(struct sas_port *, struct sas_phy *); [all …]
|
D | libsas.h | 117 struct sas_port *port; 134 struct sas_port *parent_port; 276 struct sas_port *port; 389 struct asd_sas_port **sas_port; /* array of valid pointers, must be set */ member
|
/Linux-v6.1/drivers/scsi/smartpqi/ |
D | smartpqi_sas_transport.c | 134 struct sas_port *port; in pqi_alloc_sas_port() 216 if (!device->sas_port) in pqi_find_device_by_sas_rphy() 218 if (device->sas_port->rphy == rphy) in pqi_find_device_by_sas_rphy() 294 device->sas_port = pqi_sas_port; in pqi_add_sas_device() 304 device->sas_port = NULL; in pqi_add_sas_device() 311 if (device->sas_port) { in pqi_remove_sas_device() 312 pqi_free_sas_port(device->sas_port); in pqi_remove_sas_device() 313 device->sas_port = NULL; in pqi_remove_sas_device()
|
D | smartpqi.h | 1140 struct pqi_sas_port *sas_port; member 1220 struct sas_port *port;
|
/Linux-v6.1/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 140 struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port) in to_hisi_sas_port() argument 142 return container_of(sas_port, struct hisi_sas_port, sas_port); in to_hisi_sas_port() 461 struct asd_sas_port *sas_port = device->port; in hisi_sas_queue_command() local 472 if (!sas_port) { in hisi_sas_queue_command() 514 port = to_hisi_sas_port(sas_port); in hisi_sas_queue_command() 561 port = to_hisi_sas_port(sas_port); in hisi_sas_queue_command() 1025 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_port_notify_formed() local 1029 if (!sas_port) in hisi_sas_port_notify_formed() 1032 port = to_hisi_sas_port(sas_port); in hisi_sas_port_notify_formed() 1037 sas_port->lldd_port = port; in hisi_sas_port_notify_formed() [all …]
|
D | hisi_sas.h | 198 struct asd_sas_port sas_port; member 635 extern struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port);
|
D | hisi_sas_v2_hw.c | 929 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() 2452 slot->port->sas_port.id); in slot_complete_v2_hw() 2490 struct asd_sas_port *sas_port = device->port; in prep_ata_v2_hw() local 2491 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in prep_ata_v2_hw() 2579 asd_sas_port = &port->sas_port; in hisi_sas_internal_abort_quirk_timeout()
|
D | hisi_sas_v1_hw.c | 497 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() 1304 slot->port->sas_port.id); in slot_complete_v1_hw()
|
D | hisi_sas_v3_hw.c | 789 struct asd_sas_port *sas_port = device->port; in setup_itct_v3_hw() local 790 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in setup_itct_v3_hw() 1386 struct asd_sas_port *sas_port = device->port; in prep_ata_v3_hw() local 1387 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in prep_ata_v3_hw() 2337 slot->port->sas_port.id); in slot_complete_v3_hw() 4804 sha->sas_port = arr_port; in hisi_sas_v3_probe() 4824 sha->sas_port[i] = &hisi_hba->port[i].sas_port; in hisi_sas_v3_probe()
|
/Linux-v6.1/drivers/scsi/mvsas/ |
D | mv_sas.c | 68 while (sha->sas_port[i]) { in mvs_find_dev_mvi() 69 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_mvi() 70 spin_lock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_mvi() 71 phy = container_of(sha->sas_port[i]->phy_list.next, in mvs_find_dev_mvi() 73 spin_unlock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_mvi() 98 while (sha->sas_port[i]) { in mvs_find_dev_phyno() 99 if (sha->sas_port[i] == dev->port) { in mvs_find_dev_phyno() 102 spin_lock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_phyno() 104 &sha->sas_port[i]->phy_list, port_phy_el) { in mvs_find_dev_phyno() 116 spin_unlock(&sha->sas_port[i]->phy_list_lock); in mvs_find_dev_phyno() [all …]
|
D | mv_init.c | 421 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() 624 kfree(sha->sas_port); in mvs_pci_remove()
|
D | mv_sas.h | 196 struct asd_sas_port sas_port; member
|
/Linux-v6.1/drivers/scsi/ |
D | scsi_transport_sas.c | 799 struct sas_port *port = transport_class_to_sas_port(dev); \ 835 struct sas_port *port = dev_to_sas_port(dev); in sas_port_release() 843 static void sas_port_create_link(struct sas_port *port, in sas_port_create_link() 861 static void sas_port_delete_link(struct sas_port *port, in sas_port_delete_link() 879 struct sas_port *sas_port_alloc(struct device *parent, int port_id) in sas_port_alloc() 882 struct sas_port *port; in sas_port_alloc() 924 struct sas_port *sas_port_alloc_num(struct device *parent) in sas_port_alloc_num() 950 int sas_port_add(struct sas_port *port) in sas_port_add() 979 void sas_port_free(struct sas_port *port) in sas_port_free() 993 void sas_port_delete(struct sas_port *port) in sas_port_delete() [all …]
|
D | hpsa.h | 47 struct sas_port *port; 112 struct hpsa_sas_port *sas_port; member
|
/Linux-v6.1/drivers/scsi/libsas/ |
D | sas_discover.c | 355 struct sas_port *sas_port, *p; in sas_destruct_ports() local 357 list_for_each_entry_safe(sas_port, p, &port->sas_port_del_list, del_list) { in sas_destruct_ports() 358 list_del_init(&sas_port->del_list); in sas_destruct_ports() 359 sas_port_delete(sas_port); in sas_destruct_ports() 397 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port) in sas_device_set_phy()
|
D | Makefile | 12 sas_port.o \
|
D | sas_port.c | 136 port = sas_ha->sas_port[i]; in sas_form_port() 151 port = sas_ha->sas_port[i]; in sas_form_port() 349 struct asd_sas_port *port = sas_ha->sas_port[i]; in sas_register_ports()
|
D | sas_event.c | 100 struct asd_sas_port *port = ha->sas_port[i]; in sas_enable_revalidation()
|
D | sas_internal.h | 81 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port);
|
D | sas_init.c | 396 struct asd_sas_port *port = ha->sas_port[i]; in sas_resume_insert_broadcast_ha() 476 struct asd_sas_port *port = ha->sas_port[i]; in sas_suspend_ha()
|
/Linux-v6.1/Documentation/scsi/ |
D | libsas.rst | 117 - 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 220 int (*lldd_clear_nexus_port)(struct sas_port *); 242 static struct sas_port *sas_ports[MAX_PHYS]; 252 my_ha->sas_ha.sas_port = sas_ports;
|
/Linux-v6.1/drivers/message/fusion/ |
D | mptsas.h | 154 struct sas_port *port; /* transport layer port object */
|
/Linux-v6.1/drivers/scsi/pm8001/ |
D | pm8001_sas.c | 1149 struct asd_sas_port *sas_port = sas_phy->port; in pm8001_port_formed() local 1152 if (!sas_port) { in pm8001_port_formed() 1156 sas_port->lldd_port = port; in pm8001_port_formed()
|
D | pm8001_init.c | 618 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init() 651 sha->sas_port[i] = &pm8001_ha->port[i].sas_port; in pm8001_post_sas_ha_init() 1304 kfree(sha->sas_port); in pm8001_pci_remove()
|
/Linux-v6.1/drivers/scsi/aic94xx/ |
D | aic94xx_init.c | 679 asd_ha->sas_ha.sas_port= sas_ports; in asd_register_sas_ha() 695 kfree(asd_ha->sas_ha.sas_port); in asd_unregister_sas_ha()
|