Lines Matching defs:MPT2SAS_ADAPTER
781 struct MPT2SAS_ADAPTER { struct
782 struct list_head list;
783 struct Scsi_Host *shost;
784 u8 id;
785 int cpu_count;
786 char name[MPT_NAME_LENGTH];
787 char tmp_string[MPT_STRING_LENGTH];
788 struct pci_dev *pdev;
789 Mpi2SystemInterfaceRegs_t __iomem *chip;
790 resource_size_t chip_phys;
791 int logging_level;
792 int fwfault_debug;
793 u8 ir_firmware;
794 int bars;
795 u8 mask_interrupts;
798 char fault_reset_work_q_name[20];
799 struct workqueue_struct *fault_reset_work_q;
800 struct delayed_work fault_reset_work;
803 char firmware_event_name[20];
804 struct workqueue_struct *firmware_event_thread;
805 spinlock_t fw_event_lock;
806 struct list_head fw_event_list;
809 int aen_event_read_flag;
810 u8 broadcast_aen_busy;
811 u16 broadcast_aen_pending;
812 u8 shost_recovery;
814 struct mutex reset_in_progress_mutex;
815 spinlock_t ioc_reset_in_progress_lock;
816 u8 ioc_link_reset_in_progress;
817 u8 ioc_reset_in_progress_status;
819 u8 ignore_loginfos;
820 u8 remove_host;
821 u8 pci_error_recovery;
822 u8 wait_for_discovery_to_complete;
823 struct completion port_enable_done;
824 u8 is_driver_loading;
825 u8 port_enable_failed;
827 u8 start_scan;
828 u16 start_scan_failed;
830 u8 msix_enable;
831 u16 msix_vector_count;
832 u8 *cpu_msix_table;
833 resource_size_t **reply_post_host_index;
834 u16 cpu_msix_table_sz;
835 u32 ioc_reset_count;
836 MPT2SAS_FLUSH_RUNNING_CMDS schedule_dead_ioc_flush_running_cmds;
839 u8 scsi_io_cb_idx;
840 u8 tm_cb_idx;
841 u8 transport_cb_idx;
842 u8 scsih_cb_idx;
843 u8 ctl_cb_idx;
844 u8 base_cb_idx;
845 u8 port_enable_cb_idx;
846 u8 config_cb_idx;
847 u8 tm_tr_cb_idx;
848 u8 tm_tr_volume_cb_idx;
849 u8 tm_sas_control_cb_idx;
850 struct _internal_cmd base_cmds;
851 struct _internal_cmd port_enable_cmds;
852 struct _internal_cmd transport_cmds;
853 struct _internal_cmd scsih_cmds;
854 struct _internal_cmd tm_cmds;
855 struct _internal_cmd ctl_cmds;
856 struct _internal_cmd config_cmds;
858 MPT_ADD_SGE base_add_sg_single;
861 u32 event_type[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS];
862 u32 event_context;
863 void *event_log;
864 u32 event_masks[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS];
867 struct mpt2sas_facts facts;
868 struct mpt2sas_port_facts *pfacts;
869 Mpi2ManufacturingPage0_t manu_pg0;
870 Mpi2BiosPage2_t bios_pg2;
871 Mpi2BiosPage3_t bios_pg3;
872 Mpi2IOCPage8_t ioc_pg8;
873 Mpi2IOUnitPage0_t iounit_pg0;
874 Mpi2IOUnitPage1_t iounit_pg1;
876 struct _boot_device req_boot_device;
877 struct _boot_device req_alt_boot_device;
878 struct _boot_device current_boot_device;
881 struct _sas_node sas_hba;
882 struct list_head sas_expander_list;
883 spinlock_t sas_node_lock;
884 struct list_head sas_device_list;
885 struct list_head sas_device_init_list;
886 spinlock_t sas_device_lock;
887 struct list_head raid_device_list;
888 spinlock_t raid_device_lock;
889 u8 io_missing_delay;
890 u16 device_missing_delay;
891 int sas_id;
893 void *pd_handles;
894 u16 pd_handles_sz;
897 u16 config_page_sz;
898 void *config_page;
899 dma_addr_t config_page_dma;
902 u16 hba_queue_depth;
903 u16 sge_size;
904 u16 scsiio_depth;
905 u16 request_sz;
906 u8 *request;
907 dma_addr_t request_dma;
908 u32 request_dma_sz;
909 struct scsiio_tracker *scsi_lookup;
910 ulong scsi_lookup_pages;
911 spinlock_t scsi_lookup_lock;
912 struct list_head free_list;
913 int pending_io_count;
914 wait_queue_head_t reset_wq;
917 struct chain_tracker *chain_lookup;
918 struct list_head free_chain_list;
919 struct dma_pool *chain_dma_pool;
920 ulong chain_pages;
921 u16 max_sges_in_main_message;
922 u16 max_sges_in_chain_message;
923 u16 chains_needed_per_io;
924 u16 chain_offset_value_for_main_message;
925 u32 chain_depth;
928 u16 hi_priority_smid;
929 u8 *hi_priority;
930 dma_addr_t hi_priority_dma;
931 u16 hi_priority_depth;
932 struct request_tracker *hpr_lookup;
933 struct list_head hpr_free_list;
936 u16 internal_smid;
937 u8 *internal;
938 dma_addr_t internal_dma;
939 u16 internal_depth;
940 struct request_tracker *internal_lookup;
941 struct list_head internal_free_list;
944 u8 *sense;
945 dma_addr_t sense_dma;
946 struct dma_pool *sense_dma_pool;
949 u16 reply_sz;
950 u8 *reply;
951 dma_addr_t reply_dma;
952 u32 reply_dma_max_address;
953 u32 reply_dma_min_address;
954 struct dma_pool *reply_dma_pool;
957 u16 reply_free_queue_depth;
958 __le32 *reply_free;
959 dma_addr_t reply_free_dma;
960 struct dma_pool *reply_free_dma_pool;
961 u32 reply_free_host_index;
964 u16 reply_post_queue_depth;
965 Mpi2ReplyDescriptorsUnion_t *reply_post_free;
966 dma_addr_t reply_post_free_dma;
967 struct dma_pool *reply_post_free_dma_pool;
968 u8 reply_queue_count;
992 typedef u8 (*MPT_CALLBACK)(struct MPT2SAS_ADAPTER *ioc, u16 smid, u8 msix_index, argument