Lines Matching defs:hisi_hba

127 	struct hisi_hba *hisi_hba;  member
158 struct hisi_hba *hisi_hba; member
186 struct hisi_hba *hisi_hba; member
194 struct hisi_hba *hisi_hba; member
202 struct hisi_hba *hisi_hba; member
377 struct hisi_hba *hisi_hba; member
402 struct hisi_hba { struct
404 struct sas_ha_struct *p;
406 struct platform_device *platform_dev;
407 struct pci_dev *pci_dev;
408 struct device *dev;
410 int prot_mask;
412 void __iomem *regs;
413 void __iomem *sgpio_regs;
414 struct regmap *ctrl;
415 u32 ctrl_reset_reg;
416 u32 ctrl_reset_sts_reg;
417 u32 ctrl_clock_ena_reg;
418 u32 refclk_frequency_mhz;
419 u8 sas_addr[SAS_ADDR_SIZE];
421 int n_phy;
422 spinlock_t lock;
423 struct semaphore sem;
425 struct timer_list timer;
426 struct workqueue_struct *wq;
428 int slot_index_count;
429 int last_slot_index;
430 int last_dev_id;
431 unsigned long *slot_index_tags;
432 unsigned long reject_stp_links_msk;
435 struct sas_ha_struct sha;
436 struct Scsi_Host *shost;
438 struct hisi_sas_cq cq[HISI_SAS_MAX_QUEUES];
439 struct hisi_sas_dq dq[HISI_SAS_MAX_QUEUES];
440 struct hisi_sas_phy phy[HISI_SAS_MAX_PHYS];
441 struct hisi_sas_port port[HISI_SAS_MAX_PHYS];
443 int queue_count;
445 struct hisi_sas_device devices[HISI_SAS_MAX_DEVICES];
446 struct hisi_sas_cmd_hdr *cmd_hdr[HISI_SAS_MAX_QUEUES];
447 dma_addr_t cmd_hdr_dma[HISI_SAS_MAX_QUEUES];
448 void *complete_hdr[HISI_SAS_MAX_QUEUES];
449 dma_addr_t complete_hdr_dma[HISI_SAS_MAX_QUEUES];
450 struct hisi_sas_initial_fis *initial_fis;
451 dma_addr_t initial_fis_dma;
452 struct hisi_sas_itct *itct;
453 dma_addr_t itct_dma;
454 struct hisi_sas_iost *iost;
455 dma_addr_t iost_dma;
456 struct hisi_sas_breakpoint *breakpoint;
457 dma_addr_t breakpoint_dma;
458 struct hisi_sas_breakpoint *sata_breakpoint;
459 dma_addr_t sata_breakpoint_dma;
460 struct hisi_sas_slot *slot_info;
461 unsigned long flags;
462 const struct hisi_sas_hw *hw; /* Low level hw interface */
463 unsigned long sata_dev_bitmap[BITS_TO_LONGS(HISI_SAS_MAX_DEVICES)];
464 struct work_struct rst_work;
465 struct work_struct debugfs_work;
466 u32 phy_state;
467 u32 intr_coal_ticks; /* Time of interrupt coalesce in us */
468 u32 intr_coal_count; /* Interrupt count to coalesce */
470 int cq_nvecs;
473 enum sas_linkrate debugfs_bist_linkrate;
474 int debugfs_bist_code_mode;
475 int debugfs_bist_phy_no;
476 int debugfs_bist_mode;
477 u32 debugfs_bist_cnt;
478 int debugfs_bist_enable;
479 u32 debugfs_bist_ffe[HISI_SAS_MAX_PHYS][FFE_CFG_MAX];
480 u32 debugfs_bist_fixed_code[FIXED_CODE_MAX];
484 struct hisi_sas_debugfs_regs debugfs_regs[HISI_SAS_MAX_DEBUGFS_DUMP][DEBUGFS_REGS_NUM];
485 struct hisi_sas_debugfs_port debugfs_port_reg[HISI_SAS_MAX_DEBUGFS_DUMP][HISI_SAS_MAX_PHYS];
486 struct hisi_sas_debugfs_cq debugfs_cq[HISI_SAS_MAX_DEBUGFS_DUMP][HISI_SAS_MAX_QUEUES];
487 struct hisi_sas_debugfs_dq debugfs_dq[HISI_SAS_MAX_DEBUGFS_DUMP][HISI_SAS_MAX_QUEUES];
488 struct hisi_sas_debugfs_iost debugfs_iost[HISI_SAS_MAX_DEBUGFS_DUMP];
489 struct hisi_sas_debugfs_itct debugfs_itct[HISI_SAS_MAX_DEBUGFS_DUMP];
490 struct hisi_sas_debugfs_iost_cache debugfs_iost_cache[HISI_SAS_MAX_DEBUGFS_DUMP];
491 struct hisi_sas_debugfs_itct_cache debugfs_itct_cache[HISI_SAS_MAX_DEBUGFS_DUMP];
493 u64 debugfs_timestamp[HISI_SAS_MAX_DEBUGFS_DUMP];
494 int debugfs_dump_index;
495 struct dentry *debugfs_dir;
496 struct dentry *debugfs_dump_dentry;
497 struct dentry *debugfs_bist_dentry;