Lines Matching defs:aac_dev
1530 struct aac_dev struct
1532 struct list_head entry;
1533 const char *name;
1534 int id;
1539 unsigned int max_fib_size;
1540 unsigned int sg_tablesize;
1541 unsigned int max_num_aif;
1543 unsigned int max_cmd_size; /* max_fib_size or MAX_NATIVE */
1548 dma_addr_t hw_fib_pa; /* also used for native cmd */
1549 struct hw_fib *hw_fib_va; /* also used for native cmd */
1550 struct hw_fib *aif_base_va;
1554 struct fib *fibs;
1556 struct fib *free_fib;
1557 spinlock_t fib_lock;
1559 struct mutex ioctl_mutex;
1560 struct mutex scan_mutex;
1561 struct aac_queue_block *queues;
1569 struct list_head fib_list;
1571 struct adapter_ops a_ops;
1572 unsigned long fsrev; /* Main driver's revision number */
1574 resource_size_t base_start; /* main IO base */
1575 resource_size_t dbg_base; /* address of UART
1578 resource_size_t base_size, dbg_size; /* Size of
1584 union aac_init *init;
1585 dma_addr_t init_pa; /* Holds physical address of the init struct */
1587 __le32 *host_rrq;
1588 dma_addr_t host_rrq_pa; /* phys. address */
1590 u32 host_rrq_idx[AAC_MAX_MSIX];
1591 atomic_t rrq_outstanding[AAC_MAX_MSIX];
1592 u32 fibs_pushed_no;
1593 struct pci_dev *pdev; /* Our PCI interface */
1595 void *printfbuf;
1596 void *comm_addr; /* Base address of Comm area */
1597 dma_addr_t comm_phys; /* Physical Address of Comm area */
1598 size_t comm_size;
1600 struct Scsi_Host *scsi_host_ptr;
1601 int maximum_num_containers;
1602 int maximum_num_physicals;
1603 int maximum_num_channels;
1604 struct fsa_dev_info *fsa_dev;
1605 struct task_struct *thread;
1606 struct delayed_work safw_rescan_work;
1607 struct delayed_work src_reinit_aif_worker;
1608 int cardtype;
1613 spinlock_t iq_lock;
1626 {
1634 } regs;
1635 volatile void __iomem *base, *dbg_base_mapped;
1636 volatile struct rx_inbound __iomem *IndexRegs;
1637 u32 OIMR; /* Mask Register Cache */
1641 u32 aif_thread;
1642 struct aac_adapter_info adapter_info;
1643 struct aac_supplement_adapter_info supplement_adapter_info;
1647 u8 nondasd_support;
1648 u8 jbod;
1649 u8 cache_protected;
1650 u8 dac_support;
1651 u8 needs_dac;
1652 u8 raid_scsi_mode;
1653 u8 comm_interface;
1654 u8 raw_io_interface;
1655 u8 raw_io_64;
1656 u8 printf_enabled;
1657 u8 in_reset;
1658 u8 in_soft_reset;
1659 u8 msi;
1660 u8 sa_firmware;
1661 int management_fib_count;
1662 spinlock_t manage_lock;
1663 spinlock_t sync_lock;
1664 int sync_mode;
1665 struct fib *sync_fib;
1666 struct list_head sync_fib_list;
1667 u32 doorbell_mask;
1668 u32 max_msix; /* max. MSI-X vectors */
1669 u32 vector_cap; /* MSI-X vector capab.*/
1670 int msi_enabled; /* MSI/MSI-X enabled */
1671 atomic_t msix_counter;
1672 u32 scan_counter;
1673 struct msix_entry msixentry[AAC_MAX_MSIX];
1674 struct aac_msix_ctx aac_msix[AAC_MAX_MSIX]; /* context */
1675 struct aac_hba_map_info hba_map[AAC_MAX_BUSES][AAC_MAX_TARGETS];
1676 struct aac_ciss_phys_luns_resp *safw_phys_luns;
1677 u8 adapter_shutdown;
1678 u32 handle_pci_error;
1679 bool init_reset;
1680 u8 soft_reset_support;