Lines Matching +full:port +full:- +full:expander
6 * Copyright (C) 2012-2014 LSI Corporation
7 * Copyright (C) 2013-2014 Avago Technologies
8 * (mailto: MPT-FusionLinux.pdl@avagotech.com)
23 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
42 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
78 #define MPT3SAS_AUTHOR "Avago Technologies <MPT-FusionLinux.pdl@avagotech.com>"
100 #define MPT3SAS_TIMESYNC_MASK (0x7F) /* 0 - 6 bits */
183 pr_err("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
185 pr_notice("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
187 pr_warn("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
189 pr_info("%s: " fmt, (ioc)->name, ##__VA_ARGS__)
213 /* Atlas PCIe Switch Management Port */
301 "Cisco 9300-8E 12G SAS HBA"
303 "Cisco 9300-8i 12G SAS HBA"
317 * status bits for ioc->diag_buffer_status
396 U32 Reserved5[18]; /* 24h - 60h*/
408 __le32 Reserved5[8]; /* 0Ch-2Ch */
412 __le32 Reserved7[7]; /* 30h - 4Bh */
426 * struct MPT3SAS_TARGET - starget private hostdata
435 * @port: hba port entry containing target's port number info
448 struct hba_port *port; member
465 * struct MPT3SAS_DEVICE - sdev private hostdata
509 * struct _internal_cmd - internal commands struct
529 * struct _sas_device - attached device information
535 * @sas_address_parent: sas address of parent expander or sas host
552 * @port: hba port entry containing device's port number info
582 struct hba_port *port; member
588 kref_get(&s->refcount); in sas_device_get()
598 kref_put(&s->refcount, sas_device_free); in sas_device_put()
602 * struct _pcie_device - attached PCIe device information
611 * @port_num: port number
649 * pcie_device_get - Increment the pcie device reference count
659 kref_get(&p->refcount); in pcie_device_get()
663 * pcie_device_free - Release the pcie device object
664 * @r - kref object
675 * pcie_device_put - Decrement the pcie device reference count
687 kref_put(&p->refcount, pcie_device_free); in pcie_device_put()
690 * struct _raid_device - raid volume link list
736 * struct _boot_device - boot device info
748 * struct _sas_port - wide/narrow sas port information
749 * @port_list: list of ports belonging to expander
750 * @num_phys: number of phys belonging to this port
753 * @port: sas transport wide/narrow port object
754 * @hba_port: hba port entry containing port's port number info
755 * @phy_list: _sas_phy list objects belonging to this port
762 struct sas_port *port; member
768 * struct _sas_phy - phy information
769 * @port_siblings: list of phys belonging to a port
776 * @phy_belongs_to_port: port has been created for this phy
777 * @port: hba port entry containing port number info
789 struct hba_port *port; member
793 * struct _sas_node - sas_host/expander information
796 * @num_phys: number phys belonging to this sas_host/expander
797 * @sas_address: sas address of this sas_host/expander
798 * @handle: handle for this sas_host/expander
799 * @sas_address_parent: sas address of parent expander or sas host
801 * @device_info: bitwise defining capabilities of this sas_host/expander
804 * @phy: a list of phys that make up this sas_host/expander
805 * @sas_port_list: list of ports attached to this sas_host/expander
806 * @port: hba port entry containing node's port number info
807 * @rphy: sas_rphy object of this expander
820 struct hba_port *port; member
827 * struct _enclosure_node - enclosure information
837 * enum reset_type - reset state
847 * struct pcie_sg_list - PCIe SGL buffer (contiguous per I/O)
857 * struct chain_tracker - firmware chain tracker
860 * @tracker_list: list of free request (ioc->free_chain_list)
873 * struct scsiio_tracker - scsi mf request tracker
891 * struct request_tracker - firmware request tracker
894 * @tracker_list: list of free request (ioc->free_list)
903 * struct _tr_list - target reset list
914 * struct _sc_list - delayed SAS_IO_UNIT_CONTROL message list
923 * struct _event_ack_list - delayed event acknowledgment list
934 * struct adapter_reply_queue - the reply queue struct
965 * struct io_uring_poll_queue - the io uring poll queue structure
1005 /* IOC Facts and Port Facts converted from little endian to cpu */
1059 * struct virtual_phy - vSES phy structure
1074 * struct hba_port - Saves each HBA's Wide/Narrow port info
1075 * @sas_address: sas address of this wide/narrow port's attached device
1076 * @phy_mask: HBA PHY's belonging to this port
1077 * @port_id: port number
1078 * @flags: hba port flags
1092 /* hba port flags */
1099 * struct htb_rel_query - diagnostic buffer release reason
1100 * @unique_id - unique id associated with this buffer.
1101 * @buffer_rel_condition - Release condition ioctl/sysfs/reset
1103 * @trigger_type - Master/Event/scsi/MPI
1104 * @trigger_info_dwords - Data Correspondig to trigger type
1115 /* Bit 0 - Diag Buffer not Released */
1117 /* Bit 0 - Diag Buffer Released */
1121 * Bit 1 - Diag Buffer Released by IOCTL,
1127 * Bit 2 - Diag Buffer Released by Trigger,
1133 * Bit 3 - Diag Buffer Released by SysFs,
1144 * struct MPT3SAS_ADAPTER - per adapter struct
1181 * @port_enable_failed: flag set when port enable has failed
1183 * @start_scan_failed: means port enable failed, return's the ioc_status
1189 * @ioc_coredump_loop: will have non-zero value when FW is in CoreDump state
1230 * @pfacts: static port facts data
1240 * @sas_expander_list: expander object list
1312 * @msix96_vector: 96 MSI-X vector support
1328 * @port_table_list: list containing HBA's wide/narrow port's info
1336 char driver_name[MPT_NAME_LENGTH - 8];
1472 /* sas hba, expander, and device list */
1535 /* hi-priority queue */
1654 * struct ATTO_SAS_NVRAM - ATTO NVRAM settings stored
1722 /* hi-priority queue */
1746 do { pr_err("%s fault info from func: %s\n", ioc->name, __func__); \
1751 do { pr_err("%s fault info from func: %s\n", ioc->name, __func__); \
1816 struct hba_port *port);
1818 u64 sas_address, struct hba_port *port);
1822 mpt3sas_get_port_by_id(struct MPT3SAS_ADAPTER *ioc, u8 port,
1829 struct hba_port *port);
1832 struct hba_port *port);
1835 struct hba_port *port);
1849 struct hba_port *port, u32 phy);
2007 u16 handle, u64 sas_address, struct hba_port *port);
2009 u64 sas_address_parent, struct hba_port *port);
2017 struct hba_port *port);
2026 u64 sas_address, struct hba_port *port);
2055 * _scsih_is_pcie_scsi_device - determines if device is an pcie scsi device