Lines Matching defs:pqi_ctrl_info

1278 struct pqi_ctrl_info {  struct
1279 unsigned int ctrl_id;
1280 struct pci_dev *pci_dev;
1281 char firmware_version[32];
1282 char serial_number[17];
1283 char model[17];
1284 char vendor[9];
1285 u8 product_id;
1286 u8 product_revision;
1287 void __iomem *iomem_base;
1288 struct pqi_ctrl_registers __iomem *registers;
1289 struct pqi_device_registers __iomem *pqi_registers;
1290 u32 max_sg_entries;
1291 u32 config_table_offset;
1292 u32 config_table_length;
1293 u16 max_inbound_queues;
1294 u16 max_elements_per_iq;
1295 u16 max_iq_element_length;
1296 u16 max_outbound_queues;
1297 u16 max_elements_per_oq;
1298 u16 max_oq_element_length;
1299 u32 max_transfer_size;
1300 u32 max_outstanding_requests;
1301 u32 max_io_slots;
1302 unsigned int scsi_ml_can_queue;
1303 unsigned short sg_tablesize;
1304 unsigned int max_sectors;
1305 u32 error_buffer_length;
1306 void *error_buffer;
1307 dma_addr_t error_buffer_dma_handle;
1308 size_t sg_chain_buffer_length;
1309 unsigned int num_queue_groups;
1310 u16 max_hw_queue_index;
1311 u16 num_elements_per_iq;
1312 u16 num_elements_per_oq;
1313 u16 max_inbound_iu_length_per_firmware;
1314 u16 max_inbound_iu_length;
1315 unsigned int max_sg_per_iu;
1316 unsigned int max_sg_per_r56_iu;
1317 void *admin_queue_memory_base;
1318 u32 admin_queue_memory_length;
1319 dma_addr_t admin_queue_memory_base_dma_handle;
1320 void *queue_memory_base;
1321 u32 queue_memory_length;
1322 dma_addr_t queue_memory_base_dma_handle;
1323 struct pqi_admin_queues admin_queues;
1324 struct pqi_queue_group queue_groups[PQI_MAX_QUEUE_GROUPS];
1325 struct pqi_event_queue event_queue;
1326 enum pqi_irq_mode irq_mode;
1327 int max_msix_vectors;
1328 int num_msix_vectors_enabled;
1329 int num_msix_vectors_initialized;
1330 int event_irq;
1331 struct Scsi_Host *scsi_host;
1333 struct mutex scan_mutex;
1334 struct mutex lun_reset_mutex;
1335 bool controller_online;
1336 bool block_requests;
1337 bool scan_blocked;
1338 u8 logical_volume_rescan_needed : 1;
1339 u8 inbound_spanning_supported : 1;
1340 u8 outbound_spanning_supported : 1;
1341 u8 pqi_mode_enabled : 1;
1342 u8 pqi_reset_quiesce_supported : 1;
1343 u8 soft_reset_handshake_supported : 1;
1344 u8 raid_iu_timeout_supported : 1;
1345 u8 tmf_iu_timeout_supported : 1;
1346 u8 firmware_triage_supported : 1;
1347 u8 rpl_extended_format_4_5_supported : 1;
1348 u8 multi_lun_device_supported : 1;
1349 u8 enable_r1_writes : 1;
1350 u8 enable_r5_writes : 1;
1351 u8 enable_r6_writes : 1;
1352 u8 lv_drive_type_mix_valid : 1;
1353 u8 enable_stream_detection : 1;
1354 u8 disable_managed_interrupts : 1;
1355 u8 ciss_report_log_flags;
1356 u32 max_transfer_encrypted_sas_sata;
1357 u32 max_transfer_encrypted_nvme;
1358 u32 max_write_raid_5_6;
1359 u32 max_write_raid_1_10_2drive;
1360 u32 max_write_raid_1_10_3drive;
1362 struct list_head scsi_device_list;
1363 spinlock_t scsi_device_list_lock;
1365 struct delayed_work rescan_work;
1366 struct delayed_work update_time_work;
1368 struct pqi_sas_node *sas_host;
1369 u64 sas_address;
1371 struct pqi_io_request *io_request_pool;
1372 u16 next_io_request_slot;
1374 struct pqi_event events[PQI_NUM_SUPPORTED_EVENTS];
1375 struct work_struct event_work;
1377 atomic_t num_interrupts;
1378 int previous_num_interrupts;
1379 u32 previous_heartbeat_count;
1380 __le32 __iomem *heartbeat_counter;
1381 u8 __iomem *soft_reset_status;
1382 struct timer_list heartbeat_timer;
1383 struct work_struct ctrl_offline_work;
1385 struct semaphore sync_request_sem;
1386 atomic_t num_busy_threads;
1387 atomic_t num_blocked_threads;
1388 wait_queue_head_t block_requests_wait;
1390 struct mutex ofa_mutex;
1391 struct pqi_ofa_memory *pqi_ofa_mem_virt_addr;
1392 dma_addr_t pqi_ofa_mem_dma_handle;
1393 void **pqi_ofa_chunk_virt_addr;
1394 struct work_struct ofa_memory_alloc_work;
1395 struct work_struct ofa_quiesce_work;
1396 u32 ofa_bytes_requested;
1397 u16 ofa_cancel_reason;
1398 enum pqi_ctrl_removal_state ctrl_removal_state;