Lines Matching defs:MPT3SAS_ADAPTER
932 struct MPT3SAS_ADAPTER { struct
933 struct list_head list;
934 struct Scsi_Host *shost;
935 u8 id;
936 int cpu_count;
937 char name[MPT_NAME_LENGTH];
938 char driver_name[MPT_NAME_LENGTH];
939 char tmp_string[MPT_STRING_LENGTH];
940 struct pci_dev *pdev;
941 Mpi2SystemInterfaceRegs_t __iomem *chip;
942 resource_size_t chip_phys;
943 int logging_level;
944 int fwfault_debug;
945 u8 ir_firmware;
946 int bars;
947 u8 mask_interrupts;
948 int dma_mask;
951 char fault_reset_work_q_name[20];
952 struct workqueue_struct *fault_reset_work_q;
953 struct delayed_work fault_reset_work;
956 char firmware_event_name[20];
957 struct workqueue_struct *firmware_event_thread;
958 spinlock_t fw_event_lock;
959 struct list_head fw_event_list;
962 int aen_event_read_flag;
963 u8 broadcast_aen_busy;
964 u16 broadcast_aen_pending;
965 u8 shost_recovery;
967 struct mutex reset_in_progress_mutex;
968 spinlock_t ioc_reset_in_progress_lock;
969 u8 ioc_link_reset_in_progress;
970 u8 ioc_reset_in_progress_status;
972 u8 ignore_loginfos;
973 u8 remove_host;
974 u8 pci_error_recovery;
975 u8 wait_for_discovery_to_complete;
976 u8 is_driver_loading;
977 u8 port_enable_failed;
978 u8 start_scan;
979 u16 start_scan_failed;
981 u8 msix_enable;
982 u16 msix_vector_count;
983 u8 *cpu_msix_table;
984 u16 cpu_msix_table_sz;
985 resource_size_t __iomem **reply_post_host_index;
986 u32 ioc_reset_count;
987 MPT3SAS_FLUSH_RUNNING_CMDS schedule_dead_ioc_flush_running_cmds;
988 u32 non_operational_loop;
991 u8 scsi_io_cb_idx;
992 u8 tm_cb_idx;
993 u8 transport_cb_idx;
994 u8 scsih_cb_idx;
995 u8 ctl_cb_idx;
996 u8 base_cb_idx;
997 u8 port_enable_cb_idx;
998 u8 config_cb_idx;
999 u8 tm_tr_cb_idx;
1000 u8 tm_tr_volume_cb_idx;
1001 u8 tm_sas_control_cb_idx;
1002 struct _internal_cmd base_cmds;
1003 struct _internal_cmd port_enable_cmds;
1004 struct _internal_cmd transport_cmds;
1005 struct _internal_cmd scsih_cmds;
1006 struct _internal_cmd tm_cmds;
1007 struct _internal_cmd ctl_cmds;
1008 struct _internal_cmd config_cmds;
1010 MPT_ADD_SGE base_add_sg_single;
1013 MPT_BUILD_SG_SCMD build_sg_scmd;
1014 MPT_BUILD_SG build_sg;
1015 MPT_BUILD_ZERO_LEN_SGE build_zero_len_sge;
1016 u16 sge_size_ieee;
1017 u16 hba_mpi_version_belonged;
1020 MPT_BUILD_SG build_sg_mpi;
1021 MPT_BUILD_ZERO_LEN_SGE build_zero_len_sge_mpi;
1024 u32 event_type[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS];
1025 u32 event_context;
1026 void *event_log;
1027 u32 event_masks[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS];
1030 struct mpt3sas_facts facts;
1031 struct mpt3sas_port_facts *pfacts;
1032 Mpi2ManufacturingPage0_t manu_pg0;
1033 struct Mpi2ManufacturingPage10_t manu_pg10;
1034 struct Mpi2ManufacturingPage11_t manu_pg11;
1035 Mpi2BiosPage2_t bios_pg2;
1036 Mpi2BiosPage3_t bios_pg3;
1037 Mpi2IOCPage8_t ioc_pg8;
1038 Mpi2IOUnitPage0_t iounit_pg0;
1039 Mpi2IOUnitPage1_t iounit_pg1;
1040 Mpi2IOUnitPage8_t iounit_pg8;
1042 struct _boot_device req_boot_device;
1043 struct _boot_device req_alt_boot_device;
1044 struct _boot_device current_boot_device;
1047 struct _sas_node sas_hba;
1048 struct list_head sas_expander_list;
1049 spinlock_t sas_node_lock;
1050 struct list_head sas_device_list;
1051 struct list_head sas_device_init_list;
1052 spinlock_t sas_device_lock;
1053 struct list_head raid_device_list;
1054 spinlock_t raid_device_lock;
1055 u8 io_missing_delay;
1056 u16 device_missing_delay;
1057 int sas_id;
1059 void *blocking_handles;
1060 void *pd_handles;
1061 u16 pd_handles_sz;
1064 u16 config_page_sz;
1065 void *config_page;
1066 dma_addr_t config_page_dma;
1069 u16 hba_queue_depth;
1070 u16 sge_size;
1071 u16 scsiio_depth;
1072 u16 request_sz;
1073 u8 *request;
1074 dma_addr_t request_dma;
1075 u32 request_dma_sz;
1076 struct scsiio_tracker *scsi_lookup;
1077 ulong scsi_lookup_pages;
1078 spinlock_t scsi_lookup_lock;
1079 struct list_head free_list;
1080 int pending_io_count;
1081 wait_queue_head_t reset_wq;
1084 struct chain_tracker *chain_lookup;
1085 struct list_head free_chain_list;
1086 struct dma_pool *chain_dma_pool;
1087 ulong chain_pages;
1088 u16 max_sges_in_main_message;
1089 u16 max_sges_in_chain_message;
1090 u16 chains_needed_per_io;
1091 u32 chain_depth;
1094 u16 hi_priority_smid;
1095 u8 *hi_priority;
1096 dma_addr_t hi_priority_dma;
1097 u16 hi_priority_depth;
1098 struct request_tracker *hpr_lookup;
1099 struct list_head hpr_free_list;
1102 u16 internal_smid;
1103 u8 *internal;
1104 dma_addr_t internal_dma;
1105 u16 internal_depth;
1106 struct request_tracker *internal_lookup;
1107 struct list_head internal_free_list;
1110 u8 *sense;
1111 dma_addr_t sense_dma;
1112 struct dma_pool *sense_dma_pool;
1115 u16 reply_sz;
1116 u8 *reply;
1117 dma_addr_t reply_dma;
1118 u32 reply_dma_max_address;
1119 u32 reply_dma_min_address;
1120 struct dma_pool *reply_dma_pool;
1123 u16 reply_free_queue_depth;
1124 __le32 *reply_free;
1125 dma_addr_t reply_free_dma;
1126 struct dma_pool *reply_free_dma_pool;
1127 u32 reply_free_host_index;
1130 u16 reply_post_queue_depth;
1131 struct reply_post_struct *reply_post;
1132 u8 rdpq_array_capable;
1133 u8 rdpq_array_enable;
1134 u8 rdpq_array_enable_assigned;
1135 struct dma_pool *reply_post_free_dma_pool;
1136 u8 reply_queue_count;
1137 struct list_head reply_queue_list;
1139 u8 msix96_vector;
1141 resource_size_t **replyPostRegisterIndex;
1143 struct list_head delayed_tr_list;
1144 struct list_head delayed_tr_volume_list;
1145 u8 temp_sensors_count;
1146 struct mutex pci_access_mutex;
1170 typedef u8 (*MPT_CALLBACK)(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, argument