Lines Matching defs:MPT3SAS_ADAPTER

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