sas_port 504 drivers/message/fusion/mptsas.c static inline struct sas_port * sas_port 514 drivers/message/fusion/mptsas.c mptsas_set_port(MPT_ADAPTER *ioc, struct mptsas_phyinfo *phy_info, struct sas_port *port) sas_port 1419 drivers/message/fusion/mptsas.c struct sas_port *port; sas_port 1495 drivers/message/fusion/mptsas.c struct sas_port *port; sas_port 3036 drivers/message/fusion/mptsas.c struct sas_port *port; sas_port 3517 drivers/message/fusion/mptsas.c struct sas_port *port; sas_port 153 drivers/message/fusion/mptsas.h struct sas_port *port; /* transport layer port object */ sas_port 674 drivers/scsi/aic94xx/aic94xx_init.c asd_ha->sas_ha.sas_port= sas_ports; sas_port 690 drivers/scsi/aic94xx/aic94xx_init.c kfree(asd_ha->sas_ha.sas_port); sas_port 173 drivers/scsi/hisi_sas/hisi_sas.h struct asd_sas_port sas_port; sas_port 566 drivers/scsi/hisi_sas/hisi_sas.h extern struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port); sas_port 142 drivers/scsi/hisi_sas/hisi_sas_main.c struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port) sas_port 144 drivers/scsi/hisi_sas/hisi_sas_main.c return container_of(sas_port, struct hisi_sas_port, sas_port); sas_port 420 drivers/scsi/hisi_sas/hisi_sas_main.c struct asd_sas_port *sas_port = device->port; sas_port 448 drivers/scsi/hisi_sas/hisi_sas_main.c port = to_hisi_sas_port(sas_port); sas_port 569 drivers/scsi/hisi_sas/hisi_sas_main.c struct asd_sas_port *sas_port = device->port; sas_port 572 drivers/scsi/hisi_sas/hisi_sas_main.c if (!sas_port) { sas_port 976 drivers/scsi/hisi_sas/hisi_sas_main.c struct asd_sas_port *sas_port = sas_phy->port; sas_port 980 drivers/scsi/hisi_sas/hisi_sas_main.c if (!sas_port) sas_port 983 drivers/scsi/hisi_sas/hisi_sas_main.c port = to_hisi_sas_port(sas_port); sas_port 988 drivers/scsi/hisi_sas/hisi_sas_main.c sas_port->lldd_port = port; sas_port 1371 drivers/scsi/hisi_sas/hisi_sas_main.c struct asd_sas_port *sas_port; sas_port 1380 drivers/scsi/hisi_sas/hisi_sas_main.c sas_port = device->port; sas_port 1381 drivers/scsi/hisi_sas/hisi_sas_main.c port = to_hisi_sas_port(sas_port); sas_port 1383 drivers/scsi/hisi_sas/hisi_sas_main.c list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el) sas_port 1411 drivers/scsi/hisi_sas/hisi_sas_main.c struct asd_sas_port *sas_port = sas_phy->port; sas_port 1412 drivers/scsi/hisi_sas/hisi_sas_main.c bool do_port_check = !!(_sas_port != sas_port); sas_port 1419 drivers/scsi/hisi_sas/hisi_sas_main.c if (do_port_check && sas_port && sas_port->port_dev) { sas_port 1420 drivers/scsi/hisi_sas/hisi_sas_main.c struct domain_device *dev = sas_port->port_dev; sas_port 1422 drivers/scsi/hisi_sas/hisi_sas_main.c _sas_port = sas_port; sas_port 1453 drivers/scsi/hisi_sas/hisi_sas_main.c struct asd_sas_port *sas_port, sas_port 1467 drivers/scsi/hisi_sas/hisi_sas_main.c list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el) { sas_port 1507 drivers/scsi/hisi_sas/hisi_sas_main.c struct asd_sas_port *sas_port = &port->sas_port; sas_port 1508 drivers/scsi/hisi_sas/hisi_sas_main.c struct domain_device *port_dev = sas_port->port_dev; sas_port 1515 drivers/scsi/hisi_sas/hisi_sas_main.c list_for_each_entry(device, &sas_port->dev_list, sas_port 1519 drivers/scsi/hisi_sas/hisi_sas_main.c sas_port, sas_port 1942 drivers/scsi/hisi_sas/hisi_sas_main.c struct asd_sas_port *sas_port = device->port; sas_port 1954 drivers/scsi/hisi_sas/hisi_sas_main.c port = to_hisi_sas_port(sas_port); sas_port 2639 drivers/scsi/hisi_sas/hisi_sas_main.c sha->sas_port = arr_port; sas_port 2664 drivers/scsi/hisi_sas/hisi_sas_main.c sha->sas_port[i] = &hisi_hba->port[i].sas_port; sas_port 497 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c struct asd_sas_port *sas_port = device->port; sas_port 498 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c struct hisi_sas_port *port = to_hisi_sas_port(sas_port); sas_port 1304 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c slot->port->sas_port.id); sas_port 931 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c struct asd_sas_port *sas_port = device->port; sas_port 932 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c struct hisi_sas_port *port = to_hisi_sas_port(sas_port); sas_port 2449 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c slot->port->sas_port.id); sas_port 2490 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c struct asd_sas_port *sas_port = device->port; sas_port 2491 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c struct hisi_sas_port *port = to_hisi_sas_port(sas_port); sas_port 2578 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c asd_sas_port = &port->sas_port; sas_port 754 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c struct asd_sas_port *sas_port = device->port; sas_port 755 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c struct hisi_sas_port *port = to_hisi_sas_port(sas_port); sas_port 1337 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c struct asd_sas_port *sas_port = device->port; sas_port 1338 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c struct hisi_sas_port *port = to_hisi_sas_port(sas_port); sas_port 2260 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c slot->port->sas_port.id); sas_port 3208 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c sha->sas_port = arr_port; sas_port 3228 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c sha->sas_port[i] = &hisi_hba->port[i].sas_port; sas_port 9603 drivers/scsi/hpsa.c struct sas_port *port; sas_port 9686 drivers/scsi/hpsa.c if (!device->sas_port) sas_port 9688 drivers/scsi/hpsa.c if (device->sas_port->rphy == rphy) sas_port 9762 drivers/scsi/hpsa.c device->sas_port = hpsa_sas_port; sas_port 9772 drivers/scsi/hpsa.c device->sas_port = NULL; sas_port 9779 drivers/scsi/hpsa.c if (device->sas_port) { sas_port 9780 drivers/scsi/hpsa.c hpsa_free_sas_port(device->sas_port); sas_port 9781 drivers/scsi/hpsa.c device->sas_port = NULL; sas_port 46 drivers/scsi/hpsa.h struct sas_port *port; sas_port 111 drivers/scsi/hpsa.h struct hpsa_sas_port *sas_port; sas_port 256 drivers/scsi/isci/init.c sas_ha->sas_port = sas_ports; sas_port 756 drivers/scsi/libsas/sas_ata.c struct asd_sas_port *port = sas_ha->sas_port[i]; sas_port 361 drivers/scsi/libsas/sas_discover.c struct sas_port *sas_port, *p; sas_port 363 drivers/scsi/libsas/sas_discover.c list_for_each_entry_safe(sas_port, p, &port->sas_port_del_list, del_list) { sas_port 364 drivers/scsi/libsas/sas_discover.c list_del_init(&sas_port->del_list); sas_port 365 drivers/scsi/libsas/sas_discover.c sas_port_delete(sas_port); sas_port 403 drivers/scsi/libsas/sas_discover.c void sas_device_set_phy(struct domain_device *dev, struct sas_port *port) sas_port 99 drivers/scsi/libsas/sas_event.c struct asd_sas_port *port = ha->sas_port[i]; sas_port 749 drivers/scsi/libsas/sas_expander.c struct sas_port *port; sas_port 432 drivers/scsi/libsas/sas_init.c struct asd_sas_port *port = ha->sas_port[i]; sas_port 81 drivers/scsi/libsas/sas_internal.h void sas_device_set_phy(struct domain_device *dev, struct sas_port *port); sas_port 108 drivers/scsi/libsas/sas_port.c port = sas_ha->sas_port[i]; sas_port 122 drivers/scsi/libsas/sas_port.c port = sas_ha->sas_port[i]; sas_port 338 drivers/scsi/libsas/sas_port.c struct asd_sas_port *port = sas_ha->sas_port[i]; sas_port 804 drivers/scsi/libsas/sas_scsi_host.c struct asd_sas_port *port = ha->sas_port[i]; sas_port 724 drivers/scsi/mpt3sas/mpt3sas_base.h struct sas_port *port; sas_port 614 drivers/scsi/mpt3sas/mpt3sas_transport.c struct sas_port *port; sas_port 421 drivers/scsi/mvsas/mv_init.c sha->sas_port = arr_port; sas_port 457 drivers/scsi/mvsas/mv_init.c sha->sas_port[j * chip_info->n_phy + i] = sas_port 458 drivers/scsi/mvsas/mv_init.c &mvi->port[i].sas_port; sas_port 622 drivers/scsi/mvsas/mv_init.c kfree(sha->sas_port); sas_port 68 drivers/scsi/mvsas/mv_sas.c while (sha->sas_port[i]) { sas_port 69 drivers/scsi/mvsas/mv_sas.c if (sha->sas_port[i] == dev->port) { sas_port 70 drivers/scsi/mvsas/mv_sas.c phy = container_of(sha->sas_port[i]->phy_list.next, sas_port 96 drivers/scsi/mvsas/mv_sas.c while (sha->sas_port[i]) { sas_port 97 drivers/scsi/mvsas/mv_sas.c if (sha->sas_port[i] == dev->port) { sas_port 100 drivers/scsi/mvsas/mv_sas.c &sha->sas_port[i]->phy_list, port_phy_el) { sas_port 307 drivers/scsi/mvsas/mv_sas.c struct asd_sas_port *sas_port = dev->port; sas_port 392 drivers/scsi/mvsas/mv_sas.c buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; sas_port 435 drivers/scsi/mvsas/mv_sas.c struct asd_sas_port *sas_port = dev->port; sas_port 455 drivers/scsi/mvsas/mv_sas.c ((sas_port->phy_mask & TXQ_PHY_MASK) << TXQ_PHY_SHIFT) | sas_port 540 drivers/scsi/mvsas/mv_sas.c buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; sas_port 548 drivers/scsi/mvsas/mv_sas.c MVS_CHIP_DISP->dma_fix(mvi, sas_port->phy_mask, sas_port 563 drivers/scsi/mvsas/mv_sas.c struct asd_sas_port *sas_port = dev->port; sas_port 578 drivers/scsi/mvsas/mv_sas.c sas_port->phy_mask) & TXQ_PHY_MASK; sas_port 648 drivers/scsi/mvsas/mv_sas.c buf_oaf[1] = min(sas_port->linkrate, dev->linkrate) & 0xf; sas_port 1080 drivers/scsi/mvsas/mv_sas.c struct asd_sas_port *sas_port = sas_phy->port; sas_port 1083 drivers/scsi/mvsas/mv_sas.c if (!sas_port) sas_port 1101 drivers/scsi/mvsas/mv_sas.c sas_port->lldd_port = port; sas_port 1103 drivers/scsi/mvsas/mv_sas.c port->wide_port_phymap = sas_port->phy_mask; sas_port 1104 drivers/scsi/mvsas/mv_sas.c mv_printk("set wide port phy map %x\n", sas_port->phy_mask); sas_port 1758 drivers/scsi/mvsas/mv_sas.c "%016llX.\n", slot->port->sas_port.id, slot_idx, sas_port 1804 drivers/scsi/mvsas/mv_sas.c mv_dprintk("port %d has removed.\n", slot->port->sas_port.id); sas_port 196 drivers/scsi/mvsas/mv_sas.h struct asd_sas_port sas_port; sas_port 537 drivers/scsi/pm8001/pm8001_init.c sha->sas_port = arr_port; sas_port 574 drivers/scsi/pm8001/pm8001_init.c sha->sas_port[i] = &pm8001_ha->port[i].sas_port; sas_port 1103 drivers/scsi/pm8001/pm8001_init.c kfree(sha->sas_port); sas_port 243 drivers/scsi/pm8001/pm8001_sas.h struct asd_sas_port sas_port; sas_port 788 drivers/scsi/scsi_transport_sas.c struct sas_port *port = transport_class_to_sas_port(dev); \ sas_port 824 drivers/scsi/scsi_transport_sas.c struct sas_port *port = dev_to_sas_port(dev); sas_port 832 drivers/scsi/scsi_transport_sas.c static void sas_port_create_link(struct sas_port *port, sas_port 850 drivers/scsi/scsi_transport_sas.c static void sas_port_delete_link(struct sas_port *port, sas_port 868 drivers/scsi/scsi_transport_sas.c struct sas_port *sas_port_alloc(struct device *parent, int port_id) sas_port 871 drivers/scsi/scsi_transport_sas.c struct sas_port *port; sas_port 913 drivers/scsi/scsi_transport_sas.c struct sas_port *sas_port_alloc_num(struct device *parent) sas_port 939 drivers/scsi/scsi_transport_sas.c int sas_port_add(struct sas_port *port) sas_port 968 drivers/scsi/scsi_transport_sas.c void sas_port_free(struct sas_port *port) sas_port 982 drivers/scsi/scsi_transport_sas.c void sas_port_delete(struct sas_port *port) sas_port 1031 drivers/scsi/scsi_transport_sas.c struct sas_phy *sas_port_get_phy(struct sas_port *port) sas_port 1062 drivers/scsi/scsi_transport_sas.c void sas_port_add_phy(struct sas_port *port, struct sas_phy *phy) sas_port 1096 drivers/scsi/scsi_transport_sas.c void sas_port_delete_phy(struct sas_port *port, struct sas_phy *phy) sas_port 1106 drivers/scsi/scsi_transport_sas.c void sas_port_mark_backlink(struct sas_port *port) sas_port 1428 drivers/scsi/scsi_transport_sas.c struct sas_rphy *sas_end_device_alloc(struct sas_port *parent) sas_port 1467 drivers/scsi/scsi_transport_sas.c struct sas_rphy *sas_expander_alloc(struct sas_port *parent, sas_port 1506 drivers/scsi/scsi_transport_sas.c struct sas_port *parent = dev_to_sas_port(rphy->dev.parent); sas_port 1601 drivers/scsi/scsi_transport_sas.c struct sas_port *parent = dev_to_sas_port(rphy->dev.parent); sas_port 944 drivers/scsi/smartpqi/smartpqi.h struct pqi_sas_port *sas_port; sas_port 1026 drivers/scsi/smartpqi/smartpqi.h struct sas_port *port; sas_port 1734 drivers/scsi/smartpqi/smartpqi_init.c return device->sas_port != NULL; sas_port 124 drivers/scsi/smartpqi/smartpqi_sas_transport.c struct sas_port *port; sas_port 206 drivers/scsi/smartpqi/smartpqi_sas_transport.c if (!device->sas_port) sas_port 208 drivers/scsi/smartpqi/smartpqi_sas_transport.c if (device->sas_port->rphy == rphy) sas_port 284 drivers/scsi/smartpqi/smartpqi_sas_transport.c device->sas_port = pqi_sas_port; sas_port 294 drivers/scsi/smartpqi/smartpqi_sas_transport.c device->sas_port = NULL; sas_port 301 drivers/scsi/smartpqi/smartpqi_sas_transport.c if (device->sas_port) { sas_port 302 drivers/scsi/smartpqi/smartpqi_sas_transport.c pqi_free_sas_port(device->sas_port); sas_port 303 drivers/scsi/smartpqi/smartpqi_sas_transport.c device->sas_port = NULL; sas_port 117 include/scsi/libsas.h struct sas_port *port; sas_port 134 include/scsi/libsas.h struct sas_port *parent_port; sas_port 276 include/scsi/libsas.h struct sas_port *port; sas_port 388 include/scsi/libsas.h struct asd_sas_port **sas_port; /* array of valid pointers, must be set */ sas_port 163 include/scsi/scsi_transport_sas.h container_of((d), struct sas_port, dev) sas_port 202 include/scsi/scsi_transport_sas.h extern struct sas_rphy *sas_end_device_alloc(struct sas_port *); sas_port 203 include/scsi/scsi_transport_sas.h extern struct sas_rphy *sas_expander_alloc(struct sas_port *, enum sas_device_type); sas_port 210 include/scsi/scsi_transport_sas.h struct sas_port *sas_port_alloc(struct device *, int); sas_port 211 include/scsi/scsi_transport_sas.h struct sas_port *sas_port_alloc_num(struct device *); sas_port 212 include/scsi/scsi_transport_sas.h int sas_port_add(struct sas_port *); sas_port 213 include/scsi/scsi_transport_sas.h void sas_port_free(struct sas_port *); sas_port 214 include/scsi/scsi_transport_sas.h void sas_port_delete(struct sas_port *); sas_port 215 include/scsi/scsi_transport_sas.h void sas_port_add_phy(struct sas_port *, struct sas_phy *); sas_port 216 include/scsi/scsi_transport_sas.h void sas_port_delete_phy(struct sas_port *, struct sas_phy *); sas_port 217 include/scsi/scsi_transport_sas.h void sas_port_mark_backlink(struct sas_port *); sas_port 219 include/scsi/scsi_transport_sas.h struct sas_phy *sas_port_get_phy(struct sas_port *port);