/Linux-v4.19/include/scsi/ |
D | scsi_transport_sas.h | 146 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 …]
|
D | libsas.h | 134 struct sas_port *port; 151 struct sas_port *parent_port; 287 struct sas_port *port; 399 struct asd_sas_port **sas_port; /* array of valid pointers, must be set */ member
|
/Linux-v4.19/drivers/scsi/smartpqi/ |
D | smartpqi_sas_transport.c | 111 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()
|
D | smartpqi.h | 840 struct pqi_sas_port *sas_port; member 919 struct sas_port *port;
|
/Linux-v4.19/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 162 struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port) in to_hisi_sas_port() argument 164 return container_of(sas_port, struct hisi_sas_port, sas_port); in to_hisi_sas_port() 295 struct asd_sas_port *sas_port = device->port; in hisi_sas_task_prep() local 303 if (!sas_port) { in hisi_sas_task_prep() 330 port = to_hisi_sas_port(sas_port); in hisi_sas_task_prep() 783 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_port_notify_formed() local 784 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in hisi_sas_port_notify_formed() 787 if (!sas_port) in hisi_sas_port_notify_formed() 794 sas_port->lldd_port = port; in hisi_sas_port_notify_formed() 1152 struct asd_sas_port *sas_port; in hisi_sas_refresh_port_id() local [all …]
|
D | hisi_sas.h | 154 struct asd_sas_port sas_port; member 458 extern struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port);
|
D | hisi_sas_v3_hw.c | 620 struct asd_sas_port *sas_port = device->port; in setup_itct_v3_hw() local 621 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in setup_itct_v3_hw() 1065 struct asd_sas_port *sas_port = device->port; in prep_ata_v3_hw() local 1066 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in prep_ata_v3_hw() 1749 slot->port->sas_port.id); in slot_complete_v3_hw() 2238 sha->sas_port = arr_port; in hisi_sas_v3_probe() 2260 sha->sas_port[i] = &hisi_hba->port[i].sas_port; in hisi_sas_v3_probe()
|
D | hisi_sas_v2_hw.c | 931 struct asd_sas_port *sas_port = device->port; in setup_itct_v2_hw() local 932 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in setup_itct_v2_hw() 2481 slot->port->sas_port.id); in slot_complete_v2_hw() 2522 struct asd_sas_port *sas_port = device->port; in prep_ata_v2_hw() local 2523 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in prep_ata_v2_hw() 2606 asd_sas_port = &port->sas_port; in hisi_sas_internal_abort_quirk_timeout()
|
D | hisi_sas_v1_hw.c | 511 struct asd_sas_port *sas_port = device->port; in setup_itct_v1_hw() local 512 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in setup_itct_v1_hw() 1352 slot->port->sas_port.id); in slot_complete_v1_hw()
|
/Linux-v4.19/drivers/scsi/ |
D | scsi_transport_sas.c | 794 struct sas_port *port = transport_class_to_sas_port(dev); \ 830 struct sas_port *port = dev_to_sas_port(dev); in sas_port_release() 838 static void sas_port_create_link(struct sas_port *port, in sas_port_create_link() 856 static void sas_port_delete_link(struct sas_port *port, in sas_port_delete_link() 874 struct sas_port *sas_port_alloc(struct device *parent, int port_id) in sas_port_alloc() 877 struct sas_port *port; in sas_port_alloc() 919 struct sas_port *sas_port_alloc_num(struct device *parent) in sas_port_alloc_num() 945 int sas_port_add(struct sas_port *port) in sas_port_add() 974 void sas_port_free(struct sas_port *port) in sas_port_free() 988 void sas_port_delete(struct sas_port *port) in sas_port_delete() [all …]
|
D | hpsa.h | 46 struct sas_port *port; 109 struct hpsa_sas_port *sas_port; member
|
/Linux-v4.19/drivers/scsi/mvsas/ |
D | mv_sas.c | 84 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 …]
|
D | mv_init.c | 453 sha->sas_port = arr_port; in mvs_prep_sas_ha_init() 489 sha->sas_port[j * chip_info->n_phy + i] = in mvs_post_sas_ha_init() 490 &mvi->port[i].sas_port; in mvs_post_sas_ha_init() 654 kfree(sha->sas_port); in mvs_pci_remove()
|
D | mv_sas.h | 215 struct asd_sas_port sas_port; member
|
/Linux-v4.19/drivers/scsi/libsas/ |
D | sas_discover.c | 369 struct sas_port *sas_port, *p; in sas_destruct_ports() local 371 list_for_each_entry_safe(sas_port, p, &port->sas_port_del_list, del_list) { in sas_destruct_ports() 372 list_del_init(&sas_port->del_list); in sas_destruct_ports() 373 sas_port_delete(sas_port); in sas_destruct_ports() 411 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port) in sas_device_set_phy()
|
D | Makefile | 27 sas_port.o \
|
D | sas_port.c | 123 port = sas_ha->sas_port[i]; in sas_form_port() 137 port = sas_ha->sas_port[i]; in sas_form_port() 337 struct asd_sas_port *port = sas_ha->sas_port[i]; in sas_register_ports()
|
D | sas_event.c | 116 struct asd_sas_port *port = ha->sas_port[i]; in sas_enable_revalidation()
|
D | sas_internal.h | 94 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port);
|
D | sas_init.c | 447 struct asd_sas_port *port = ha->sas_port[i]; in sas_suspend_ha()
|
/Linux-v4.19/Documentation/scsi/ |
D | libsas.txt | 97 port -- this points to the sas_port if the phy belongs 99 sas_port this phy is part of. Set by the SAS Layer. 110 struct sas_port -------------------- 129 struct sas_port sas_ports[MAX_PHYS]; /* (1) */ 143 sas_port 148 and the number of ports present in the sas_port 190 int (*lldd_clear_nexus_port)(struct sas_port *); 211 static struct sas_port *sas_ports[MAX_PHYS]; 221 my_ha->sas_ha.sas_port = sas_ports;
|
/Linux-v4.19/drivers/message/fusion/ |
D | mptsas.h | 153 struct sas_port *port; /* transport layer port object */
|
/Linux-v4.19/drivers/scsi/pm8001/ |
D | pm8001_init.c | 556 sha->sas_port = arr_port; in pm8001_prep_sas_ha_init() 593 sha->sas_port[i] = &pm8001_ha->port[i].sas_port; in pm8001_post_sas_ha_init() 1121 kfree(sha->sas_port); in pm8001_pci_remove()
|
/Linux-v4.19/drivers/scsi/aic94xx/ |
D | aic94xx_init.c | 696 asd_ha->sas_ha.sas_port= sas_ports; in asd_register_sas_ha() 712 kfree(asd_ha->sas_ha.sas_port); in asd_unregister_sas_ha()
|
/Linux-v4.19/drivers/scsi/isci/ |
D | init.c | 257 sas_ha->sas_port = sas_ports; in isci_register_sas_ha()
|