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