Lines Matching defs:MPT3SAS_ADAPTER

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