Lines Matching defs:MPT3SAS_ADAPTER
1331 struct MPT3SAS_ADAPTER { struct
1332 struct list_head list;
1333 struct Scsi_Host *shost;
1334 u8 id;
1335 int cpu_count;
1336 char name[MPT_NAME_LENGTH];
1337 char driver_name[MPT_NAME_LENGTH - 8];
1338 char tmp_string[MPT_STRING_LENGTH];
1339 struct pci_dev *pdev;
1340 Mpi2SystemInterfaceRegs_t __iomem *chip;
1341 phys_addr_t chip_phys;
1342 int logging_level;
1343 int fwfault_debug;
1344 u8 ir_firmware;
1345 int bars;
1346 u8 mask_interrupts;
1349 char fault_reset_work_q_name[20];
1350 struct workqueue_struct *fault_reset_work_q;
1351 struct delayed_work fault_reset_work;
1354 char firmware_event_name[20];
1355 struct workqueue_struct *firmware_event_thread;
1356 spinlock_t fw_event_lock;
1357 struct list_head fw_event_list;
1358 struct fw_event_work *current_event;
1359 u8 fw_events_cleanup;
1362 int aen_event_read_flag;
1363 u8 broadcast_aen_busy;
1364 u16 broadcast_aen_pending;
1365 u8 shost_recovery;
1366 u8 got_task_abort_from_ioctl;
1368 struct mutex reset_in_progress_mutex;
1369 spinlock_t ioc_reset_in_progress_lock;
1370 u8 ioc_link_reset_in_progress;
1372 u8 ignore_loginfos;
1373 u8 remove_host;
1374 u8 pci_error_recovery;
1375 u8 wait_for_discovery_to_complete;
1376 u8 is_driver_loading;
1377 u8 port_enable_failed;
1378 u8 start_scan;
1379 u16 start_scan_failed;
1381 u8 msix_enable;
1382 u16 msix_vector_count;
1383 u8 *cpu_msix_table;
1384 u16 cpu_msix_table_sz;
1385 resource_size_t __iomem **reply_post_host_index;
1386 u32 ioc_reset_count;
1387 MPT3SAS_FLUSH_RUNNING_CMDS schedule_dead_ioc_flush_running_cmds;
1388 u32 non_operational_loop;
1389 u8 ioc_coredump_loop;
1390 u32 timestamp_update_count;
1391 u32 time_sync_interval;
1392 atomic64_t total_io_cnt;
1393 atomic64_t high_iops_outstanding;
1394 bool msix_load_balance;
1395 u16 thresh_hold;
1396 u8 high_iops_queues;
1397 u8 iopoll_q_start_index;
1398 u32 drv_internal_flags;
1399 u32 drv_support_bitmap;
1400 u32 dma_mask;
1401 bool enable_sdev_max_qd;
1402 bool use_32bit_dma;
1403 struct io_uring_poll_queue *io_uring_poll_queues;
1406 u8 scsi_io_cb_idx;
1407 u8 tm_cb_idx;
1408 u8 transport_cb_idx;
1409 u8 scsih_cb_idx;
1410 u8 ctl_cb_idx;
1411 u8 base_cb_idx;
1412 u8 port_enable_cb_idx;
1413 u8 config_cb_idx;
1414 u8 tm_tr_cb_idx;
1415 u8 tm_tr_volume_cb_idx;
1416 u8 tm_sas_control_cb_idx;
1417 struct _internal_cmd base_cmds;
1418 struct _internal_cmd port_enable_cmds;
1419 struct _internal_cmd transport_cmds;
1420 struct _internal_cmd scsih_cmds;
1421 struct _internal_cmd tm_cmds;
1422 struct _internal_cmd ctl_cmds;
1423 struct _internal_cmd config_cmds;
1425 MPT_ADD_SGE base_add_sg_single;
1428 MPT_BUILD_SG_SCMD build_sg_scmd;
1429 MPT_BUILD_SG build_sg;
1430 MPT_BUILD_ZERO_LEN_SGE build_zero_len_sge;
1431 u16 sge_size_ieee;
1432 u16 hba_mpi_version_belonged;
1435 MPT_BUILD_SG build_sg_mpi;
1436 MPT_BUILD_ZERO_LEN_SGE build_zero_len_sge_mpi;
1439 NVME_BUILD_PRP build_nvme_prp;
1442 u32 event_type[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS];
1443 u32 event_context;
1444 void *event_log;
1445 u32 event_masks[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS];
1447 u8 tm_custom_handling;
1448 u8 nvme_abort_timeout;
1449 u16 max_shutdown_latency;
1450 u16 max_wideport_qd;
1451 u16 max_narrowport_qd;
1452 u16 max_nvme_qd;
1453 u8 max_sata_qd;
1456 struct mpt3sas_facts facts;
1457 struct mpt3sas_facts prev_fw_facts;
1458 struct mpt3sas_port_facts *pfacts;
1459 Mpi2ManufacturingPage0_t manu_pg0;
1460 struct Mpi2ManufacturingPage10_t manu_pg10;
1461 struct Mpi2ManufacturingPage11_t manu_pg11;
1462 Mpi2BiosPage2_t bios_pg2;
1463 Mpi2BiosPage3_t bios_pg3;
1464 Mpi2IOCPage8_t ioc_pg8;
1465 Mpi2IOUnitPage0_t iounit_pg0;
1466 Mpi2IOUnitPage1_t iounit_pg1;
1467 Mpi2IOCPage1_t ioc_pg1_copy;
1469 struct _boot_device req_boot_device;
1470 struct _boot_device req_alt_boot_device;
1471 struct _boot_device current_boot_device;
1474 struct _sas_node sas_hba;
1475 struct list_head sas_expander_list;
1476 struct list_head enclosure_list;
1477 spinlock_t sas_node_lock;
1478 struct list_head sas_device_list;
1479 struct list_head sas_device_init_list;
1480 spinlock_t sas_device_lock;
1481 struct list_head pcie_device_list;
1482 struct list_head pcie_device_init_list;
1483 spinlock_t pcie_device_lock;
1485 struct list_head raid_device_list;
1486 spinlock_t raid_device_lock;
1487 u8 io_missing_delay;
1488 u16 device_missing_delay;
1489 int sas_id;
1490 int pcie_target_id;
1492 void *blocking_handles;
1493 void *pd_handles;
1494 u16 pd_handles_sz;
1496 void *pend_os_device_add;
1497 u16 pend_os_device_add_sz;
1500 u16 config_page_sz;
1501 void *config_page;
1502 dma_addr_t config_page_dma;
1503 void *config_vaddr;
1506 u16 hba_queue_depth;
1507 u16 sge_size;
1508 u16 scsiio_depth;
1509 u16 request_sz;
1510 u8 *request;
1511 dma_addr_t request_dma;
1512 u32 request_dma_sz;
1513 struct pcie_sg_list *pcie_sg_lookup;
1514 spinlock_t scsi_lookup_lock;
1515 int pending_io_count;
1516 wait_queue_head_t reset_wq;
1517 u16 *io_queue_num;
1520 struct dma_pool *pcie_sgl_dma_pool;
1522 u32 page_size;
1525 struct chain_lookup *chain_lookup;
1526 struct list_head free_chain_list;
1527 struct dma_pool *chain_dma_pool;
1528 ulong chain_pages;
1529 u16 max_sges_in_main_message;
1530 u16 max_sges_in_chain_message;
1531 u16 chains_needed_per_io;
1532 u32 chain_depth;
1533 u16 chain_segment_sz;
1534 u16 chains_per_prp_buffer;
1537 u16 hi_priority_smid;
1538 u8 *hi_priority;
1539 dma_addr_t hi_priority_dma;
1540 u16 hi_priority_depth;
1541 struct request_tracker *hpr_lookup;
1542 struct list_head hpr_free_list;
1545 u16 internal_smid;
1546 u8 *internal;
1547 dma_addr_t internal_dma;
1548 u16 internal_depth;
1549 struct request_tracker *internal_lookup;
1550 struct list_head internal_free_list;
1553 u8 *sense;
1554 dma_addr_t sense_dma;
1555 struct dma_pool *sense_dma_pool;
1558 u16 reply_sz;
1559 u8 *reply;
1560 dma_addr_t reply_dma;
1561 u32 reply_dma_max_address;
1562 u32 reply_dma_min_address;
1563 struct dma_pool *reply_dma_pool;
1566 u16 reply_free_queue_depth;
1567 __le32 *reply_free;
1568 dma_addr_t reply_free_dma;
1569 struct dma_pool *reply_free_dma_pool;
1570 u32 reply_free_host_index;
1573 u16 reply_post_queue_depth;
1574 struct reply_post_struct *reply_post;
1575 u8 rdpq_array_capable;
1576 u8 rdpq_array_enable;
1577 u8 rdpq_array_enable_assigned;
1578 struct dma_pool *reply_post_free_dma_pool;
1579 struct dma_pool *reply_post_free_array_dma_pool;
1580 Mpi2IOCInitRDPQArrayEntry *reply_post_free_array;
1581 dma_addr_t reply_post_free_array_dma;
1582 u8 reply_queue_count;
1583 struct list_head reply_queue_list;
1585 u8 combined_reply_queue;
1586 u8 combined_reply_index_count;
1587 u8 smp_affinity_enable;
1589 resource_size_t __iomem **replyPostRegisterIndex;
1591 struct list_head delayed_tr_list;
1592 struct list_head delayed_tr_volume_list;
1593 struct list_head delayed_sc_list;
1594 struct list_head delayed_event_ack_list;
1595 u8 temp_sensors_count;
1596 struct mutex pci_access_mutex;
1599 u8 *diag_buffer[MPI2_DIAG_BUF_TYPE_COUNT];
1600 u32 diag_buffer_sz[MPI2_DIAG_BUF_TYPE_COUNT];
1601 dma_addr_t diag_buffer_dma[MPI2_DIAG_BUF_TYPE_COUNT];
1602 u8 diag_buffer_status[MPI2_DIAG_BUF_TYPE_COUNT];
1603 u32 unique_id[MPI2_DIAG_BUF_TYPE_COUNT];
1604 u32 product_specific[MPI2_DIAG_BUF_TYPE_COUNT][23];
1605 u32 diagnostic_flags[MPI2_DIAG_BUF_TYPE_COUNT];
1606 u32 ring_buffer_offset;
1607 u32 ring_buffer_sz;
1608 struct htb_rel_query htb_rel;
1609 u8 reset_from_user;
1610 u8 is_warpdrive;
1611 u8 is_mcpu_endpoint;
1612 u8 hide_ir_msg;
1613 u8 mfg_pg10_hide_flag;
1614 u8 hide_drives;
1615 spinlock_t diag_trigger_lock;
1616 u8 diag_trigger_active;
1617 u8 atomic_desc_capable;
1618 BASE_READ_REG base_readl;
1619 BASE_READ_REG base_readl_ext_retry;
1620 struct SL_WH_MASTER_TRIGGER_T diag_trigger_master;
1621 struct SL_WH_EVENT_TRIGGERS_T diag_trigger_event;
1622 struct SL_WH_SCSI_TRIGGERS_T diag_trigger_scsi;
1623 struct SL_WH_MPI_TRIGGERS_T diag_trigger_mpi;
1624 u8 supports_trigger_pages;
1625 void *device_remove_in_progress;
1626 u16 device_remove_in_progress_sz;
1627 u8 is_gen35_ioc;
1651 typedef u8 (*MPT_CALLBACK)(struct MPT3SAS_ADAPTER *ioc, u16 smid, u8 msix_index, argument