/linux-master/drivers/scsi/mvsas/ |
H A D | mv_init.c | 69 phy->port = NULL; 213 mvi->port[i].wide_port_phymap = 0; 214 mvi->port[i].port_attached = 0; 215 INIT_LIST_HEAD(&mvi->port[i].list); 438 &mvi->port[i].sas_port;
|
/linux-master/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_transport.c | 64 * _transport_get_port_id_by_sas_phy - get zone's port id that Phy belong to 73 struct hba_port *port = phy->hostdata; local 75 if (port) 76 port_id = port->port_id; 85 * @port: hba port entry 93 u64 sas_address, struct hba_port *port) 99 sas_address, port); 127 port_id = sas_expander->port->port_id; 136 port_id = sas_device->port 92 _transport_sas_node_find_by_sas_address(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, struct hba_port *port) argument 505 struct hba_port *port = mpt3sas_port->hba_port; local 576 mpt3sas_transport_add_phy_to_an_existing_port(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_node, struct _sas_phy *mpt3sas_phy, u64 sas_address, struct hba_port *port) argument 654 _transport_sanity_check(struct MPT3SAS_ADAPTER *ioc, struct _sas_node *sas_node, u64 sas_address, struct hba_port *port) argument 693 struct sas_port *port; local 890 mpt3sas_transport_port_remove(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, u64 sas_address_parent, struct hba_port *port) argument 1163 mpt3sas_transport_update_links(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, u16 handle, u8 phy_number, u8 link_rate, struct hba_port *port) argument 1426 struct hba_port *port = phy->hostdata; local 1714 struct hba_port *port = phy->hostdata; local 1774 struct hba_port *port = phy->hostdata; local 1912 struct hba_port *port = phy->hostdata; local [all...] |
H A D | mpt3sas_scsih.c | 206 * @VP_ID: virtual port id 268 * @VP_ID: virtual port id 375 * mpt3sas_get_port_by_id - get hba port entry corresponding to provided 376 * port number from port list 378 * @port_id: port number 379 * @bypass_dirty_port_flag: when set look the matching hba port entry even 380 * if hba port entry is marked as dirty. 382 * Search for hba port entry corresponding to provided port numbe 389 struct hba_port *port, *port_next; local 440 mpt3sas_get_vphy_by_phy(struct MPT3SAS_ADAPTER *ioc, struct hba_port *port, u32 phy) argument 762 __mpt3sas_get_sdev_by_addr(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, struct hba_port *port) argument 804 mpt3sas_get_sdev_by_addr(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, struct hba_port *port) argument 990 mpt3sas_device_remove_by_sas_address(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, struct hba_port *port) argument 1601 mpt3sas_scsih_expander_find_by_sas_address(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, struct hba_port *port) argument 3860 _scsih_ublock_io_device(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, struct hba_port *port) argument 4085 struct hba_port *port = NULL; local 5946 struct hba_port *port, *port_next, *mport; local 6353 struct hba_port *port, *port_next; local 6386 struct hba_port *port, *port_next; local 6520 struct hba_port *port; local 6570 struct hba_port *port; local 6707 struct hba_port *port; local 7045 mpt3sas_expander_remove(struct MPT3SAS_ADAPTER *ioc, u64 sas_address, struct hba_port *port) argument 7190 struct hba_port *port; local 7584 struct hba_port *port; local 9709 struct hba_port *port = mpt3sas_get_port_by_id( local 10137 struct hba_port *port = mpt3sas_get_port_by_id( local 10190 u8 port; local 11251 struct hba_port *port, *port_next; local 11412 struct hba_port *port; local [all...] |
H A D | mpt3sas_base.c | 7285 * _base_get_port_facts - obtain port facts reply and save in ioc 7287 * @port: ? 7292 _base_get_port_facts(struct MPT3SAS_ADAPTER *ioc, int port) argument 7305 mpi_request.PortNumber = port; 7314 pfacts = &ioc->pfacts[port]; 7596 * mpt3sas_port_enable_done - command completion routine for port enable 7660 ioc_info(ioc, "sending port enable !!\n"); 7704 ioc_info(ioc, "port enable: %s\n", r == 0 ? "SUCCESS" : "FAILED"); 7720 ioc_info(ioc, "sending port enable !!\n"); 8939 /* If this hard reset is called while port enabl [all...] |
/linux-master/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_transport.c | 121 * @port_id: ID of the HBA port 184 "sending report manufacturer SMP request to sas_address(0x%016llx), port(%d)\n", 327 * @hba_port: HBA port entry 329 * This searches for target device from sas address and hba port 356 * @hba_port: HBA port entry 358 * This searches for target device from sas address and hba port 387 * @hba_port: HBA port entry 390 * port pointer then removes it from the OS. 455 * @hba_port: HBA port entry 484 * @hba_port: HBA port entr 1023 struct mpi3mr_hba_port *port, *port_next; local 1312 struct sas_port *port; local [all...] |
H A D | mpi3mr_os.c | 1462 "number of slots(%d), port(%d), flags(0x%04x), present(%d)\n", 1560 "%s :\texpander_handle(0x%04x), port(%d), enclosure_handle(0x%04x) start_phy(%02d), num_entries(%d)\n", 4239 * Issue port enable request asynchronously. 4250 ioc_err(mrioc, "%s :Issuing port enable failed\n", __func__); 4261 * Checks whether the port enable is completed or timedout or 4276 ioc_err(mrioc, "port enable failed due to fault or reset\n"); 4286 ioc_err(mrioc, "port enable failed due to time out\n"); 4301 "port enable failed with status=0x%04x\n", 4304 ioc_info(mrioc, "port enable is successfully completed\n"); 5242 struct mpi3mr_hba_port *port, *hba_port_nex local [all...] |
H A D | mpi3mr.h | 485 /* HBA port flags */ 493 * struct mpi3mr_hba_port - HBA's port information 495 * @flags: HBA port flags 504 * struct mpi3mr_sas_port - Internal SAS port information 506 * @num_phys: Number of phys associated with port 508 * @lowest_phy: lowest phy ID of current sas port 509 * @phy_mask: phy_mask of current sas port 510 * @hba_port: HBA port entry 513 * @port: SAS transport layer port objec 525 struct sas_port *port; member in struct:mpi3mr_sas_port [all...] |
/linux-master/drivers/scsi/mpi3mr/mpi/ |
H A D | mpi30_ioc.h | 601 u8 port; member in struct:mpi3_event_data_pcie_error_threshold
|
H A D | mpi30_cnfg.h | 2201 struct mpi3_pcieswitch2_port_element port[MPI3_PCIESWITCH2_MAX_NUM_PORTS]; member in struct:mpi3_pcie_switch_page2
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 3210 * with the port that sent the LS, and then calls the appropriate nvme host 3694 * the ring lock held because this function is an SLI4 port only helper. 4086 * Idle exchange closed via ABTS from port. No iocb 4139 * pointer in SLIM. If the port response put pointer has not 4140 * been updated, sync the pgp->rspPutInx and fetch the new port 4471 * If the port response put pointer has not been updated, sync 4472 * the pgp->rspPutInx in the MAILBOX_tand fetch the new port 5562 * lpfc_sli_config_port - Issue config port mailbox command 5666 phba->port_gp = phba->mbox->us.s3_pgp.port; 5679 phba->port_gp = phba->mbox->us.s2.port; [all...] |
/linux-master/drivers/scsi/libsas/ |
H A D | sas_scsi_host.c | 78 task->dev->port->ha->sas_ha_name); 103 struct sas_ha_struct *ha = dev->port->ha; 255 struct asd_sas_port *port) 261 struct asd_sas_port *x = dev->port; 263 if (x == port) 281 to_sas_internal(task->dev->port->ha->shost->transportt); 329 to_sas_internal(dev->port->ha->shost->transportt); 357 to_sas_internal(dev->port->ha->shost->transportt); 371 struct sas_ha_struct *ha = dev->port->ha; 391 struct sas_ha_struct *ha = dev->port 254 sas_scsi_clear_queue_port(struct list_head *error_q, struct asd_sas_port *port) argument 610 struct asd_sas_port *port = task->dev->port; local 772 struct asd_sas_port *port = ha->sas_port[i]; local [all...] |
H A D | sas_internal.h | 47 void sas_unregister_domain_devices(struct asd_sas_port *port, int gone); 48 void sas_init_disc(struct sas_discovery *disc, struct asd_sas_port *port); 49 void sas_discover_event(struct asd_sas_port *port, enum discover_event ev); 52 void sas_unregister_dev(struct asd_sas_port *port, struct domain_device *dev); 91 void sas_device_set_phy(struct domain_device *dev, struct sas_port *port); 102 void sas_destruct_devices(struct asd_sas_port *port); 131 static inline bool sas_phy_match_port_addr(struct asd_sas_port *port, argument 134 return SAS_ADDR(port->sas_addr) == SAS_ADDR(phy->attached_sas_addr); 148 sas_unregister_dev(dev->port, dev);
|
H A D | sas_expander.c | 29 static void sas_port_add_ex_phy(struct sas_port *port, struct ex_phy *ex_phy) argument 31 sas_port_add_phy(port, ex_phy->phy); 32 ex_phy->port = port; 62 to_sas_internal(dev->port->ha->shost->transportt); 63 struct sas_ha_struct *ha = dev->port->ha; 207 struct sas_ha_struct *ha = dev->port->ha; 339 set_bit(DISCE_REVALIDATE_DOMAIN, &dev->port->disc.pending); 355 if (!ex_phy->port) 358 rphy = ex_phy->port 642 sas_dev_present_in_domain(struct asd_sas_port *port, u8 *sas_addr) argument 748 struct sas_port *port; local 897 struct asd_sas_port *port; local 1582 sas_ex_level_discovery(struct asd_sas_port *port, const int level) argument 1603 sas_ex_bfs_disc(struct asd_sas_port *port) argument 1831 sas_unregister_ex_tree(struct asd_sas_port *port, struct domain_device *dev) argument [all...] |
H A D | sas_ata.c | 79 struct sas_ha_struct *sas_ha = dev->port->ha; 109 /* if eh is not involved and the port is frozen then the 164 struct sas_ha_struct *sas_ha = dev->port->ha; 240 return to_sas_internal(dev->port->ha->shost->transportt); 496 * has decided to kill the qc and has frozen the port. 525 struct sas_ha_struct *ha = dev->port->ha; 538 struct sas_ha_struct *ha = dev->port->ha; 586 struct sas_ha_struct *ha = found_dev->port->ha; 646 void sas_probe_sata(struct asd_sas_port *port) argument 650 mutex_lock(&port 736 sas_ata_flush_pm_eh(struct asd_sas_port *port, const char *func) argument 752 sas_suspend_sata(struct asd_sas_port *port) argument 774 sas_resume_sata(struct asd_sas_port *port) argument 844 struct asd_sas_port *port = sas_ha->sas_port[i]; local [all...] |
/linux-master/drivers/scsi/ |
H A D | imm.c | 3 * parallel port SCSI host adapter. 37 int base; /* Actual port address */ 72 dev->base = dev->dev->port->base; 149 seq_printf(m, "Parport : %s\n", dev->dev->port->name); 594 int modes = dev->dev->port->modes; 632 * The driver appears to remain stable if we speed up the parallel port 1120 * Parallel port probing routines * 1193 "a pardevice is owning the port for too long " 1202 dev->base = dev->dev->port->base; 1203 dev->base_hi = dev->dev->port [all...] |
H A D | hpsa.c | 9594 sas_port_delete_phy(hpsa_sas_phy->parent_port->port, phy); 9627 sas_port_add_phy(hpsa_sas_port->port, hpsa_sas_phy->phy); 9655 struct sas_port *port; local 9664 port = sas_port_alloc_num(hpsa_sas_node->parent_dev); 9665 if (!port) 9668 rc = sas_port_add(port); 9672 hpsa_sas_port->port = port; 9680 sas_port_free(port); 9696 sas_port_delete(hpsa_sas_port->port); [all...] |
/linux-master/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v3_hw.c | 827 struct asd_sas_port *sas_port = device->port; 828 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); local 858 (port->id << ITCT_HDR_PORT_ID_OFF)); 1264 struct hisi_sas_port *port = slot->port; local 1275 (port->id << CMD_HDR_PORT_OFF) | 1385 struct hisi_sas_port *port = slot->port; local 1398 hdr->dw0 = cpu_to_le32((port->id << CMD_HDR_PORT_OFF) | 1426 struct asd_sas_port *sas_port = device->port; 1427 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); local 1504 struct hisi_sas_port *port = slot->port; local 3457 const struct hisi_sas_debugfs_reg *port = &debugfs_port_reg; local 3609 struct hisi_sas_debugfs_port *port = s->private; local 4563 struct hisi_sas_debugfs_port *port = local [all...] |
H A D | hisi_sas_v2_hw.c | 841 struct hisi_hba *hisi_hba = device->port->ha->lldd_ha; 929 struct asd_sas_port *sas_port = device->port; 930 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); local 960 (port->id << ITCT_HDR_PORT_ID_OFF)); 1702 struct hisi_sas_port *port = slot->port; local 1715 hdr->dw0 = cpu_to_le32((port->id << CMD_HDR_PORT_OFF) | 1742 struct hisi_sas_port *port = slot->port; local 1752 (port 2501 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); local 2582 struct hisi_sas_port *port = slot->port; local 2620 struct hisi_sas_port *port = slot->port; local 2732 struct hisi_sas_port *port = phy->port; local [all...] |
H A D | hisi_sas_v1_hw.c | 497 struct asd_sas_port *sas_port = device->port; 498 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); local 520 (port->id << ITCT_HDR_PORT_ID_OFF)); 919 struct hisi_sas_port *port = slot->port; local 932 hdr->dw0 = cpu_to_le32((port->id << CMD_HDR_PORT_OFF) | 958 struct hisi_sas_port *port = slot->port; local 969 (port->id << CMD_HDR_PORT_OFF) | 1206 dev_dbg(dev, "slot complete: port ha [all...] |
H A D | hisi_sas_main.c | 137 return device->port->ha->lldd_ha; 465 struct asd_sas_port *sas_port = device->port; 469 struct hisi_sas_port *port; local 482 * libsas will use dev->port, should 518 port = to_hisi_sas_port(sas_port); 519 if (!port->port_attached) { 520 dev_info(dev, "task prep: %s port%d not attach device\n", 522 device->port->id); 566 port = to_hisi_sas_port(sas_port); 597 slot->port 1069 struct hisi_sas_port *port; local 1353 struct hisi_sas_port *port; local 1481 struct hisi_sas_port *port = &hisi_hba->port[port_no]; local 2065 struct hisi_sas_port *port = phy->port; local [all...] |
H A D | hisi_sas.h | 174 struct hisi_sas_port *port; member in struct:hisi_sas_phy 238 struct hisi_sas_port *port; member in struct:hisi_sas_slot 430 struct hisi_sas_port port[HISI_SAS_MAX_PHYS]; member in struct:hisi_hba
|
/linux-master/drivers/scsi/cxlflash/ |
H A D | superpipe.c | 1975 u32 port = CHAN2PORTMASK(sdev->channel); local 2007 rht_format1(rhte, lli->lun_id[sdev->channel], ctxi->rht_perms, port);
|
H A D | main.c | 893 dev_dbg(dev, "%s: port %d shutdown processing " 1088 * set_port_online() - transitions the specified host FC port to online state 1089 * @fc_regs: Top of MMIO region defined for specified port. 1106 * set_port_offline() - transitions the specified host FC port to offline state 1107 * @fc_regs: Top of MMIO region defined for specified port. 1122 * wait_port_online() - waits for the specified host FC port come online 1123 * @fc_regs: Top of MMIO region defined for specified port. 1124 * @delay_us: Number of microseconds to delay between reading port status. 1125 * @nretry: Number of cycles to retry reading port status. 1131 * TRUE (1) when the specified port i 1193 afu_set_wwpn(struct afu *afu, int port, __be64 __iomem *fc_regs, u64 wwpn) argument 1229 afu_link_reset(struct afu *afu, int port, __be64 __iomem *fc_regs) argument 1555 u8 port; local 2560 cxlflash_show_port_status(u32 port, struct cxlflash_cfg *cfg, char *buf) argument 2758 cxlflash_show_port_lun_table(u32 port, struct cxlflash_cfg *cfg, char *buf) argument 3208 int port; local 3295 u16 port = lunprov->port; local [all...] |
/linux-master/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_tgt.c | 20 struct fcoe_port *port, 57 * port will be logged off, and conn_id, session 80 static void bnx2fc_offload_session(struct fcoe_port *port, argument 85 struct bnx2fc_interface *interface = port->priv; 92 rval = bnx2fc_init_tgt(tgt, port, rdata); 113 rval = bnx2fc_send_session_ofld_req(port, tgt); 142 rval = bnx2fc_send_session_enable_req(port, tgt); 268 printk(KERN_ERR PFX "CLEANUP on port 0x%x:" 289 static void bnx2fc_upload_session(struct fcoe_port *port, argument 292 struct bnx2fc_interface *interface = port 348 bnx2fc_init_tgt(struct bnx2fc_rport *tgt, struct fcoe_port *port, struct fc_rport_priv *rdata) argument 441 struct fcoe_port *port = lport_priv(lport); local 576 bnx2fc_tgt_lookup(struct fcoe_port *port, u32 port_id) argument [all...] |
/linux-master/drivers/scsi/bfa/ |
H A D | bfad_debugfs.c | 45 struct bfad_port_s *port = inode->i_private; local 46 struct bfad_s *bfad = port->bfad; 64 struct bfad_port_s *port = inode->i_private; local 65 struct bfad_s *bfad = port->bfad; 106 struct bfad_port_s *port = inode->i_private; local 107 struct bfad_s *bfad = port->bfad; 218 struct bfad_port_s *port = (struct bfad_port_s *)regrd_debug->i_private; local 219 struct bfad_s *bfad = port->bfad; 242 struct bfad_port_s *port = (struct bfad_port_s *)regrd_debug->i_private; local 243 struct bfad_s *bfad = port 311 struct bfad_port_s *port = (struct bfad_port_s *)debug->i_private; local 440 bfad_debugfs_init(struct bfad_port_s *port) argument 479 bfad_debugfs_exit(struct bfad_port_s *port) argument [all...] |