Lines Matching defs:megasas_instance
1703 struct megasas_instance { struct
1705 __le32 *producer;
1706 dma_addr_t producer_h;
1707 __le32 *consumer;
1708 dma_addr_t consumer_h;
1709 struct MR_DRV_SYSTEM_INFO *system_info_buf;
1710 dma_addr_t system_info_h;
1711 struct MR_LD_VF_AFFILIATION *vf_affiliation;
1712 dma_addr_t vf_affiliation_h;
1713 struct MR_LD_VF_AFFILIATION_111 *vf_affiliation_111;
1714 dma_addr_t vf_affiliation_111_h;
1715 struct MR_CTRL_HB_HOST_MEM *hb_host_mem;
1716 dma_addr_t hb_host_mem_h;
1718 __le32 *reply_queue;
1719 dma_addr_t reply_queue_h;
1721 u32 *crash_dump_buf;
1722 dma_addr_t crash_dump_h;
1723 void *crash_buf[MAX_CRASH_DUMP_SIZE];
1724 u32 crash_buf_pages;
1725 unsigned int fw_crash_buffer_size;
1726 unsigned int fw_crash_state;
1727 unsigned int fw_crash_buffer_offset;
1728 u32 drv_buf_index;
1729 u32 drv_buf_alloc;
1730 u32 crash_dump_fw_support;
1731 u32 crash_dump_drv_support;
1732 u32 crash_dump_app_support;
1733 u32 secure_jbod_support;
1734 bool use_seqnum_jbod_fp; /* Added for PD sequence */
1735 spinlock_t crashdump_lock;
1737 struct megasas_register_set __iomem *reg_set;
1738 u32 __iomem *reply_post_host_index_addr[MR_MAX_MSIX_REG_ARRAY];
1739 struct megasas_pd_list pd_list[MEGASAS_MAX_PD];
1740 struct megasas_pd_list local_pd_list[MEGASAS_MAX_PD];
1741 u8 ld_ids[MEGASAS_MAX_LD_IDS];
1742 s8 init_id;
1744 u16 max_num_sge;
1745 u16 max_fw_cmds;
1746 u16 max_mfi_cmds;
1747 u16 max_scsi_cmds;
1748 u32 max_sectors_per_req;
1749 struct megasas_aen_event *ev;
1751 struct megasas_cmd **cmd_list;
1752 struct list_head cmd_pool;
1754 spinlock_t mfi_pool_lock;
1756 spinlock_t hba_lock;
1780 struct megasas_instance_template *instancet; argument
1781 struct tasklet_struct isr_tasklet;
1782 struct work_struct work_init;
1783 struct work_struct crash_init;
1785 u8 flag;
1786 u8 unload;
1787 u8 flag_ieee;
1788 u8 issuepend_done;
1789 u8 disableOnlineCtrlReset;
1790 u8 UnevenSpanSupport;
1792 u8 supportmax256vd;
1793 u8 allow_fw_scan;
1794 u16 fw_supported_vd_count;
1795 u16 fw_supported_pd_count;
1797 u16 drv_supported_vd_count;
1798 u16 drv_supported_pd_count;
1800 u8 adprecovery;
1801 unsigned long last_time;
1802 u32 mfiStatus;
1803 u32 last_seq_num;
1805 struct list_head internal_reset_pending_q;
1808 void *ctrl_context;
1809 u32 ctrl_context_pages;
1810 struct megasas_ctrl_info *ctrl_info;
1811 unsigned int msix_vectors;
1812 struct msix_entry msixentry[MEGASAS_MAX_MSIX_QUEUES];
1813 struct megasas_irq_context irq_context[MEGASAS_MAX_MSIX_QUEUES];
1814 u64 map_id;
1815 u64 pd_seq_map_id;
1816 struct megasas_cmd *map_update_cmd;
1817 struct megasas_cmd *jbod_seq_cmd;
1818 unsigned long bar;
1819 long reset_flags;
1820 struct mutex reset_mutex;
1821 struct timer_list sriov_heartbeat_timer;
1822 char skip_heartbeat_timer_del;
1823 u8 requestorId;
1824 char PlasmaFW111;
1825 char mpio;
1826 u16 throttlequeuedepth;
1827 u8 mask_interrupts;
1828 u16 max_chain_frame_sz;
1829 u8 is_imr;
1830 bool dev_handle;