Lines Matching defs:MPT3SAS_ADAPTER

1195 struct MPT3SAS_ADAPTER {  struct
1196 struct list_head list;
1197 struct Scsi_Host *shost;
1198 u8 id;
1199 int cpu_count;
1200 char name[MPT_NAME_LENGTH];
1201 char driver_name[MPT_NAME_LENGTH - 8];
1202 char tmp_string[MPT_STRING_LENGTH];
1203 struct pci_dev *pdev;
1204 Mpi2SystemInterfaceRegs_t __iomem *chip;
1205 phys_addr_t chip_phys;
1206 int logging_level;
1207 int fwfault_debug;
1208 u8 ir_firmware;
1209 int bars;
1210 u8 mask_interrupts;
1213 char fault_reset_work_q_name[20];
1214 struct workqueue_struct *fault_reset_work_q;
1215 struct delayed_work fault_reset_work;
1218 char firmware_event_name[20];
1219 struct workqueue_struct *firmware_event_thread;
1220 spinlock_t fw_event_lock;
1221 struct list_head fw_event_list;
1222 struct fw_event_work *current_event;
1223 u8 fw_events_cleanup;
1226 int aen_event_read_flag;
1227 u8 broadcast_aen_busy;
1228 u16 broadcast_aen_pending;
1229 u8 shost_recovery;
1230 u8 got_task_abort_from_ioctl;
1232 struct mutex reset_in_progress_mutex;
1233 spinlock_t ioc_reset_in_progress_lock;
1234 u8 ioc_link_reset_in_progress;
1236 u8 ignore_loginfos;
1237 u8 remove_host;
1238 u8 pci_error_recovery;
1239 u8 wait_for_discovery_to_complete;
1240 u8 is_driver_loading;
1241 u8 port_enable_failed;
1242 u8 start_scan;
1243 u16 start_scan_failed;
1245 u8 msix_enable;
1246 u16 msix_vector_count;
1247 u8 *cpu_msix_table;
1248 u16 cpu_msix_table_sz;
1249 resource_size_t __iomem **reply_post_host_index;
1250 u32 ioc_reset_count;
1251 MPT3SAS_FLUSH_RUNNING_CMDS schedule_dead_ioc_flush_running_cmds;
1252 u32 non_operational_loop;
1253 u8 ioc_coredump_loop;
1254 atomic64_t total_io_cnt;
1255 atomic64_t high_iops_outstanding;
1256 bool msix_load_balance;
1257 u16 thresh_hold;
1258 u8 high_iops_queues;
1259 u32 drv_support_bitmap;
1260 bool enable_sdev_max_qd;
1261 bool use_32bit_dma;
1264 u8 scsi_io_cb_idx;
1265 u8 tm_cb_idx;
1266 u8 transport_cb_idx;
1267 u8 scsih_cb_idx;
1268 u8 ctl_cb_idx;
1269 u8 base_cb_idx;
1270 u8 port_enable_cb_idx;
1271 u8 config_cb_idx;
1272 u8 tm_tr_cb_idx;
1273 u8 tm_tr_volume_cb_idx;
1274 u8 tm_sas_control_cb_idx;
1275 struct _internal_cmd base_cmds;
1276 struct _internal_cmd port_enable_cmds;
1277 struct _internal_cmd transport_cmds;
1278 struct _internal_cmd scsih_cmds;
1279 struct _internal_cmd tm_cmds;
1280 struct _internal_cmd ctl_cmds;
1281 struct _internal_cmd config_cmds;
1283 MPT_ADD_SGE base_add_sg_single;
1286 MPT_BUILD_SG_SCMD build_sg_scmd;
1287 MPT_BUILD_SG build_sg;
1288 MPT_BUILD_ZERO_LEN_SGE build_zero_len_sge;
1289 u16 sge_size_ieee;
1290 u16 hba_mpi_version_belonged;
1293 MPT_BUILD_SG build_sg_mpi;
1294 MPT_BUILD_ZERO_LEN_SGE build_zero_len_sge_mpi;
1297 NVME_BUILD_PRP build_nvme_prp;
1300 u32 event_type[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS];
1301 u32 event_context;
1302 void *event_log;
1303 u32 event_masks[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS];
1305 u8 tm_custom_handling;
1306 u8 nvme_abort_timeout;
1307 u16 max_shutdown_latency;
1310 struct mpt3sas_facts facts;
1311 struct mpt3sas_facts prev_fw_facts;
1312 struct mpt3sas_port_facts *pfacts;
1313 Mpi2ManufacturingPage0_t manu_pg0;
1314 struct Mpi2ManufacturingPage10_t manu_pg10;
1315 struct Mpi2ManufacturingPage11_t manu_pg11;
1316 Mpi2BiosPage2_t bios_pg2;
1317 Mpi2BiosPage3_t bios_pg3;
1318 Mpi2IOCPage8_t ioc_pg8;
1319 Mpi2IOUnitPage0_t iounit_pg0;
1320 Mpi2IOUnitPage1_t iounit_pg1;
1321 Mpi2IOUnitPage8_t iounit_pg8;
1322 Mpi2IOCPage1_t ioc_pg1_copy;
1324 struct _boot_device req_boot_device;
1325 struct _boot_device req_alt_boot_device;
1326 struct _boot_device current_boot_device;
1329 struct _sas_node sas_hba;
1330 struct list_head sas_expander_list;
1331 struct list_head enclosure_list;
1332 spinlock_t sas_node_lock;
1333 struct list_head sas_device_list;
1334 struct list_head sas_device_init_list;
1335 spinlock_t sas_device_lock;
1336 struct list_head pcie_device_list;
1337 struct list_head pcie_device_init_list;
1338 spinlock_t pcie_device_lock;
1340 struct list_head raid_device_list;
1341 spinlock_t raid_device_lock;
1342 u8 io_missing_delay;
1343 u16 device_missing_delay;
1344 int sas_id;
1345 int pcie_target_id;
1347 void *blocking_handles;
1348 void *pd_handles;
1349 u16 pd_handles_sz;
1351 void *pend_os_device_add;
1352 u16 pend_os_device_add_sz;
1355 u16 config_page_sz;
1356 void *config_page;
1357 dma_addr_t config_page_dma;
1358 void *config_vaddr;
1361 u16 hba_queue_depth;
1362 u16 sge_size;
1363 u16 scsiio_depth;
1364 u16 request_sz;
1365 u8 *request;
1366 dma_addr_t request_dma;
1367 u32 request_dma_sz;
1368 struct pcie_sg_list *pcie_sg_lookup;
1369 spinlock_t scsi_lookup_lock;
1370 int pending_io_count;
1371 wait_queue_head_t reset_wq;
1374 struct dma_pool *pcie_sgl_dma_pool;
1376 u32 page_size;
1379 struct chain_lookup *chain_lookup;
1380 struct list_head free_chain_list;
1381 struct dma_pool *chain_dma_pool;
1382 ulong chain_pages;
1383 u16 max_sges_in_main_message;
1384 u16 max_sges_in_chain_message;
1385 u16 chains_needed_per_io;
1386 u32 chain_depth;
1387 u16 chain_segment_sz;
1388 u16 chains_per_prp_buffer;
1391 u16 hi_priority_smid;
1392 u8 *hi_priority;
1393 dma_addr_t hi_priority_dma;
1394 u16 hi_priority_depth;
1395 struct request_tracker *hpr_lookup;
1396 struct list_head hpr_free_list;
1399 u16 internal_smid;
1400 u8 *internal;
1401 dma_addr_t internal_dma;
1402 u16 internal_depth;
1403 struct request_tracker *internal_lookup;
1404 struct list_head internal_free_list;
1407 u8 *sense;
1408 dma_addr_t sense_dma;
1409 struct dma_pool *sense_dma_pool;
1412 u16 reply_sz;
1413 u8 *reply;
1414 dma_addr_t reply_dma;
1415 u32 reply_dma_max_address;
1416 u32 reply_dma_min_address;
1417 struct dma_pool *reply_dma_pool;
1420 u16 reply_free_queue_depth;
1421 __le32 *reply_free;
1422 dma_addr_t reply_free_dma;
1423 struct dma_pool *reply_free_dma_pool;
1424 u32 reply_free_host_index;
1427 u16 reply_post_queue_depth;
1428 struct reply_post_struct *reply_post;
1429 u8 rdpq_array_capable;
1430 u8 rdpq_array_enable;
1431 u8 rdpq_array_enable_assigned;
1432 struct dma_pool *reply_post_free_dma_pool;
1433 struct dma_pool *reply_post_free_array_dma_pool;
1434 Mpi2IOCInitRDPQArrayEntry *reply_post_free_array;
1435 dma_addr_t reply_post_free_array_dma;
1436 u8 reply_queue_count;
1437 struct list_head reply_queue_list;
1439 u8 combined_reply_queue;
1440 u8 combined_reply_index_count;
1441 u8 smp_affinity_enable;
1443 resource_size_t **replyPostRegisterIndex;
1445 struct list_head delayed_tr_list;
1446 struct list_head delayed_tr_volume_list;
1447 struct list_head delayed_sc_list;
1448 struct list_head delayed_event_ack_list;
1449 u8 temp_sensors_count;
1450 struct mutex pci_access_mutex;
1453 u8 *diag_buffer[MPI2_DIAG_BUF_TYPE_COUNT];
1454 u32 diag_buffer_sz[MPI2_DIAG_BUF_TYPE_COUNT];
1455 dma_addr_t diag_buffer_dma[MPI2_DIAG_BUF_TYPE_COUNT];
1456 u8 diag_buffer_status[MPI2_DIAG_BUF_TYPE_COUNT];
1457 u32 unique_id[MPI2_DIAG_BUF_TYPE_COUNT];
1458 u32 product_specific[MPI2_DIAG_BUF_TYPE_COUNT][23];
1459 u32 diagnostic_flags[MPI2_DIAG_BUF_TYPE_COUNT];
1460 u32 ring_buffer_offset;
1461 u32 ring_buffer_sz;
1462 u8 is_warpdrive;
1463 u8 is_mcpu_endpoint;
1464 u8 hide_ir_msg;
1465 u8 mfg_pg10_hide_flag;
1466 u8 hide_drives;
1467 spinlock_t diag_trigger_lock;
1468 u8 diag_trigger_active;
1469 u8 atomic_desc_capable;
1470 BASE_READ_REG base_readl;
1471 struct SL_WH_MASTER_TRIGGER_T diag_trigger_master;
1495 typedef u8 (*MPT_CALLBACK)(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, argument