Lines Matching defs:ctlr_info
163 struct ctlr_info { struct
164 unsigned int *reply_map;
165 int ctlr;
166 char devname[8];
167 char *product_name;
168 struct pci_dev *pdev;
169 u32 board_id;
170 u64 sas_address;
171 void __iomem *vaddr;
172 unsigned long paddr;
173 int nr_cmds; /* Number of commands allowed on this controller */
176 struct CfgTable __iomem *cfgtable;
177 int interrupts_enabled;
178 int max_commands;
179 int last_collision_tag; /* tags are global */
180 atomic_t commands_outstanding;
185 unsigned int msix_vectors;
186 int intr_mode; /* either PERF_MODE_INT or SIMPLE_MODE_INT */
187 struct access_method access;
190 unsigned int Qdepth;
191 unsigned int maxSG;
192 spinlock_t lock;
193 int maxsgentries;
194 u8 max_cmd_sg_entries;
195 int chainsize;
196 struct SGDescriptor **cmd_sg_list;
197 struct ioaccel2_sg_element **ioaccel2_cmd_sg_list;
200 struct CommandList *cmd_pool;
201 dma_addr_t cmd_pool_dhandle;
202 struct io_accel1_cmd *ioaccel_cmd_pool;
203 dma_addr_t ioaccel_cmd_pool_dhandle;
204 struct io_accel2_cmd *ioaccel2_cmd_pool;
205 dma_addr_t ioaccel2_cmd_pool_dhandle;
206 struct ErrorInfo *errinfo_pool;
207 dma_addr_t errinfo_pool_dhandle;
208 unsigned long *cmd_pool_bits;
209 int scan_finished;
210 u8 scan_waiting : 1;
211 spinlock_t scan_lock;
212 wait_queue_head_t scan_wait_queue;
214 struct Scsi_Host *scsi_host;
215 spinlock_t devlock; /* to protect hba[ctlr]->dev[]; */
216 int ndevices; /* number of used elements in .dev[] array. */
217 struct hpsa_scsi_dev_t *dev[HPSA_MAX_DEVICES];
221 u32 trans_support;
222 u32 trans_offset;
223 struct TransTable_struct __iomem *transtable;
224 unsigned long transMethod;
228 atomic_t passthru_cmds_avail;
233 size_t reply_queue_size;
234 struct reply_queue_buffer reply_queue[MAX_REPLY_QUEUES];
235 u8 nreply_queues;
236 u32 *blockFetchTable;
237 u32 *ioaccel1_blockFetchTable;
238 u32 *ioaccel2_blockFetchTable;
239 u32 __iomem *ioaccel2_bft2_regs;
240 unsigned char *hba_inquiry_data;
241 u32 driver_support;
242 u32 fw_support;
243 int ioaccel_support;
244 int ioaccel_maxsg;
245 u64 last_intr_timestamp;
246 u32 last_heartbeat;
247 u64 last_heartbeat_timestamp;
248 u32 heartbeat_sample_interval;
249 atomic_t firmware_flash_in_progress;
250 u32 __percpu *lockup_detected;
251 struct delayed_work monitor_ctlr_work;
252 struct delayed_work rescan_ctlr_work;
253 struct delayed_work event_monitor_work;
254 int remove_in_progress;
256 u8 q[MAX_REPLY_QUEUES];
257 char intrname[MAX_REPLY_QUEUES][16]; /* "hpsa0-msix00" names */
258 u32 TMFSupportFlags; /* cache what task mgmt funcs are supported. */
280 u32 events;
295 spinlock_t offline_device_lock;
296 struct list_head offline_device_list;
297 int acciopath_status;
298 int drv_req_rescan;
299 int raid_offload_debug;
300 int discovery_polling;
301 int legacy_board;
302 struct ReportLUNdata *lastlogicals;
303 int needs_abort_tags_swizzled;
304 struct workqueue_struct *resubmit_wq;
305 struct workqueue_struct *rescan_ctlr_wq;
306 struct workqueue_struct *monitor_ctlr_wq;
307 atomic_t abort_cmds_available;
308 wait_queue_head_t event_sync_wait_queue;
309 struct mutex reset_mutex;
310 u8 reset_in_progress;
311 struct hpsa_sas_node *sas_host;
312 spinlock_t reset_lock;